Support AntUnit XML output -------------------------- Key: SUREFIRE-485 URL: http://jira.codehaus.org/browse/SUREFIRE-485 Project: Maven Surefire Issue Type: Improvement Components: report plugin Affects Versions: 2.4.2 Environment: Maven 2.0.8 on Linux, but probably other versions and platforms Reporter: Peter Janes Priority: Minor Attachments: report.patch
Because AntUnit (http://ant.apache.org/antlibs/antunit/) doesn't include a "time" attribute on its JUnit-like <testsuite> element, maven-surefire-report-plugin throws a NullPointerException when parsing its XML output. The attached patch continues to use the attribute if it's present, but will set the elapsed time for a test suite from AntUnit's nested <time> element if it exists. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira