abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r452174 - /incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java
Date Mon, 02 Oct 2006 18:55:32 GMT
Author: jmsnell
Date: Mon Oct  2 11:55:31 2006
New Revision: 452174

URL: http://svn.apache.org/viewvc?view=rev&rev=452174
Log:
More stinkin' charset issues.  the badchars test fails depending on what the default charset
of the JVM is.
Hardcode the char codes instead of relying on the JVM to figure it out.

Modified:
    incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java

Modified: incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java?view=diff&rev=452174&r1=452173&r2=452174
==============================================================================
--- incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java
(original)
+++ incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java
Mon Oct  2 11:55:31 2006
@@ -3014,7 +3014,7 @@
      assertNotNull(doc);
      Entry entry = doc.getRoot().getEntries().get(0);
      Link link = entry.getAlternateLink();
-     assertEquals(link.getTitle(),"This is a £“test.”");
+     assertEquals(link.getTitle(),"This is a \u00A3\u0093test.\u0094");
    }
    
    public static void testSection4275LinkTitleWithHtml() throws Exception {



Mime
View raw message