[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests ParserTest.java,1.65,1.66
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2006-04-17 13:53:18
|
Update of //cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30086 Modified Files: ParserTest.java Log Message: Fix unit tests. Move failing test cases to downloads on corresponding RFE artifacts. Index: ParserTest.java =================================================================== RCS file: //cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/ParserTest.java,v retrieving revision 1.65 retrieving revision 1.66 diff -C2 -d -r1.65 -r1.66 *** ParserTest.java 24 Apr 2005 17:48:27 -0000 1.65 --- ParserTest.java 17 Apr 2006 13:53:12 -0000 1.66 *************** *** 431,435 **** /** * Test with a HTTP header with a valid charset parameter. ! * Here, ibm.co.jp is an example of a HTTP server that correctly sets the * charset in the header to match the content encoding. */ --- 431,435 ---- /** * Test with a HTTP header with a valid charset parameter. ! * Here, Oracle Japan is an example of a HTTP server that correctly sets the * charset in the header to match the content encoding. */ *************** *** 439,443 **** try { ! parser = new Parser("http://www.ibm.com/jp/", Parser.DEVNULL); assertTrue("Character set should be Shift_JIS", parser.getEncoding ().equalsIgnoreCase ("Shift_JIS")); } --- 439,443 ---- try { ! parser = new Parser("http://www.oracle.co.jp/", Parser.DEVNULL); assertTrue("Character set should be Shift_JIS", parser.getEncoding ().equalsIgnoreCase ("Shift_JIS")); } |