[jsword-svn] r1357 - trunk/common/src/test/java/org/crosswire/common/xml

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Wed May 30 13:00:07 MST 2007


Author: dmsmith
Date: 2007-05-30 13:00:06 -0700 (Wed, 30 May 2007)
New Revision: 1357

Modified:
   trunk/common/src/test/java/org/crosswire/common/xml/XMLUtilTest.java
Log:
Fixed a broken test.

Modified: trunk/common/src/test/java/org/crosswire/common/xml/XMLUtilTest.java
===================================================================
--- trunk/common/src/test/java/org/crosswire/common/xml/XMLUtilTest.java	2007-05-29 21:21:19 UTC (rev 1356)
+++ trunk/common/src/test/java/org/crosswire/common/xml/XMLUtilTest.java	2007-05-30 20:00:06 UTC (rev 1357)
@@ -55,13 +55,13 @@
         assertEquals("aa &a", XMLUtil.cleanAllEntities("aa &a")); //$NON-NLS-1$ //$NON-NLS-2$
         assertEquals("aa &", XMLUtil.cleanAllEntities("aa &")); //$NON-NLS-1$ //$NON-NLS-2$
 
-        assertEquals("aa Ê aa", XMLUtil.cleanAllEntities("aa   aa")); //$NON-NLS-1$ //$NON-NLS-2$
+        assertEquals("aa \u00A0 aa", XMLUtil.cleanAllEntities("aa   aa")); //$NON-NLS-1$ //$NON-NLS-2$
         assertEquals("aa &nbsp aa", XMLUtil.cleanAllEntities("aa &nbsp aa")); //$NON-NLS-1$ //$NON-NLS-2$
         assertEquals("aa &nb-sp aa", XMLUtil.cleanAllEntities("aa &nb-sp aa")); //$NON-NLS-1$ //$NON-NLS-2$
         assertEquals("aa  aa", XMLUtil.cleanAllEntities("aa &nb; aa")); //$NON-NLS-1$ //$NON-NLS-2$
         assertEquals("aa &nb aa", XMLUtil.cleanAllEntities("aa &nb aa")); //$NON-NLS-1$ //$NON-NLS-2$
 
-        assertEquals("-&-Ê-<->-"-£-Û-", XMLUtil.cleanAllEntities("-&- -<->-"-£-€-")); //$NON-NLS-1$ //$NON-NLS-2$
+        assertEquals("-&-\u00A0-<->-"-\u00A3-\u20AC-", XMLUtil.cleanAllEntities("-&- -<->-"-£-€-")); //$NON-NLS-1$ //$NON-NLS-2$
     }
 
     public void testCleanAllTags()




More information about the jsword-svn mailing list