1 19 20 package org.openide.nodes; 21 22 import java.beans.*; 23 import java.util.*; 24 25 import junit.textui.TestRunner; 26 import org.netbeans.junit.NbTestCase; 27 import org.netbeans.junit.NbTestSuite; 28 29 import org.openide.nodes.*; 30 31 34 public class ChildrenKeysAsArrayTest extends ChildrenArrayTest { 35 public ChildrenKeysAsArrayTest (String s) { 36 super (s); 37 } 38 39 protected Children.Array createChildren () { 40 return new Children.Keys () { 41 protected Node[] createNodes (Object obj) { 42 fail ("This should not get called as we are using just Children.Array functions of the keys"); 43 return null; 44 } 45 }; 46 } 47 48 } 49 | Popular Tags |