[
https://issues.apache.org/jira/browse/SUREFIRE-1555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tibor Digana closed SUREFIRE-1555.
----------------------------------
Resolution: Fixed
https://gitbox.apache.org/repos/asf?p=maven-surefire.git;a=commit;h=5a5d80d830170a1effd7f4f7fab1d74ba6dda264
> Elapsed time in XML Report should satisfy pattern in XSD.
> ---------------------------------------------------------
>
> Key: SUREFIRE-1555
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1555
> Project: Maven Surefire
> Issue Type: Improvement
> Components: Maven Failsafe Plugin, Maven Surefire Plugin, Maven
> Surefire Report Plugin, xml generation
> Reporter: Tibor Digana
> Assignee: Tibor Digana
> Priority: Minor
> Fix For: 2.22.1
>
>
> Formatted time in Java:
> {code:java}
> NumberFormat numberFormat = NumberFormat.getInstance( Locale.ENGLISH
> );
> numberFormat.setGroupingUsed( true );
> numberFormat.setMinimumFractionDigits( 0 );
> numberFormat.setMaximumFractionDigits( 3 );
> return numberFormat.format( runTime / MS_PER_SEC );
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)