geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rickmcgu...@apache.org
Subject svn commit: r415301 - /geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeUtilityTest.java
Date Mon, 19 Jun 2006 12:03:32 GMT
Author: rickmcguire
Date: Mon Jun 19 05:03:31 2006
New Revision: 415301

URL: http://svn.apache.org/viewvc?rev=415301&view=rev
Log:
One additional correction for test case failure. 


Modified:
    geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeUtilityTest.java

Modified: geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeUtilityTest.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeUtilityTest.java?rev=415301&r1=415300&r2=415301&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeUtilityTest.java
(original)
+++ geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeUtilityTest.java
Mon Jun 19 05:03:31 2006
@@ -108,7 +108,7 @@
 
         String encodeString = new String(encodeBytes, "UTF-8");
         // default code page dependent, hard to directly test the encoded results
-        assertEquals(encodeString, MimeUtility.decodeText(MimeUtility.encodeText(" hé! àèôu
!!!")));
+        assertEquals(encodeString, MimeUtility.decodeText(MimeUtility.encodeText(encodeString)));
 
         String encoded = MimeUtility.encodeText(encodeString, "UTF-8", "Q");
         assertEquals("=?UTF-8?Q?_h=C3=A9!_=C3=A0=C3=A8=C3=B4u_!!!?=", encoded);



Mime
View raw message