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.
Created attachment 129588 [details] Screenshot of New Test for Existing Class wizard with wrongly preselected package. Product Version: NetBeans IDE Dev (Build 201212200001) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15 System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb) User directory: /home/cesilko/.netbeans/dev Cache directory: /home/cesilko/.cache/netbeans/dev Description: ============ "New Test for Existing Class" wizard might confuse users by generating test in different than desired package. See the screenshot to understand what I mean. Steps to reproduce: =================== 1. Create a new Java Application project. 2. In its Properties create another Test Package Folder. 3. Right click the second one and invoke "New > Other..." from popup menu. 4. Select "Unit Tests" category and "Test for Existing Class" file type. 5. Push "Next >" button and verify that Location was set incorrectly.
Fixed: http://hg.netbeans.org/core-main/rev/ef1418ff0d97
Integrated into 'main-golden', will be available in build *201301080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/ef1418ff0d97 User: Theofanis Oikonomou <theofanis@netbeans.org> Log: Issue #224091 - "New Test for Existing Class" wizard ignores selected package
Product Version: NetBeans IDE Dev (Build 201301090001) Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b15 System: Linux version 3.0.0-12-generic running on amd64; UTF-8; cs_CZ (nb) User directory: /home/cesilko/.netbeans/dev Cache directory: /home/cesilko/.cache/netbeans/dev