1 19 package org.openide.util.lookup; 20 21 import junit.framework.TestCase; 22 import junit.framework.*; 23 import org.openide.util.Lookup; 24 import org.openide.util.lookup.AbstractLookup.ReferenceIterator; 25 import org.openide.util.lookup.AbstractLookup.ReferenceToResult; 26 import java.io.*; 27 import java.lang.ref.WeakReference ; 28 import java.util.*; 29 30 34 public class InheritanceTreeTest extends TestCase { 35 36 public InheritanceTreeTest(String testName) { 37 super(testName); 38 } 39 40 protected void setUp() throws Exception { 41 } 42 43 protected void tearDown() throws Exception { 44 } 45 46 public void testDeserOfNode() { 47 InheritanceTree inh = new InheritanceTree(); 48 InheritanceTree.Node n = new InheritanceTree.Node(String .class); 49 n.markDeserialized(); 50 n.markDeserialized(); 51 52 n.assignItem(inh, new InstanceContent.SimpleItem("Ahoj")); 53 } 54 55 } 56 | Popular Tags |