DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=30808>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30808 PlainJUnitResultFormatter's output is mangled when test fails Summary: PlainJUnitResultFormatter's output is mangled when test fails Product: Ant Version: 1.5.4 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The culprit is the endTest method, which outputs the test name, then if it failed, immediately quits. In case of a failure, the addFailure method will spit out everything needed, including the test name. To fix, I merely moved the wri.print to after the first 'if' statement in endTest. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]