KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > wsdd > PackageTests


1 package test.wsdd;
2
3 import junit.framework.Test;
4 import junit.framework.TestCase;
5 import junit.framework.TestResult;
6 import junit.framework.TestSuite;
7
8 /**
9  * Session tests
10  */

11 public class PackageTests extends TestCase {
12
13     public PackageTests(String JavaDoc name) {
14         super(name);
15     }
16
17     public static Test suite() throws Exception JavaDoc {
18         TestSuite suite = new TestSuite();
19
20         suite.addTestSuite(TestGlobalConfiguration.class);
21         suite.addTestSuite(TestScopeOption.class);
22         suite.addTestSuite(TestOptions.class);
23         suite.addTestSuite(TestUndeployment.class);
24         suite.addTestSuite(TestStructure.class);
25         suite.addTestSuite(TestBadWSDD.class);
26         suite.addTestSuite(TestAdminService.class);
27         suite.addTestSuite(TestJAXRPCHandlerInfoChain.class);
28         suite.addTestSuite(TestRoles.class);
29         //suite.addTestSuite(TestXSD.class);
30

31         return suite;
32     }
33     
34     public static void main(String JavaDoc[] args) throws Exception JavaDoc {
35         PackageTests tester = new PackageTests("test");
36         TestResult testResult = new TestResult();
37         tester.suite().run(testResult);
38     }
39 }
40
Popular Tags