KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > query > QuerySUITE


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.query;
9
10 import junit.framework.Test;
11 import junit.framework.TestSuite;
12
13 /**
14  * Query tests.
15  *
16  * @author <a HREF="mailto:AdrianBrock@HappeningTimes.com">Adrian Brock</a>.
17  */

18 public class QuerySUITE
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("Query tests");
39
40     suite.addTest(new TestSuite(QueryMBeansObjectNameOnlyTestCase.class));
41     suite.addTest(new TestSuite(QueryTestCase.class));
42
43     return suite;
44   }
45 }
46
Popular Tags