|
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 1997-2000 Sun * Microsystems, Inc. All Rights Reserved. */ package DataLoaderTests.DataObjectTest; import junit.framework.*; import org.netbeans.junit.*; public class Modify extends NbTestCase { public Modify(java.lang.String testName) { super(testName); } public static void main(java.lang.String[] args) { junit.textui.TestRunner.run(suite()); } private DataObjectTest T = null; protected void setUp(){ T = new DataObjectTest("Dummy"); //now setting workdir - this class will write nothing into the logs, only the utility class should, //however into location for this class T.work = Manager.getWorkDirPath()+ java.io.File.separator + this.getClass().getName().replace('.',java.io.File.separatorChar)+ java.io.File.separator + getName(); } public void testAWTFormModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.AWTFormObject.AWTFormObject_modify("testDOModify").testDOModify(); } public void testClassModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.ClassObject.ClassObject_modify("testDOModify").testDOModify(); } public void testHTMLModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.HTMLObject.HTMLObject_modify("testDOModify").testDOModify(); } public void testImageModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.ImageObject.ImageObject_modify("testDOModify").testDOModify(); } public void testJSPModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.JSPObject.JSPObject_modify("testDOModify").testDOModify(); } public void testJavaFormModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.JavaSourceObject.JavaSourceObject_modify("testDOModify").testDOModify(); } /* * test removed because refactoring shows some dialogs * public void testPackageModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.Package.Package_modify("testDOModify").testDOModify(); }*/ public void testSecurityJAppletModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.SecurityJApplet.SecurityJApplet_modify("testDOModify").testDOModify(); } public void testSwingFormModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.SwingFormObject.SwingFormObject_modify("testDOModify").testDOModify(); } public void testTextualModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.TextualObject.TextualObject_modify("testDOModify").testDOModify(); } public void testURLModify() throws Exception { new DataLoaderTests.DataObjectTest.modify.URLObject.URLObject_modify("testDOModify").testDOModify(); } public static Test suite() { NbTestSuite suite = new NbTestSuite(Modify.class); return suite; } } |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 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.