You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2008/12/02 23:42:55 UTC

svn commit: r722649 - in /james/server/trunk/build-tools: nntp.mpt smoke.xml

Author: rdonkin
Date: Tue Dec  2 14:42:54 2008
New Revision: 722649

URL: http://svn.apache.org/viewvc?rev=722649&view=rev
Log:
Added basic news smoke test

Added:
    james/server/trunk/build-tools/nntp.mpt
Modified:
    james/server/trunk/build-tools/smoke.xml

Added: james/server/trunk/build-tools/nntp.mpt
URL: http://svn.apache.org/viewvc/james/server/trunk/build-tools/nntp.mpt?rev=722649&view=auto
==============================================================================
--- james/server/trunk/build-tools/nntp.mpt (added)
+++ james/server/trunk/build-tools/nntp.mpt Tue Dec  2 14:42:54 2008
@@ -0,0 +1,30 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+S: 200 localhost. NNTP Service Ready, posting permitted
+C: POST
+S: 340 send article to be posted. End with <CR-LF>.<CR-LF>
+C: From: me@example.org
+C: Newsgroups: whatever
+C: Subject: Foo
+C: MessageID: 1234567890
+C: Bar
+C: .
+S: 240 article received ok
+C: quit
+S: 205 closing connection
\ No newline at end of file

Modified: james/server/trunk/build-tools/smoke.xml
URL: http://svn.apache.org/viewvc/james/server/trunk/build-tools/smoke.xml?rev=722649&r1=722648&r2=722649&view=diff
==============================================================================
--- james/server/trunk/build-tools/smoke.xml (original)
+++ james/server/trunk/build-tools/smoke.xml Tue Dec  2 14:42:54 2008
@@ -62,7 +62,8 @@
             
             <TestProtocol port='10043' name='imap'/>
             <TestProtocol port='10025' name='smtp'/>
-            <TestProtocol port='10110' name='pop3'/>    
+            <TestProtocol port='10110' name='pop3'/>  
+            <TestProtocol port='10119' name='nntp'/>   
         </sequential>   
     </macrodef>   
         



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org