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 52476 - Remove TODO comment from generated test class
Summary: Remove TODO comment from generated test class
Status: STARTED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords: UI
: 52475 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-15 11:03 UTC by Milan Kubec
Modified: 2011-11-04 12:08 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-12-15 11:03:26 UTC
[dev-200412141900]

Generated testclass contains comment:

// TODO add test methods here. The name must begin
with 'test'. For example:
// public void testHello() {}

which is really useless, this comment is generated
regardless setting of "Source code hints" in
wizard. IMO this comment should be removed completly.
Comment 1 Milan Kubec 2004-12-15 11:04:12 UTC
*** Issue 52475 has been marked as a duplicate of this issue. ***
Comment 2 Marian Petras 2004-12-15 12:28:17 UTC
Accepted.
Comment 3 Marian Petras 2005-01-24 10:06:10 UTC
The issue that such comments are generated regardless of the "Source
Code Hints" option has already been reported as bug #48933 ("[40cat]
source code hints checkbox has no effect").

The remaining issue is that the above mentioned comment should not be
generated at all - but that's a question. We will let it there for
NetBeans 4.1 and discuss removing the "Source Code Hints" checkbox
from the Create Tests dialog and JUnit wizards for the subsequent
NetBeans release.