[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests/nodeDecoratorTests DecodingNodeTest.java,1.14,1
Brought to you by:
derrickoswald
From: <der...@us...> - 2003-11-01 02:22:11
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/nodeDecoratorTests In directory sc8-pr-cvs1:/tmp/cvs-serv22279/nodeDecoratorTests Modified Files: DecodingNodeTest.java Log Message: Convert native characters in tests to unicode. Mostly this was the division sign (\u00f7) used in tests of character entity reference translation, but other accented characters in TagTest were also problematic. This only covers the files observed to cause failed testcases when compiled and run under the en_US.UTF-8 native encoding, i.e. non ASCII. Files were converted with the native2ascii tool supplied wth the JDK. Index: DecodingNodeTest.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/nodeDecoratorTests/DecodingNodeTest.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** DecodingNodeTest.java 26 Oct 2003 19:46:26 -0000 1.14 --- DecodingNodeTest.java 1 Nov 2003 02:22:07 -0000 1.15 *************** *** 80,84 **** String DECODED_DIVISION_SIGN = ! "÷ is the division sign."; assertEquals( --- 80,84 ---- String DECODED_DIVISION_SIGN = ! "\u00f7 is the division sign."; assertEquals( *************** *** 92,100 **** String ENCODED_REFERENCE_IN_STRING = "Thus, the character entity reference ÷ is a more convenient" + ! " form than ÷ for obtaining the division sign (÷)"; String DECODED_REFERENCE_IN_STRING = ! "Thus, the character entity reference ÷ is a more convenient" + ! " form than ÷ for obtaining the division sign (÷)"; assertEquals ( --- 92,100 ---- String ENCODED_REFERENCE_IN_STRING = "Thus, the character entity reference ÷ is a more convenient" + ! " form than ÷ for obtaining the division sign (\u00f7)"; String DECODED_REFERENCE_IN_STRING = ! "Thus, the character entity reference \u00f7 is a more convenient" + ! " form than \u00f7 for obtaining the division sign (\u00f7)"; assertEquals ( |