Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5117/htmlparser/src/org/htmlparser/tests
Modified Files:
ParserTest.java
Log Message:
Documentation revamp part three.
Reworked some JavaDoc descriptions.
Added "HTML Parser for dummies" introductory text.
Removed checkstyle.jar and fit.jar (and it's cruft).
Index: ParserTest.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/ParserTest.java,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** ParserTest.java 13 Feb 2005 20:36:02 -0000 1.64
--- ParserTest.java 24 Apr 2005 17:48:27 -0000 1.65
***************
*** 439,443 ****
try
{
! parser = new Parser("http://www.ibm.com/jp/", Parser.noFeedback);
assertTrue("Character set should be Shift_JIS", parser.getEncoding ().equalsIgnoreCase ("Shift_JIS"));
}
--- 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"));
}
***************
*** 461,465 ****
try
{
! parser = new Parser("http://www.sony.co.jp", Parser.noFeedback);
assertEquals("Character set by default is ISO-8859-1", "ISO-8859-1", parser.getEncoding ());
enumeration = parser.elements();
--- 461,465 ----
try
{
! parser = new Parser("http://www.sony.co.jp", Parser.DEVNULL);
assertEquals("Character set by default is ISO-8859-1", "ISO-8859-1", parser.getEncoding ());
enumeration = parser.elements();
***************
*** 574,578 ****
try
{
! new Parser("http://none.existant.url.org", Parser.noFeedback);
assertTrue("Should have thrown an exception!",false);
}
--- 574,578 ----
try
{
! new Parser("http://none.existant.url.org", Parser.DEVNULL);
assertTrue("Should have thrown an exception!",false);
}
|