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 - Go to Source for test class disabled in test results window
Summary: Go to Source for test class disabled in test results window
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: TestNG (show other bugs)
Version: 7.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 14:06 UTC by Tomas Danek
Modified: 2012-10-30 15:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.