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