[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests ParserTest.java,1.57,1.58
Brought to you by:
derrickoswald
From: Derrick O. <der...@us...> - 2004-03-18 04:13:47
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24099/src/org/htmlparser/tests Modified Files: ParserTest.java Log Message: Deprecate LinkProcessor. Functionality moved to Page. Index: ParserTest.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/ParserTest.java,v retrieving revision 1.57 retrieving revision 1.58 diff -C2 -d -r1.57 -r1.58 *** ParserTest.java 29 Feb 2004 12:52:21 -0000 1.57 --- ParserTest.java 18 Mar 2004 04:04:08 -0000 1.58 *************** *** 956,958 **** --- 956,965 ---- assertTrue ("toString wrong", rem.toString ().endsWith (newtext)); } + + public void testFixSpaces () throws ParserException + { + String url = "http://htmlparser.sourceforge.net/test/This is a Test Page.html"; + parser = new Parser (url); + assertEquals("Expected","http://htmlparser.sourceforge.net/test/This%20is%20a%20Test%20Page.html", parser.getURL ()); + } } |