[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests ParserTestCase.java,1.46,1.47
Brought to you by:
derrickoswald
From: Somik R. <so...@us...> - 2004-06-02 22:47:30
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12254/src/org/htmlparser/tests Modified Files: ParserTestCase.java Log Message: modified to allow usage of assertXmlEquals Index: ParserTestCase.java =================================================================== RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/ParserTestCase.java,v retrieving revision 1.46 retrieving revision 1.47 diff -C2 -d -r1.46 -r1.47 *** ParserTestCase.java 24 May 2004 16:18:30 -0000 1.46 --- ParserTestCase.java 2 Jun 2004 22:47:21 -0000 1.47 *************** *** 159,163 **** ); System.out.println ("string differs, expected \"" + expected + "\", actual \"" + actual + "\""); ! fail(errorMsg.toString()); } --- 159,163 ---- ); System.out.println ("string differs, expected \"" + expected + "\", actual \"" + actual + "\""); ! failWithMessage(errorMsg.toString()); } *************** *** 165,169 **** } ! public void parseNodes() throws ParserException{ nodeCount = 0; for (NodeIterator e = parser.elements();e.hasMoreNodes();) --- 165,173 ---- } ! public void failWithMessage(String message) { ! fail(message); ! } ! ! public void parseNodes() throws ParserException{ nodeCount = 0; for (NodeIterator e = parser.elements();e.hasMoreNodes();) |