Author: rdonkin
Date: Sat Jul  5 06:26:54 2008
New Revision: 674197

URL: http://svn.apache.org/viewvc?rev=674197&view=rev
Log:
Ensure coverage of all IMAP MIME information

Modified:
    
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchSimpleBodyStructure.test
    
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/mime-plain-text.mail

Modified: 
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchSimpleBodyStructure.test
URL: 
http://svn.apache.org/viewvc/james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchSimpleBodyStructure.test?rev=674197&r1=674196&r2=674197&view=diff
==============================================================================
--- 
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchSimpleBodyStructure.test
 (original)
+++ 
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchSimpleBodyStructure.test
 Sat Jul  5 06:26:54 2008
@@ -60,7 +60,7 @@
 S: \* 2 EXISTS
 S: \* 2 RECENT
 S: A5 OK APPEND completed\.
-C: A6 APPEND testmailbox {786+}
+C: A6 APPEND testmailbox {835+}
 C: From: Samual Smith <[EMAIL PROTECTED]>
 C: To: John Smith <[EMAIL PROTECTED]>
 C: Reply-To: "Timothy Taylor: Email" <[EMAIL PROTECTED]>
@@ -75,8 +75,9 @@
 C: Content-Language: en, en-US, en-CA
 C: Content-ID: <[EMAIL PROTECTED]>
 C: Content-Description: Homage to 70's TV
-C: Content-Type: application/xhtml+xml
+C: Content-Type: application/xhtml+xml; e=mc*mc;
 C: Content-Location: http://www.example.org/rhubard.html
+C: Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==
 C: 
 C: <!DOCTYPE html
 C: PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN
@@ -171,7 +172,7 @@
 C: A28 FETCH 1:* (BODY BODYSTRUCTURE)
 S: \* 1 FETCH \(BODY \("text" "plain" \("charset" "us-ascii"\) NIL NIL "7bit" 
8 0\) BODYSTRUCTURE \("text" "plain" \("charset" "us-ascii"\) NIL NIL "7bit" 8 
0 NIL NIL NIL\)\)
 S: \* 2 FETCH \(BODY \("text" "plain" \("charset" "ISO-8859-1"\) NIL NIL 
"7bit" 192 6\) BODYSTRUCTURE \("text" "plain" \("charset" "ISO-8859-1"\) NIL 
NIL "7bit" 192 6 NIL \("inline" NIL\) NIL\)\)
-S: \* 3 FETCH \(BODY \("application" "xhtml\+xml" NIL "<[EMAIL PROTECTED]>" 
"Homage to 70's TV" "7bit" 183\) BODYSTRUCTURE \("application" "xhtml\+xml" NIL 
"<[EMAIL PROTECTED]>" "Homage to 70's TV" "7bit" 183 NIL \("inline" \("foo" 
"bar" "one" "1" "param" "value"\)\) \("en" "en-US" "en-CA"\)\)\)
+S: \* 3 FETCH \(BODY \("application" "xhtml\+xml" \("e" "mc\*mc"\) "<[EMAIL 
PROTECTED]>" "Homage to 70's TV" "7bit" 183\) BODYSTRUCTURE \("application" 
"xhtml\+xml" \("e" "mc\*mc"\) "<[EMAIL PROTECTED]>" "Homage to 70's TV" "7bit" 
183 "Q2hlY2sgSW50ZWdyaXR5IQ==" \("inline" \("foo" "bar" "one" "1" "param" 
"value"\)\) \("en" "en-US" "en-CA"\)\)\)
 S: A28 OK FETCH completed\.
 C: A29 DELETE testmailbox
 S: A29 OK DELETE completed\.

Modified: 
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/mime-plain-text.mail
URL: 
http://svn.apache.org/viewvc/james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/mime-plain-text.mail?rev=674197&r1=674196&r2=674197&view=diff
==============================================================================
--- 
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/mime-plain-text.mail
 (original)
+++ 
james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/mime-plain-text.mail
 Sat Jul  5 06:26:54 2008
@@ -31,8 +31,9 @@
 Content-Language: en, en-US, en-CA
 Content-ID: <[EMAIL PROTECTED]>
 Content-Description: Homage to 70's TV
-Content-Type: application/xhtml+xml
+Content-Type: application/xhtml+xml; e=mc*mc;
 Content-Location: http://www.example.org/rhubard.html
+Content-MD5: Q2hlY2sgSW50ZWdyaXR5IQ==
 
 <!DOCTYPE html
 PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to