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 InheritedCMPBeanTest 14 extends TestCase 15 { 16 17 public InheritedCMPBeanTest(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","InheritedCMPSub"); 26 suite.addTest(slt.getSuite()); 27 slt = new CMPEntityBeanRegressionTestCase("CMP Bean","InheritedCMPSuper"); 28 suite.addTest(slt.getSuite()); 29 DeploymentDescriptorsRegressionTestCase jbtc = new DeploymentDescriptorsRegressionTestCase("CMP Bean","InheritedCMP"); 30 suite.addTest(jbtc.getSuite()); 31 jbtc = new DeploymentDescriptorsRegressionTestCase("CMP Bean","InheritedCMP"); 32 suite.addTest(jbtc.getSuite()); 33 return suite; 34 } 35 36 public static void main(String [] args) 37 { 38 TestRunner.run(suite()); 39 } 40 41 } 42 | Popular Tags |