Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.1.0
-
None
Description
The current code uses a convoluted solution based on NumberFormat which refers to an outdated defintion on Ant's XML report file. These days, we can use String#valueOf() to serialize the string representation of a float value since:
- Easier to understand and this is not human output (separation of concerns)
- Ant's XMLJUnitResultFormatter does exactly the same with a double value.
Attachments
Issue Links
- causes
-
SUREFIRE-2175 Turn time attribute to xs:float in Surefire test report schema
- Closed
- is depended upon by
-
SUREFIRE-2176 Invalid formatting of time attribute
- Closed
- is required by
-
SUREFIRE-1533 surefire-test-report.xsd has too narrow a definition for testcase time attribute
- Closed
- relates to
-
MINVOKER-341 Make elapsed time field type consistent with Maven Surefire
- Closed
-
SUREFIRE-2167 Simplify deserialization of elapsed time in TestSuiteXmlParser
- Closed
- links to