KickJava   Java API By Example, From Geeks To Geeks.

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


1 package xdoclet.retest.test.ejb;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5 import junit.framework.TestCase;
6 import junit.textui.TestRunner;
7 import xdoclet.retest.test.DDEjbJarTestCase;
8
9 public class SecurityBeanTest
10         extends TestCase
11  {
12
13     public SecurityBeanTest(String JavaDoc name)
14     {
15         super(name);
16     }
17
18     public static Test suite()
19     {
20         TestSuite suite = new TestSuite();
21         DDEjbJarTestCase jbtc = new DDEjbJarTestCase("DD","Security");
22         suite.addTest(jbtc.getSuite());
23         return suite;
24     }
25
26     public static void main(String JavaDoc[] args)
27     {
28         TestRunner.run(suite());
29     }
30
31 }
32
Popular Tags