You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dan Fabulich (JIRA)" <ji...@codehaus.org> on 2008/04/30 01:11:46 UTC

[jira] Closed: (SUREFIRE-485) Support AntUnit XML output

     [ http://jira.codehaus.org/browse/SUREFIRE-485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Fabulich closed SUREFIRE-485.
---------------------------------

    Resolution: Fixed

Patch submitted revision 652186.  Thanks!

> 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
>             Fix For: 2.4.3
>
>         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