You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@abdera.apache.org by jm...@apache.org on 2006/10/02 20:55:32 UTC

svn commit: r452174 - /incubator/abdera/java/trunk/parser/src/test/java/org/apache/abdera/test/parser/stax/FeedValidatorTest.java

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 {