1 19 20 package org.netbeans.modules.junit.wizards; 21 22 import org.netbeans.modules.junit.GuiUtils; 23 import org.netbeans.modules.junit.JUnitSettings; 24 import org.openide.loaders.TemplateWizard; 25 26 31 public class EmptyTestCaseWizard extends TemplateWizard { 32 33 34 static final String PROP_PACKAGE = "package"; 36 static final String PROP_CLASS_NAME = "className"; 38 static final String TESTS_ROOT_NAME = "test"; 41 44 public void initialize() { 45 JUnitSettings settings = JUnitSettings.getDefault(); 46 47 putProperty(GuiUtils.CHK_SETUP, 48 Boolean.valueOf(settings.isGenerateSetUp())); 49 putProperty(GuiUtils.CHK_TEARDOWN, 50 Boolean.valueOf(settings.isGenerateTearDown())); 51 putProperty(GuiUtils.CHK_HINTS, 52 Boolean.valueOf(settings.isBodyComments())); 53 } 54 55 } 56 | Popular Tags |