1 package xdoclet.retest.test.ejb; 2 3 import xdoclet.retest.test.StatefulSessionBeanRegressionTestCase; 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 SimpleSFBeanTest 16 extends TestCase 17 { 18 19 public SimpleSFBeanTest(String name) 20 { 21 super(name); 22 } 23 24 public static Test suite() 25 { 26 TestSuite suite = new TestSuite(); 27 StatefulSessionBeanRegressionTestCase sft = new StatefulSessionBeanRegressionTestCase("Stateful Session Bean","SimpleSF"); 28 suite.addTest(sft.getSuite()); 29 DeploymentDescriptorsRegressionTestCase jbtc = new DeploymentDescriptorsRegressionTestCase("Stateless Session Bean","SimpleSF"); 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 |