KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > openmbean > OpenMBeanSUITE


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.openmbean;
9
10 import junit.framework.Test;
11 import junit.framework.TestSuite;
12
13 /**
14  * Tests for the openmbeans.
15  *
16  * @author <a HREF="mailto:AdrianBrock@HappeningTimes.com">Adrian Brock</a>.
17  */

18 public class OpenMBeanSUITE
19   extends TestSuite
20 {
21   /**
22    * Run the tests
23    *
24    * @param args the arguments for the test
25    */

26   public static void main(String[] args)
27   {
28     junit.textui.TestRunner.run(suite());
29   }
30
31   /**
32    * Get a list of tests.
33    *
34    * @return the tests
35    */

36   public static Test suite()
37   {
38     TestSuite suite = new TestSuite("OpenMBean Tests");
39
40     suite.addTest(new TestSuite(OpenTypeTestCase.class));
41     suite.addTest(new TestSuite(SimpleTypeTestCase.class));
42     suite.addTest(new TestSuite(CompositeTypeTestCase.class));
43     suite.addTest(new TestSuite(TabularTypeTestCase.class));
44     suite.addTest(new TestSuite(ArrayTypeTestCase.class));
45     suite.addTest(new TestSuite(CompositeDataSupportTestCase.class));
46     suite.addTest(new TestSuite(TabularDataSupportTestCase.class));
47     suite.addTest(new TestSuite(OpenMBeanParameterInfoSupportTestCase.class));
48     suite.addTest(new TestSuite(OpenMBeanAttributeInfoSupportTestCase.class));
49     suite.addTest(new TestSuite(OpenMBeanConstructorInfoSupportTestCase.class));
50     suite.addTest(new TestSuite(OpenMBeanOperationInfoSupportTestCase.class));
51     suite.addTest(new TestSuite(OpenMBeanInfoSupportTestCase.class));
52
53     return suite;
54   }
55 }
56
Popular Tags