KickJava   Java API By Example, From Geeks To Geeks.

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


1 package com.mockobjects.examples.password;
2
3 import junit.framework.Test;
4 import junit.framework.TestSuite;
5 import com.mockobjects.util.SuiteBuilder;
6 import com.mockobjects.util.TestCaseMo;
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 addForgotPasswordServlet(TestSuite suite) {
17         suite.addTestSuite(TestForgotPasswordServlet.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