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 90666 - Test skeleton generation - optional generation of constructor
Summary: Test skeleton generation - optional generation of constructor
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Marian Petras
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-06 14:51 UTC by Marian Petras
Modified: 2007-01-08 00:03 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 Marian Petras 2006-12-06 14:51:51 UTC
Make generation of test skeleton's constructor optional - either by an option in
the Create Test dialog or by modification of the template.

Currently, the constructor is generated whether the templates contains it or
not, which is a bug.
Comment 1 Marian Petras 2007-01-08 00:03:37 UTC
Fixed in the trunk, together with bug #89820.

Added and modified files:
   ide/golden/deps.txt   (1.416)
   junit/manifest.mf   (1.47)
   junit/nbproject/project.properties   (1.12)
   junit/nbproject/project.xml   (1.22)
   junit/src/org/netbeans/modules/junit/:
                                    Bundle.properties   (1.78)
                                    ClassMap.java   (1.1 - new)
                                    CreateTestAction.java   (1.55)
                                    DefaultPlugin.java   (1.8)
                                    GoToOppositeAction.java   (1.11)
                                    GuiUtils.java   (1.6)
                                    JUnitCfgOfCreate.java   (1.40)
                                    JUnitSettingsBeanInfo.java   (1.22)
                                    JUnitSettings.java   (1.24)
                                    OpenTestAction.java   (1.26)
                                    TestabilityJudge.java   (1.1 - new)
                                    TestabilityResult.java   (1.1 - new)
                                    TestAction.java   (1.5)
                                    TestCreator.java   (1.63)
                                    TestUtil.java   (1.37)
                                    TopClassFinder.java   (1.1 - new)
   junit/src/org/netbeans/modules/junit/plugin/:
                                    JUnitPlugin.java   (1.5)
   junit/src/org/netbeans/modules/junit/resources/:
                                    layer.xml   (1.46)
   junit/src/org/netbeans/modules/junit/resources/templates/:
                                    EmptyJUnitTest.java.template   (1.1 - new)
                                    TestSuite.java.template   (1.1 - new)
   junit/src/org/netbeans/modules/junit/wizards/:
                                    EmptyTestCaseWizardIterator.java   (1.17)
                                    SimpleTestCaseWizardIterator.java   (1.20)
                                    SimpleTestStepLocation.java   (1.21)
                                    TestSuiteWizardIterator.java   (1.14)
                                    Utils.java   (1.21)

(See issue #89820 for the links to CVS diffs.)