james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r678304 - /james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java
Date Sun, 20 Jul 2008 18:44:30 GMT
Author: bago
Date: Sun Jul 20 11:44:30 2008
New Revision: 678304

URL: http://svn.apache.org/viewvc?rev=678304&view=rev
Log:
Add one more test to EOLConvertingTest

Modified:
    james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java

Modified: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java?rev=678304&r1=678303&r2=678304&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java
Sun Jul 20 11:44:30 2008
@@ -41,6 +41,10 @@
         testConvertCR("Line 1\r\nLine 2\r\n", "Line 1\r\nLine 2\r\n");
         testConvertLF("Line 1\r\nLine 2\r\n", "Line 1\r\nLine 2\r\n");
         
+        testConvertBoth("Line 1\n\rLine 2\n\r", "Line 1\r\n\r\nLine 2\r\n\r\n");
+        testConvertCR("Line 1\n\rLine 2\n\r", "Line 1\n\r\nLine 2\n\r\n");
+        testConvertLF("Line 1\n\rLine 2\n\r", "Line 1\r\n\rLine 2\r\n\r");
+        
         testConvertBoth("Line 1\nLine 2\n", "Line 1\r\nLine 2\r\n");
         testConvertCR("Line 1\nLine 2\n", "Line 1\nLine 2\n");
         testConvertLF("Line 1\nLine 2\n", "Line 1\r\nLine 2\r\n");



---------------------------------------------------------------------
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