geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ke...@apache.org
Subject svn commit: r381790 - /geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeMessageTest.java
Date Tue, 28 Feb 2006 21:36:57 GMT
Author: kevan
Date: Tue Feb 28 13:36:55 2006
New Revision: 381790

URL: http://svn.apache.org/viewcvs?rev=381790&view=rev
Log:
Fix (i.e. remove) JUnit tests that fail depending on the default code page used by the build
machine

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

Modified: geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeMessageTest.java
URL: http://svn.apache.org/viewcvs/geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeMessageTest.java?rev=381790&r1=381789&r2=381790&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeMessageTest.java
(original)
+++ geronimo/specs/trunk/geronimo-spec-javamail/src/test/java/javax/mail/internet/MimeMessageTest.java
Tue Feb 28 13:36:55 2006
@@ -339,9 +339,6 @@
         msg.setSubject(complexSubject, "UTF-8");
         assertEquals(msg.getSubject(), complexSubject);
 
-        msg.setSubject(complexSubject);
-        assertEquals(msg.getSubject(), mungedSubject);
-
         msg.setSubject(null);
         assertNull(msg.getSubject());
     }
@@ -361,9 +358,6 @@
 
         msg.setDescription(complexSubject, "UTF-8");
         assertEquals(msg.getDescription(), complexSubject);
-
-        msg.setDescription(complexSubject);
-        assertEquals(msg.getDescription(), mungedSubject);
 
         msg.setDescription(null);
         assertNull(msg.getDescription());



Mime
View raw message