1 19 20 package org.netbeans.api.registry; 21 22 import junit.textui.TestRunner; 23 import org.netbeans.junit.NbTestCase; 24 import org.netbeans.junit.NbTestSuite; 25 import org.openide.modules.ModuleInfo; 26 import org.openide.util.Lookup; 27 28 public class FindObjectTest extends NbTestCase { 29 public FindObjectTest(String name) { 30 super (name); 31 } 32 33 public static void main(String [] args) { 34 TestRunner.run(new NbTestSuite(FindObjectTest.class)); 35 } 36 37 protected void setUp () throws Exception { 38 Lookup.getDefault().lookup(ModuleInfo.class); 39 } 40 41 public void testObjectRef() throws Exception { 43 75 } 76 77 protected Context getContext() { 78 return Context.getDefault(); 79 } 80 } 81 | Popular Tags |