1 19 20 package org.openide.actions; 21 22 23 import java.util.Arrays ; 24 import javax.swing.Action ; 25 import javax.swing.ActionMap ; 26 27 import junit.textui.TestRunner; 28 29 import org.netbeans.junit.*; 30 import org.openide.actions.*; 31 import org.openide.util.Lookup; 32 33 34 36 public class DeleteActionTest extends AbstractCallbackActionTestHidden { 37 public DeleteActionTest(String name) { 38 super(name); 39 } 40 41 public static void main(String [] args) { 42 TestRunner.run(new NbTestSuite(DeleteActionTest.class)); 43 } 44 45 46 protected Class actionClass () { 47 return DeleteAction.class; 48 } 49 50 protected String actionKey () { 51 return "delete"; 52 } 53 } 54 | Popular Tags |