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