1 30 31 package org.apache.commons.httpclient; 32 33 import junit.framework.*; 34 35 45 public class TestNoHost extends TestCase { 46 47 public TestNoHost(String testName) { 48 super(testName); 49 } 50 51 public static Test suite() { 52 TestSuite suite = new TestSuite(); 53 suite.addTest(TestHttpStatus.suite()); 54 suite.addTest(TestBase64.suite()); 55 suite.addTest(TestCookie.suite()); 56 suite.addTest(TestNVP.suite()); 57 suite.addTest(TestHeader.suite()); 58 suite.addTest(TestHeaderElement.suite()); 59 suite.addTest(TestChallengeParser.suite()); 60 suite.addTest(TestAuthenticator.suite()); 61 suite.addTest(TestHttpUrlMethod.suite()); 62 suite.addTest(TestURI.suite()); 63 suite.addTest(TestURIUtil.suite()); 64 suite.addTest(TestURIUtil2.suite()); 65 suite.addTest(TestMethodsNoHost.suite()); 66 suite.addTest(TestMethodsRedirectNoHost.suite()); 67 suite.addTest(TestHttpState.suite()); 68 suite.addTest(TestResponseHeaders.suite()); 69 suite.addTest(TestRequestHeaders.suite()); 70 suite.addTest(TestStreams.suite()); 71 suite.addTest(TestStatusLine.suite()); 72 suite.addTest(TestRequestLine.suite()); 73 suite.addTest(TestPartsNoHost.suite()); 74 suite.addTest(TestMethodCharEncoding.suite()); 75 suite.addTest(TestEquals.suite()); 76 return suite; 77 } 78 79 public static void main(String args[]) { 80 String [] testCaseName = { TestNoHost.class.getName() }; 81 junit.textui.TestRunner.main(testCaseName); 82 } 83 84 } 85 | Popular Tags |