1 19 20 package DataLoaderTests.DataObjectTest; 21 22 import junit.framework.*; 23 import org.netbeans.junit.*; 24 25 public class Others extends NbTestCase { 26 27 public Others(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 testAWTFormOthers() throws Exception { 47 new DataLoaderTests.DataObjectTest.others.AWTFormObject.AWTFormObject_others("testDOOthers").testDOOthers(); 48 } 49 public void testClassOthers() throws Exception { 50 new DataLoaderTests.DataObjectTest.others.ClassObject.ClassObject_others("testDOOthers").testDOOthers(); 51 } 52 public void testHTMLOthers() throws Exception { 53 new DataLoaderTests.DataObjectTest.others.HTMLObject.HTMLObject_others("testDOOthers").testDOOthers(); 54 } 55 public void testImageOthers() throws Exception { 56 new DataLoaderTests.DataObjectTest.others.ImageObject.ImageObject_others("testDOOthers").testDOOthers(); 57 } 58 public void testJSPOthers() throws Exception { 59 new DataLoaderTests.DataObjectTest.others.JSPObject.JSPObject_others("testDOOthers").testDOOthers(); 60 } 61 public void testJavaFormOthers() throws Exception { 62 new DataLoaderTests.DataObjectTest.others.JavaSourceObject.JavaSourceObject_others("testDOOthers").testDOOthers(); 63 } 64 public void testPackageOthers() throws Exception { 65 new DataLoaderTests.DataObjectTest.others.Package.Package_others("testDOOthers").testDOOthers(); 66 } 67 public void testSecurityJAppletOthers() throws Exception { 68 new DataLoaderTests.DataObjectTest.others.SecurityJApplet.SecurityJApplet_others("testDOOthers").testDOOthers(); 69 } 70 public void testSwingFormOthers() throws Exception { 71 new DataLoaderTests.DataObjectTest.others.SwingFormObject.SwingFormObject_others("testDOOthers").testDOOthers(); 72 } 73 public void testTextualOthers() throws Exception { 74 new DataLoaderTests.DataObjectTest.others.TextualObject.TextualObject_others("testDOOthers").testDOOthers(); 75 } 76 public void testURLOthers() throws Exception { 77 new DataLoaderTests.DataObjectTest.others.URLObject.URLObject_others("testDOOthers").testDOOthers(); 78 } 79 80 public static Test suite() { 81 NbTestSuite suite = new NbTestSuite(Others.class); 82 return suite; 83 } 84 85 } 86 | Popular Tags |