maven-doxia-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vsive...@apache.org
Subject svn commit: r771705 - /maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/EntitiesVerifier.java
Date Tue, 05 May 2009 13:11:03 GMT
Author: vsiveton
Date: Tue May  5 13:11:02 2009
New Revision: 771705

URL: http://svn.apache.org/viewvc?rev=771705&view=rev
Log:
o switch to unicode char

Modified:
    maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/EntitiesVerifier.java

Modified: maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/EntitiesVerifier.java
URL: http://svn.apache.org/viewvc/maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/EntitiesVerifier.java?rev=771705&r1=771704&r2=771705&view=diff
==============================================================================
--- maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/EntitiesVerifier.java
(original)
+++ maven/doxia/doxia-sitetools/trunk/doxia-site-renderer/src/test/java/org/apache/maven/doxia/siterenderer/EntitiesVerifier.java
Tue May  5 13:11:02 2009
@@ -105,7 +105,7 @@
 
         HtmlHeader2 h2 = (HtmlHeader2) elementIterator.next();
         assertNotNull( h2 );
-        assertEquals( h2.asText().trim(), "section name with entities: '&' 'Α' ' '"
);
+        assertEquals( h2.asText().trim(), "section name with entities: '&' '\u0391' '
'" );
 
         HtmlAnchor a = (HtmlAnchor) elementIterator.next();
         assertNotNull( a );
@@ -140,25 +140,25 @@
         h3 = (HtmlHeader3) elementIterator.next();
         assertNotNull( h3 );
         // DOXIA-314: FIXME!
-        //assertEquals( h3.asText().trim(), "Local Entities: 'Α' 'Β' 'Γ' 'ퟭ'"
);
+        //assertEquals( h3.asText().trim(), "Local Entities: '\u0391' '\u0392' '\u0393' '\uD7ED'"
);
 
         a = (HtmlAnchor) elementIterator.next();
 
         p = (HtmlParagraph) elementIterator.next();
         assertNotNull( p );
-        assertEquals( p.asText().trim(), "'Α' 'Β' 'Γ' 'ퟭ'" );
+        assertEquals( p.asText().trim(), "'\u0391' '\u0392' '\u0393' '\uD7ED'" );
 
         div = (HtmlDivision) elementIterator.next();
 
         h3 = (HtmlHeader3) elementIterator.next();
         assertNotNull( h3 );
-        assertEquals( h3.asText().trim(), "DTD Entities: ' ' '¡' '¢'" );
+        assertEquals( h3.asText().trim(), "DTD Entities: ' ' '\u00A1' '\u00A2'" );
 
         a = (HtmlAnchor) elementIterator.next();
 
         p = (HtmlParagraph) elementIterator.next();
         assertNotNull( p );
-        assertEquals( p.asText().trim(), "' ' '¡' '¢'" );
+        assertEquals( p.asText().trim(), "' ' '\u00A1' '\u00A2'" );
 
         div = (HtmlDivision) elementIterator.next();
         assertNotNull( div );



Mime
View raw message