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_read extends A_read { 35 36 public F_read(String name) { 37 super(name); 38 } 39 40 public String getManagerHomeName() { 41 return "manacManagerHome"; 42 } 43 44 public static Test suite() { 45 return new TestSuite(F_read.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_read(testtorun)); 61 } 62 } 63 } 64 | Popular Tags |