james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r894913 - /james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/field/ContentTypeFieldTest.java
Date Thu, 31 Dec 2009 17:58:30 GMT
Author: bago
Date: Thu Dec 31 17:58:29 2009
New Revision: 894913

URL: http://svn.apache.org/viewvc?rev=894913&view=rev
Log:
Revert test change committed by mistake (MIME4J-156)

Modified:
    james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/field/ContentTypeFieldTest.java

Modified: james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/field/ContentTypeFieldTest.java
URL: http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/field/ContentTypeFieldTest.java?rev=894913&r1=894912&r2=894913&view=diff
==============================================================================
--- james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/field/ContentTypeFieldTest.java
(original)
+++ james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/field/ContentTypeFieldTest.java
Thu Dec 31 17:58:29 2009
@@ -83,10 +83,10 @@
         ContentTypeField f = null;
         
         f = (ContentTypeField) DefaultFieldParser.parse("Content-Type: some/type; charset=iso8859-1");
-        assertEquals("iso8859-1", f.getCharset());
+        assertEquals("iso8859-1", ContentTypeFieldImpl.getCharset(f));
         
         f = (ContentTypeField) DefaultFieldParser.parse("Content-Type: some/type;");
-        assertEquals("us-ascii", f.getCharset());
+        assertEquals("us-ascii", ContentTypeFieldImpl.getCharset(f));
     }
     
     public void testGetParameter() throws Exception {



Mime
View raw message