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