KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > mockobjects > examples > mailinglist > AllTests


1 package com.mockobjects.examples.mailinglist;
2
3 import junit.framework.TestSuite;
4 import junit.framework.Test;
5 import com.mockobjects.util.TestCaseMo;
6 import com.mockobjects.util.SuiteBuilder;
7
8 public class AllTests extends TestCaseMo {
9     private static final Class JavaDoc THIS = AllTests.class;
10
11     public AllTests(String JavaDoc name) {
12         super(name);
13     }
14
15
16     public static void addTestMailingList(TestSuite suite) {
17         suite.addTestSuite(TestMailingList.class);
18     }
19
20
21     public static void main(String JavaDoc[] args) {
22         start(new String JavaDoc[]{ THIS.getName()});
23     }
24
25
26     public static Test suite() {
27         return SuiteBuilder.buildTest(THIS);
28     }
29 }
Popular Tags