DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17040>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17040 JUnit task report does not use the one defined by setName method ------- Additional Comments From [EMAIL PROTECTED] 2003-04-29 18:10 ------- Well, actually neither of us was right. I didn't look at the code carefully. Your solution isn't working, because you are calling the endTest before the test is added to the hash. My solution is a hack and shouldn't be done. The actual solution is to swap the order. private void formatError(String type, Test test, Throwable t) { if (test != null) { endTest(test); failedTests.put(test, test); } should be... private void formatError(String type, Test test, Throwable t) { if (test != null) { failedTests.put(test, test); endTest(test); } That should do it. Leigh