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