1 19 20 25 26 package org.netbeans.test.java.eventfiring.MethodChanged; 27 28 import org.netbeans.test.java.Common; 29 import java.lang.reflect.Modifier ; 31 import org.netbeans.junit.*; 32 import org.netbeans.test.java.eventfiring.*; 33 import org.openide.loaders.DataObject; 34 35 38 39 public class MethodChanged extends org.netbeans.test.java.XRunner { 40 41 final static int DELAY = 2000; 42 43 public static void main(java.lang.String [] args) { 44 junit.textui.TestRunner.run(suite()); 45 } 46 47 public MethodChanged() { 48 super(""); 49 } 50 51 public MethodChanged(java.lang.String testName) { 52 super(testName); 53 } 54 55 public static NbTest suite() { 56 return new NbTestSuite(MethodChanged.class); 57 } 58 59 66 public boolean go(Object o, java.io.PrintWriter log) throws Exception { 67 68 boolean passed = true; 71 72 121 return passed; 122 } 123 124 protected boolean writeResult(DataObject DO) { 125 return true; 126 } 127 128 130 protected void setUp() { 131 super.setUp(); 132 name = "JavaTestSourceEventFiringMethodChanged"; 133 packageName = "org.netbeans.test.java.testsources"; 134 } 135 136 protected void tearDown() { 137 try { 138 Thread.sleep(2*DELAY); 139 } catch (InterruptedException e) { 140 } 141 super.tearDown(); 142 } 143 144 } 145 | Popular Tags |