1 19 20 25 26 package org.netbeans.test.java.eventfiring.FieldChanged; 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 FieldChanged 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 FieldChanged() { 48 super(""); 49 } 50 51 public FieldChanged(java.lang.String testName) { 52 super(testName); 53 } 54 55 public static NbTest suite() { 56 return new NbTestSuite(FieldChanged.class); 57 } 58 59 66 public boolean go(Object o, java.io.PrintWriter log) throws Exception { 67 68 boolean passed = true; 71 72 111 return passed; 112 } 113 114 protected boolean writeResult(DataObject DO) { 115 return true; 116 } 117 118 120 protected void setUp() { 121 super.setUp(); 122 name = "JavaTestSourceEventFiringFieldChanged"; 123 packageName = "org.netbeans.test.java.testsources"; 124 } 125 126 protected void tearDown() { 127 try { 128 Thread.sleep(2*DELAY); 129 } catch (InterruptedException e) { 130 } 131 super.tearDown(); 132 } 133 134 } 135 | Popular Tags |