This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
In JUnit Test Result window passed nodes are not displayed in result tree while debuging test, the same test executed via "Run file" command shows complete info. See the screenshot. Steps to reproduce: - in Java App. project create test class with a few falling and a few passing methods - run the test via "Run file" command (SHIFT+F6) and check the content of JUnit Test Result window - run the test via "Debug file" command (CTRL+SHIFT+F5) and check the content of JUnit Test Result window Product Version: NetBeans IDE Dev (Build 200710241200) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Created attachment 51760 [details] run-and-debug-test.jpg
I can reproduce this with NetBeans builds 071018 and 071031, running on Windows XP (64-bit), JDK 1.6.0_03. I cannot reproduce this when running on Linux (build 071026, Intel PC, 32-bit, tested with JDKs 1.5.0_13 and 1.6.0_03).
Fixed in the trunk. The cause of this bug was simple - a platform-dependent directory separator ('/') was used instead of platform-independent placeholder File.separatorChar. Modified file: junit/src/org/netbeans/modules/junit/output/JUnitOutputReader.java (1.50) Diff: http://deadlock.netbeans.org/fisheye/browse/netbeans/junit/src/org/netbeans/modules/junit/output/JUnitOutputReader.java?r1=1.49&r2=1.50
Verified Product Version: NetBeans IDE Dev (Build 200711220000) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
*** Issue 113314 has been marked as a duplicate of this issue. ***