1 19 20 package DataLoaderTests.DataObjectTest; 21 22 import junit.framework.*; 23 import org.netbeans.junit.*; 24 25 public class Manipulation extends NbTestCase { 26 27 public Manipulation(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 System.err.println("xxxxx"); 39 T = new DataObjectTest("Dummy"); 40 log(Manager.getWorkDirPath()); 43 T.work = Manager.getWorkDirPath()+ 44 java.io.File.separator + this.getClass().getName().replace('.',java.io.File.separatorChar)+ 45 java.io.File.separator + getName(); 46 } 47 51 55 public void testHTMLManipulation()throws Exception { 56 new DataLoaderTests.DataObjectTest.manipulation.HTMLObject.HTMLObject_manipulation("testDOManipulation").testDOManipulation(); 57 } 58 public void testImageManipulation()throws Exception { 59 new DataLoaderTests.DataObjectTest.manipulation.ImageObject.ImageObject_manipulation("testDOManipulation").testDOManipulation(); 60 } 61 public void testJSPManipulation() throws Exception { 62 new DataLoaderTests.DataObjectTest.manipulation.JSPObject.JSPObject_manipulation("testDOManipulation").testDOManipulation(); 63 } 64 65 public void testJavaFormManipulation()throws Exception { 66 new DataLoaderTests.DataObjectTest.manipulation.JavaSourceObject.JavaSourceObject_manipulation("testDOManipulation").testDOManipulation(); 67 } 68 75 public void testSecurityJAppletManipulation()throws Exception { 76 new DataLoaderTests.DataObjectTest.manipulation.SecurityJApplet.SecurityJApplet_manipulation("testDOManipulation").testDOManipulation(); 77 } 78 79 public void testSwingFormManipulation() throws Exception { 80 new DataLoaderTests.DataObjectTest.manipulation.SwingFormObject.SwingFormObject_manipulation("testDOManipulation").testDOManipulation(); 81 } 82 public void testTextualManipulation() throws Exception { 83 new DataLoaderTests.DataObjectTest.manipulation.TextualObject.TextualObject_manipulation("testDOManipulation").testDOManipulation(); 84 } 85 public void testURLManipulation() throws Exception { 86 new DataLoaderTests.DataObjectTest.manipulation.URLObject.URLObject_manipulation("testDOManipulation").testDOManipulation(); 87 } 88 89 public static Test suite() { 90 NbTestSuite suite = new NbTestSuite(Manipulation.class); 91 return suite; 92 } 93 94 } 95 | Popular Tags |