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 creating a JUnit test for a java class, Javadoc comments are generated to created test class even when 'Javadoc Comments' checkbox is unchecked. Steps to reproduce ------------------ 1) Have a j2se project opened 2) Create a JUnit test for a java class 3) Uncheck the 'Javadoc comments' checkbox 4) Confirm --> Javadoc comments are generated for test methods anyway This used to work inside NB 5.0 fcs --------- NetBeans IDE Dev (Build 200604101800) 1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b76 SunOS version 5.10 running on sparc en (nb); ISO646-US
Confirmed, accepted.
This a bug caused by a trivial typo made during the recent transition to the new JUnit SPI (see issue #74160).
Fixed in the trunk. Modified files: junit/src/org/netbeans/modules/junit/TestCreator.java (1.60) Diff: http://junit.netbeans.org/source/browse/junit/src/org/netbeans/modules/junit/TestCreator.java?r1=1.59&r2=1.60&diff_format=u
Verified. Thanks for the fix. ----- NetBeans IDE Dev (Build 200604191800) 1.6.0-beta2; Java HotSpot(TM) Client VM 1.6.0-beta2-b76 SunOS version 5.10 running on sparc en (nb); ISO646-US