Created attachment 122758 [details]
Screenshot shows the wrong formatted time
Elapsed time in test result window shows wrong formatted time (seconds instead milliseconds)
Steps for reproduction
* generate a maven project
* add a simple junit test, which sleeps for 1 second
* run the test
ACTUAL: the test result window shows a elapsed time of 1000 seconds
EXPECTED: the test result window shows a elapsed time of 1 second
The maven console output shows the correct elapsed time, but the time is shown wrong in the test result window. See the attached screenshot.
Could it be an issue with my locale de_de?
Product Version: NetBeans IDE 7.2 (Build 201207171143)
Java: 1.6.0_30; Java HotSpot(TM) 64-Bit Server VM 20.5-b03
System: Windows 7 version 6.1 running on amd64; Cp1252; de_DE (nb)
Created attachment 125583 [details]
Proposed patch - 4 lines change
Proposed patch to fix the issue.
// the surefire plugin does not print out localized numbers, so use the English format
NumberFormat.getNumberInstance() (this will use the system locale)
Patch looks ok. re-assigning to owner to integrate.
*** Bug 213648 has been marked as a duplicate of this bug. ***
applied, thank you.
Integrated into 'main-golden', will be available in build *201210250921* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Milos Kleint <firstname.lastname@example.org>
Log: #216414 use localized numberformat, patch provided by email@example.com