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.
[dev-200510111800, JDK 1.5.0_05] Steps to reproduce: 1) Have class that uses number of various imports 2) Let IDE create junit test suite class for that class Junit test class contains all imports from base class, but those are not necessary there. After I invoked Fix Imports, all imports were removed from test suite class. Fix imports action should be executed on the test suite class during creating it.
Accepted.
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.)