1 19 20 25 26 package org.netbeans.test.java.eventfiring.InitializerChanged; 27 28 import org.netbeans.test.java.eventfiring.MyListener; 29 import org.openide.cookies.ConnectionCookie; 31 import java.beans.PropertyChangeListener ; 32 import org.openide.loaders.DataObject; 34 35 38 39 public class InitializerChanged 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 InitializerChanged() { 48 super(""); 49 } 50 51 public InitializerChanged(java.lang.String testName) { 52 super(testName); 53 } 54 55 public static org.netbeans.junit.NbTest suite() { 56 return new org.netbeans.junit.NbTestSuite(InitializerChanged.class); 57 } 58 59 66 public boolean go(Object o, java.io.PrintWriter log) throws Exception { 67 68 boolean passed = true; 71 106 return passed; 107 } 108 109 protected boolean writeResult(DataObject DO) { 110 return true; 111 } 112 113 115 protected void setUp() { 116 super.setUp(); 117 name = "EventFiringInitializerChanged"; 118 packageName = "org.netbeans.test.java.testsources"; 119 } 120 121 protected void tearDown() { 122 try { 123 Thread.sleep(2*DELAY); 124 } catch (InterruptedException e) { 125 } 126 super.tearDown(); 127 } 128 129 } 130 | Popular Tags |