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.
Summary: | Create test ignores "Class Types" | ||
---|---|---|---|
Product: | java | Reporter: | pribyl <pribyl> |
Component: | JUnit | Assignee: | Victor Vasilyev <vvg> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 165914 | ||
Bug Blocks: |
Description
pribyl
2009-08-19 13:50:20 UTC
It is valid issue. All options "Code Generation / Class Types" in the "Create Tests" dialog do not work. It is regression after http://hg.netbeans.org/main/rev/1c5ab8f7d046 The statement http://hg.netbeans.org/main/file/1c5ab8f7d046/junit/src/org/netbeans/modules/junit/TestGeneratorSetup.java#l717 sets to zero all bits in the variable "result" excluding a bit returned by the method TestabilityResult.NO_TESTEABLE_METHODS.getReasonValue(), i.e 0x2. Hence, all classes are testable if they have testable methods, and it doesn't depend on states of the checkboxes in the "Class Types" group of the "Create Tests" dialog. This bug a relation to the Bug 165914 Fixed http://hg.netbeans.org/main/rev/6ed2919e6def See also bug 165914 |