KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > util > UtilSuite


1 package org.mmbase.util;
2
3 import junit.framework.*;
4
5 /**
6  * JUnit tests.
7  *
8  * @author Rob van Maris
9  * @version $Revision: 1.2 $
10  */

11 public class UtilSuite extends TestCase {
12
13     public UtilSuite(java.lang.String JavaDoc testName) {
14         super(testName);
15     }
16
17     public static void main(java.lang.String JavaDoc[] args) {
18         junit.textui.TestRunner.run(suite());
19         System.exit(0);
20     }
21
22     /**
23      * Sets up before each test.
24      */

25     public void setUp() throws Exception JavaDoc {}
26
27     /**
28      * Tears down after each test.
29      */

30     public void tearDown() throws Exception JavaDoc {}
31
32     public static Test suite() {
33         TestSuite suite = new TestSuite("ImplementationSuite");
34         suite.addTest(org.mmbase.util.QueryConvertorTest.suite());
35         return suite;
36     }
37
38 }
39
Popular Tags