KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * $Id: SimpleCMPBeanTest.java,v 1.1 2002/03/05 22:47:06 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 SimpleCMPBeanTest
14         extends TestCase
15 {
16
17     public SimpleCMPBeanTest(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","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 JavaDoc[] args)
33     {
34         TestRunner.run(suite());
35     }
36
37 }
38
Popular Tags