KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > xdoclet > retest > test > ejb > InheritedCMPBeanTest


1 /*
2  * $Id: InheritedCMPBeanTest.java,v 1.2 2002/04/02 06:13:42 vharcq Exp $
3  */

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 JavaDoc 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 JavaDoc[] args)
37     {
38         TestRunner.run(suite());
39     }
40
41 }
42
Popular Tags