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 THIS = AllTests.class; 10 11 public AllTests(String 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 [] args) { 22 start(new String []{ THIS.getName()}); 23 } 24 25 26 public static Test suite() { 27 return SuiteBuilder.buildTest(THIS); 28 } 29 } | Popular Tags |