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.

Bug 213601

Summary: Go to Source for test class disabled in test results window
Product: java Reporter: Tomas Danek <musilt2>
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: RESOLVED INVALID    
Severity: normal CC: jungi
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Tomas Danek 2012-06-05 14:06:13 UTC
Product Version: NetBeans IDE Dev (Build 201206050001)
Java: 1.7.0_03; Java HotSpot(TM) Client VM 22.1-b02
System: Linux version 2.6.38-15-generic running on i386; UTF-8; en_US (nb)
User directory: /home/tester/.netbeans/dev
Cache directory: /home/tester/.cache/netbeans/dev
--------------------
- create javase project
- create Junit test for generated class (do not let wizard generate content od test method in order to make test passing)
- create also TestNG test for generated class (do not let wizard generate content od test method in order to make test passing)
- invoke Test on project
- try to navigate to test class to JUnit test class in test results -> actions in popup on test class node are disabled. Probably caused by running Junit test by testNG.
Comment 1 Theofanis Oikonomou 2012-10-30 15:55:09 UTC
This has nothing to do with the fact that a junit test was run with testng. The same happens if you only have testng test. This is expected. You can navigate to the tested methods by invoking the "Go to Source" action on the suite node.