|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 2004 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.modules.junit.wizards; import java.awt.Component; import java.io.IOException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.NoSuchElementException; import java.util.Properties; import java.util.ResourceBundle; import java.util.Set; import javax.swing.Box; import javax.swing.BoxLayout; import javax.swing.JCheckBox; import javax.swing.JComponent; import javax.swing.JPanel; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; import org.netbeans.api.project.Project; import org.netbeans.api.project.ProjectUtils; import org.netbeans.api.project.SourceGroup; import org.netbeans.api.project.Sources; import org.netbeans.modules.junit.GuiUtils; import org.netbeans.modules.junit.JUnitSettings; import org.netbeans.modules.junit.SizeRestrictedPanel; import org.netbeans.spi.project.ui.templates.support.Templates; import org.openide.WizardDescriptor; import org.openide.filesystems.FileObject; import org.openide.loaders.TemplateWizard; import org.openide.util.HelpCtx; import org.openide.util.NbBundle; /** * Wizard for an empty test case. * * @author Marian Petras */ public class TestSuiteWizard extends TemplateWizard { /** name of property "package" */ static final String PROP_PACKAGE = "package"; //NOI18N /** name of property "class name" */ static final String PROP_CLASS_NAME = "className"; //NOI18N /** * initializes the settings for the settings panel */ protected void initialize() { //PENDING: /* JUnitSettings settings = JUnitSettings.getDefault(); putProperty(GuiUtils.CHK_SETUP, Boolean.valueOf(settings.isGenerateSetUp())); putProperty(GuiUtils.CHK_TEARDOWN, Boolean.valueOf(settings.isGenerateTearDown())); putProperty(GuiUtils.CHK_HINTS, Boolean.valueOf(settings.isBodyComments())); putProperty(PROP_TEMPLATE, settings.getClassTemplate()); */ } } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.