KickJava   Java API By Example, From Geeks To Geeks.

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


1 package xdoclet.retest.test.ejb;
2
3 import xdoclet.retest.test.StatelessSessionBeanRegressionTestCase;
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 /**
11  * @author Vincent Harcq (vincent.harcq@hubmethods.com)
12  * @created Mars 5, 2002
13  * @version $Revision: 1.1 $
14  */

15 public class SimpleSLBeanTest
16         extends TestCase
17 {
18
19     public SimpleSLBeanTest(String JavaDoc name)
20     {
21         super(name);
22     }
23
24     public static Test suite()
25     {
26         TestSuite suite = new TestSuite();
27         StatelessSessionBeanRegressionTestCase slt = new StatelessSessionBeanRegressionTestCase("Stateless Session Bean","SimpleSL");
28         suite.addTest(slt.getSuite());
29         DeploymentDescriptorsRegressionTestCase jbtc = new DeploymentDescriptorsRegressionTestCase("Stateless Session Bean","SimpleSL");
30         suite.addTest(jbtc.getSuite());
31         return suite;
32     }
33
34     public static void main(String JavaDoc[] args)
35     {
36         TestRunner.run(suite());
37     }
38
39 }
40
Popular Tags