KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > planetamessenger > test > TestAll


1 /*
2  * Created on 12-Nov-06 by Peter Maloney
3  *
4  */

5 package org.planetamessenger.test;
6
7 import junit.framework.Test;
8 import junit.framework.TestCase;
9 import junit.framework.TestSuite;
10
11 import org.planetamessenger.util.test.*;
12
13 /**
14  * Runs all Tests. For JUnit 3.8 (since 4.0 requires Java 5.0).
15  *
16  * @author Peter Maloney
17  */

18 public class TestAll extends TestCase {
19
20   /**
21    *
22    */

23   public TestAll() {
24
25   }
26
27   /**
28    * @param name
29    */

30   public TestAll(String JavaDoc name) {
31     super( name );
32   }
33
34   /** @return TestSuite for TestAll */
35   public static Test suite() {
36     TestSuite suite = new TestSuite("TestAll");
37     suite.addTestSuite( TestTextUtil.class );
38     suite.addTestSuite( JTestJKeyParser.class );
39     
40     return suite;
41   }
42   
43   /**
44    * @param args
45    */

46   public static void main(String JavaDoc[] args) {
47     junit.textui.TestRunner.run( TestAll.suite() );
48   }
49
50 }
51
Popular Tags