1 30 31 package org.apache.commons.httpclient; 32 33 import junit.framework.*; 34 35 40 public class TestAll extends TestCase { 41 42 public TestAll(String testName) { 43 super(testName); 44 } 45 46 public static Test suite() { 47 TestSuite suite = new TestSuite(); 48 suite.addTest(TestNoHost.suite()); 49 suite.addTest(TestLocalHost.suite()); 50 suite.addTest(TestExternalHost.suite()); 51 return suite; 52 } 53 54 public static void main(String args[]) { 55 String [] testCaseName = { TestAll.class.getName() }; 56 junit.textui.TestRunner.main(testCaseName); 57 } 58 59 } 60 | Popular Tags |