1 19 20 25 26 package org.netbeans.test.java.eventfiring.ClassChanged; 27 28 import org.netbeans.test.java.eventfiring.MyListener; 29 import java.lang.reflect.Modifier ; 33 import java.beans.PropertyChangeListener ; 34 import org.openide.cookies.ConnectionCookie; 36 import org.netbeans.test.java.Common; 37 import org.openide.loaders.DataObject; 38 39 42 43 public class ClassChanged extends org.netbeans.test.java.XRunner { 44 45 final static int DELAY = 2000; 46 47 public static void main(java.lang.String [] args) { 48 junit.textui.TestRunner.run(suite()); 49 } 50 51 public ClassChanged() { 52 super(""); 53 } 54 55 public ClassChanged(java.lang.String testName) { 56 super(testName); 57 } 58 59 public static org.netbeans.junit.NbTest suite() { 60 return new org.netbeans.junit.NbTestSuite(ClassChanged.class); 61 } 62 63 70 public boolean go(Object o, java.io.PrintWriter log) throws Exception { 71 72 boolean passed = true; 75 150 return passed; 151 } 152 153 protected boolean writeResult(DataObject DO) { 154 return true; 155 } 156 157 159 protected void setUp() { 160 super.setUp(); 161 name = "JavaTestSourceEventFiringClassChanged"; 162 packageName = "org.netbeans.test.java.testsources"; 163 } 164 165 protected void tearDown() { 166 try { 167 Thread.sleep(2*DELAY); 168 } catch (InterruptedException e) { 169 } 170 super.tearDown(); 171 } 172 173 } 174 | Popular Tags |