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 214200

Summary: [72cat] Not able to create TestNG tests when some of the class types were unchecked
Product: java Reporter: crazyjavahacking
Component: TestNGAssignee: Theofanis Oikonomou <theofanis>
Status: VERIFIED FIXED    
Severity: normal CC: jungi, mmirilovic, musilt2
Priority: P1    
Version: 7.2   
Hardware: PC   
OS: Windows 7 x64   
Issue Type: DEFECT Exception Reporter:
Attachments: TestNG bug stack trace
TestNG Dialog screenshot

Description crazyjavahacking 2012-06-14 12:28:49 UTC
Created attachment 120844 [details]
TestNG bug stack trace

I just found a bug where if you will create TestNG tests for TS project (http://wiki.netbeans.org/wiki/images/c/c0/JUnitSampleProject_TS_68_JUnit.zip) and in the 'Create tests' dialog at least one option in 'Class Types' will be unchecked.

Stack trace is attached, probably just some i18n in bundle file is missing.

NetBeans Dev 201206140001, Java 6u32 32bit
Comment 1 crazyjavahacking 2012-06-14 12:36:28 UTC
Created attachment 120845 [details]
TestNG Dialog screenshot

And the create tests dialog...
Comment 2 Theofanis Oikonomou 2012-06-15 10:18:53 UTC
Fixed in core-main: http://hg.netbeans.org/core-main/rev/333a62a98456
Please verify
Comment 3 Quality Engineering 2012-06-16 06:07:01 UTC
Integrated into 'main-golden', will be available in build *201206160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/333a62a98456
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #214200 - [72cat] Not able to create TestNG tests when some of the class types were unchecked
Comment 4 Theofanis Oikonomou 2012-06-18 12:31:15 UTC
Could someone please verify the fix? Thank you in advance
Comment 5 Tomas Danek 2012-06-18 14:18:00 UTC
verified in trunk 

Product Version: NetBeans IDE Dev (Build 201206180001)
Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21
System: Mac OS X version 10.7.4 running on x86_64; US-ASCII; en_US (nb)
User directory: /Users/tomas/Library/Application Support/NetBeans/dev
Cache directory: /Users/tomas/Library/Caches/NetBeans/dev
Comment 6 Theofanis Oikonomou 2012-06-18 14:26:51 UTC
Thank you Tomasi, marking as verified. Integrated into release72 branch: http://hg.netbeans.org/releases/rev/bbdedd1f810b
Comment 7 Quality Engineering 2012-06-19 02:53:01 UTC
Integrated into 'releases', will be available in build *201206182200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/bbdedd1f810b
User: Theofanis Oikonomou <theofanis@netbeans.org>
Log: Issue #214200 - [72cat] Not able to create TestNG tests when some of the class types were unchecked
(transplanted from 333a62a98456795e5d1353cf6d1f5f9fc566f379)
Comment 8 Marian Mirilovic 2012-06-24 21:01:00 UTC
... pending verification in NB 7.2
Comment 9 Jiri Prox 2012-06-26 12:16:25 UTC
verified