james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r682126 - in /james/server/trunk/experimental-seda-imap-function/src/test: java/org/apache/james/test/functional/ScriptBuilder.java resources/org/apache/james/test/functional/imap/scripts/FetchRFC822Mixed.test
Date Sun, 03 Aug 2008 10:26:31 GMT
Author: rdonkin
Date: Sun Aug  3 03:26:16 2008
New Revision: 682126

URL: http://svn.apache.org/viewvc?rev=682126&view=rev
Log:
Correct mail file pruning so that initial whitespace is ignored in input files.

Modified:
    james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/ScriptBuilder.java
    james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchRFC822Mixed.test

Modified: james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/ScriptBuilder.java
URL: http://svn.apache.org/viewvc/james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/ScriptBuilder.java?rev=682126&r1=682125&r2=682126&view=diff
==============================================================================
--- james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/ScriptBuilder.java
(original)
+++ james/server/trunk/experimental-seda-imap-function/src/test/java/org/apache/james/test/functional/ScriptBuilder.java
Sun Aug  3 03:26:16 2008
@@ -1415,6 +1415,8 @@
                         
                     case '\r':
                     case '\n':
+                    case ' ':
+                    case '\t':
                         result = read();
                         break;
                         

Modified: james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchRFC822Mixed.test
URL: http://svn.apache.org/viewvc/james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchRFC822Mixed.test?rev=682126&r1=682125&r2=682126&view=diff
==============================================================================
--- james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchRFC822Mixed.test
(original)
+++ james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchRFC822Mixed.test
Sun Aug  3 03:26:16 2008
@@ -197,8 +197,7 @@
 S: \* 5 EXISTS
 S: \* 5 RECENT
 S: A8 OK APPEND completed\.
-C: A9 APPEND testmailbox {3661+}
-C:                                                                                      
                                                                                         
                                                                                         
                           
+C: A9 APPEND testmailbox {3366+}
 C: Delivered-To: robertburrelldonkin@gmail.com
 C: Received: by 10.114.126.16 with SMTP id y16cs68962wac;
 C:         Tue, 11 Mar 2008 11:41:47 -0700 (PDT)
@@ -292,8 +291,7 @@
 S: \* 6 EXISTS
 S: \* 6 RECENT
 S: A9 OK APPEND completed\.
-C: A10 APPEND testmailbox {4387+}
-C:                                                                                      
                                                                                         
                                    
+C: A10 APPEND testmailbox {4173+}
 C: Delivered-To: robertburrelldonkin@gmail.com
 C: Received: by 10.114.126.16 with SMTP id y16cs69319wac;
 C:         Tue, 11 Mar 2008 11:45:12 -0700 (PDT)
@@ -685,8 +683,8 @@
 S: \* 3 FETCH \(RFC822\.SIZE 668\)
 S: \* 4 FETCH \(RFC822\.SIZE 1767\)
 S: \* 5 FETCH \(RFC822\.SIZE 185\)
-S: \* 6 FETCH \(RFC822\.SIZE 3661\)
-S: \* 7 FETCH \(RFC822\.SIZE 4387\)
+S: \* 6 FETCH \(RFC822\.SIZE 3366\)
+S: \* 7 FETCH \(RFC822\.SIZE 4173\)
 S: \* 8 FETCH \(RFC822\.SIZE 404\)
 S: \* 9 FETCH \(RFC822\.SIZE 429\)
 S: \* 10 FETCH \(RFC822\.SIZE 14996\)
@@ -849,8 +847,7 @@
 S: Message-ID: <1729@machine\.example\.org>
 S: 
 S: Hello, World!\)
-S: \* 6 FETCH \(FLAGS \(\\Recent \\Seen\) RFC822 \{3661\}
-S:                                                                                      
                                                                                         
                                                                                         
                           
+S: \* 6 FETCH \(FLAGS \(\\Recent \\Seen\) RFC822 \{3366\}
 S: Delivered-To: robertburrelldonkin@gmail\.com
 S: Received: by 10\.114\.126\.16 with SMTP id y16cs68962wac;
 S:         Tue, 11 Mar 2008 11:41:47 -0700 \(PDT\)
@@ -941,8 +938,7 @@
 S: 
 S: 
 S: \)
-S: \* 7 FETCH \(FLAGS \(\\Recent \\Seen\) RFC822 \{4387\}
-S:                                                                                      
                                                                                         
                                    
+S: \* 7 FETCH \(FLAGS \(\\Recent \\Seen\) RFC822 \{4173\}
 S: Delivered-To: robertburrelldonkin@gmail\.com
 S: Received: by 10\.114\.126\.16 with SMTP id y16cs69319wac;
 S:         Tue, 11 Mar 2008 11:45:12 -0700 \(PDT\)
@@ -1363,8 +1359,7 @@
 S: Message-ID: <1729@machine\.example\.org>
 S: 
 S: \)
-S: \* 6 FETCH \(RFC822\.HEADER \{1919\}
-S:                                                                                      
                                                                                         
                                                                                         
                           
+S: \* 6 FETCH \(RFC822\.HEADER \{1624\}
 S: Delivered-To: robertburrelldonkin@gmail\.com
 S: Received: by 10\.114\.126\.16 with SMTP id y16cs68962wac;
 S:         Tue, 11 Mar 2008 11:41:47 -0700 \(PDT\)
@@ -1394,8 +1389,7 @@
 S: X-Mailer: Evolution 2\.12\.1 
 S: 
 S: \)
-S: \* 7 FETCH \(RFC822\.HEADER \{1846\}
-S:                                                                                      
                                                                                         
                                    
+S: \* 7 FETCH \(RFC822\.HEADER \{1632\}
 S: Delivered-To: robertburrelldonkin@gmail\.com
 S: Received: by 10\.114\.126\.16 with SMTP id y16cs69319wac;
 S:         Tue, 11 Mar 2008 11:45:12 -0700 \(PDT\)



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


Mime
View raw message