1 package xdoclet.retest.test.ejb; 2 3 import xdoclet.retest.test.StatelessSessionBeanRegressionTestCase; 4 import xdoclet.retest.test.DeploymentDescriptorsRegressionTestCase; 5 import junit.framework.TestCase; 6 import junit.framework.Test; 7 import junit.framework.TestSuite; 8 import junit.textui.TestRunner; 9 10 15 public class SimpleSLBeanTest 16 extends TestCase 17 { 18 19 public SimpleSLBeanTest(String name) 20 { 21 super(name); 22 } 23 24 public static Test suite() 25 { 26 TestSuite suite = new TestSuite(); 27 StatelessSessionBeanRegressionTestCase slt = new StatelessSessionBeanRegressionTestCase("Stateless Session Bean","SimpleSL"); 28 suite.addTest(slt.getSuite()); 29 DeploymentDescriptorsRegressionTestCase jbtc = new DeploymentDescriptorsRegressionTestCase("Stateless Session Bean","SimpleSL"); 30 suite.addTest(jbtc.getSuite()); 31 return suite; 32 } 33 34 public static void main(String [] args) 35 { 36 TestRunner.run(suite()); 37 } 38 39 } 40 | Popular Tags |