1 30 31 package org.apache.commons.httpclient; 32 33 import junit.framework.Test; 34 import junit.framework.TestCase; 35 import junit.framework.TestSuite; 36 37 44 public class TestLocalHost extends TestCase { 45 46 public TestLocalHost(String testName) { 47 super(testName); 48 } 49 50 public static Test suite() { 51 TestSuite suite = new TestSuite(); 52 suite.addTest(TestHttpConnection.suite()); 53 suite.addTest(TestMethodsLocalHost.suite()); 54 suite.addTest(TestGetMethodLocal.suite()); 55 suite.addTest(TestTraceMethodLocal.suite()); 56 suite.addTest(TestHttpConnectionManager.suite()); 57 suite.addTest(TestWebapp.suite()); 58 suite.addTest(TestProxy.suite()); 59 return suite; 60 } 61 62 public static void main(String args[]) { 63 String [] testCaseName = { TestLocalHost.class.getName() }; 64 junit.textui.TestRunner.main(testCaseName); 65 } 66 67 } 68 | Popular Tags |