hmm, good question. one could argue either way. how are these kinds of test done currently? I remember there were tests for JTidy, but it had the text in the test class, if I remember correctly. peter
"BAZLEY, Sebastian" <[EMAIL PROTECTED]> wrote: I've just updated build.xml to add a "testparser" target which can be used to test the imported htmlparser code. The target is completely independent, so it should not affect any existing builds etc. It needs some work - e.g. I've not checked if the test code gets compiled properly by the rest of the build file - but it is a start. While testing it, I did find a minor problem in ParserTest.java - the testFile() method catches and rethrows Exceptions, when it should leave these to JUnit. Which raises the question - how best to report and/or fix any such problems as are found? S. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 12 November 2003 15:39 To: [EMAIL PROTECTED] Subject: cvs commit: jakarta-jmeter build.xml sebb 2003/11/12 07:38:55 Modified: . build.xml Log: Added testparser target for testing HTML Parser (probably needs more work) [snip] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard
