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 92006 - "Create Tests" does not generate comments
Summary: "Create Tests" does not generate comments
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on: 88159 90302 100904
Blocks:
  Show dependency tree
 
Reported: 2007-01-08 12:12 UTC by Max Sauer
Modified: 2007-09-25 12:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max Sauer 2007-01-08 12:12:03 UTC
"Create Tests" does not generate comments inside generated test class, no matter
the checkboxes. This is valid both for javadoc comments and source code hints.

Steps to reproduce:
-------------------
1) Create a test for a java class with some testable methods aviable (Ctrl-Shift-U)
2) Inside appeared dialog, leave all checkboxes checked
=> No javadoc comments
=> No source code hints inside created test class

---
NetBeans IDE Dev (Build 070108)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 1 Marian Petras 2007-01-15 16:21:32 UTC
Confirmed, accepted.

Once support for creating and adding comments is finished in the new Java API, I
will fix this issue (should be in NB 6.0).
Comment 2 Marian Petras 2007-09-25 12:50:59 UTC
Both Javadoc comments and comments inside method bodies are now generated (although the API still does not allow to
generate empty lines above single-line comments).

Marked as FIXED.