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.
When the Create JUnit Tests action is invoked, a Create Tests dialogue is displayed. This dialogue requires that at least one of check-boxes "Public", "Protected", "Package Private" is selected, otherwise the OK button is disabled. This is wrong. Why could not one create an empty test class skeleton and add their own test methods later?
Fixed. Modified files: junit/src/org/netbeans/modules/junit/Bundle.properties junit/src/org/netbeans/modules/junit/JUnitCfgOfCreate.java Changeset: 9218529053d1 (http://hg.netbeans.org/main/rev/9218529053d1)
The fix was incomplete - validation of check-boxes remained active in the wizard for creation of a test class for an existing source class. This caused bug #138151 ("MRE on MSG_AllMethodTypesDisabled in SimpleTestStepLocation.checkChkBoxesValidity"), which I just fixed. The additional patch is: Modified file: junit/src/org/netbeans/modules/junit/wizards/SimpleTestStepLocation.java Hg changeset: d4f61671f85d (http://hg.netbeans.org/main/rev/d4f61671f85d)