1 25 26 package org.objectweb.jonas.stests.manac; 27 28 import junit.framework.Test; 29 import junit.framework.TestSuite; 30 31 34 public class F_remove_2 extends A_remove { 35 36 public F_remove_2(String name) { 37 super(name); 38 } 39 40 public String getManagerHomeName() { 41 return "manacManager2Home"; 42 } 43 44 public static Test suite() { 45 return new TestSuite(F_remove_2.class); 46 } 47 48 public static void main (String args[]) { 49 String testtorun = null; 50 for (int argn = 0; argn < args.length; argn++) { 52 String sarg = args[argn]; 53 if (sarg.equals("-n")) { 54 testtorun = args[++argn]; 55 } 56 } 57 if (testtorun == null) { 58 junit.textui.TestRunner.run(suite()); 59 } else { 60 junit.textui.TestRunner.run(new F_remove_2(testtorun)); 61 } 62 } 63 } 64 | Popular Tags |