1 19 20 package DataLoaderTests.DataObjectTest; 21 22 import junit.framework.*; 23 import org.netbeans.junit.*; 24 25 public class Modify extends NbTestCase { 26 27 public Modify(java.lang.String testName) { 28 super(testName); 29 } 30 31 public static void main(java.lang.String [] args) { 32 junit.textui.TestRunner.run(suite()); 33 } 34 35 private DataObjectTest T = null; 36 37 protected void setUp(){ 38 T = new DataObjectTest("Dummy"); 39 T.work = Manager.getWorkDirPath()+ 42 java.io.File.separator + this.getClass().getName().replace('.',java.io.File.separatorChar)+ 43 java.io.File.separator + getName(); 44 } 45 46 public void testAWTFormModify() throws Exception { 47 new DataLoaderTests.DataObjectTest.modify.AWTFormObject.AWTFormObject_modify("testDOModify").testDOModify(); 48 } 49 public void testClassModify() throws Exception { 50 new DataLoaderTests.DataObjectTest.modify.ClassObject.ClassObject_modify("testDOModify").testDOModify(); 51 } 52 public void testHTMLModify() throws Exception { 53 new DataLoaderTests.DataObjectTest.modify.HTMLObject.HTMLObject_modify("testDOModify").testDOModify(); 54 } 55 public void testImageModify() throws Exception { 56 new DataLoaderTests.DataObjectTest.modify.ImageObject.ImageObject_modify("testDOModify").testDOModify(); 57 } 58 public void testJSPModify() throws Exception { 59 new DataLoaderTests.DataObjectTest.modify.JSPObject.JSPObject_modify("testDOModify").testDOModify(); 60 } 61 public void testJavaFormModify() throws Exception { 62 new DataLoaderTests.DataObjectTest.modify.JavaSourceObject.JavaSourceObject_modify("testDOModify").testDOModify(); 63 } 64 70 public void testSecurityJAppletModify() throws Exception { 71 new DataLoaderTests.DataObjectTest.modify.SecurityJApplet.SecurityJApplet_modify("testDOModify").testDOModify(); 72 } 73 public void testSwingFormModify() throws Exception { 74 new DataLoaderTests.DataObjectTest.modify.SwingFormObject.SwingFormObject_modify("testDOModify").testDOModify(); 75 } 76 public void testTextualModify() throws Exception { 77 new DataLoaderTests.DataObjectTest.modify.TextualObject.TextualObject_modify("testDOModify").testDOModify(); 78 } 79 public void testURLModify() throws Exception { 80 new DataLoaderTests.DataObjectTest.modify.URLObject.URLObject_modify("testDOModify").testDOModify(); 81 } 82 83 public static Test suite() { 84 NbTestSuite suite = new NbTestSuite(Modify.class); 85 return suite; 86 } 87 88 } 89 | Popular Tags |