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 56 public class TestWebapp extends TestCase { 57 58 public TestWebapp(String testName) { 59 super(testName); 60 } 61 62 public static Test suite() { 63 TestSuite suite = new TestSuite(); 64 suite.addTest(TestWebappMethods.suite()); 65 suite.addTest(TestWebappParameters.suite()); 66 suite.addTest(TestWebappHeaders.suite()); 67 suite.addTest(TestWebappRedirect.suite()); 68 suite.addTest(TestWebappBasicAuth.suite()); 69 suite.addTest(TestWebappCookie.suite()); 70 suite.addTest(TestWebappPostMethod.suite()); 71 suite.addTest(TestWebappMultiPostMethod.suite()); 72 suite.addTest(TestWebappNoncompliant.suite()); 73 return suite; 74 } 75 76 public static void main(String args[]) { 77 String [] testCaseName = { TestWebapp.class.getName() }; 78 junit.textui.TestRunner.main(testCaseName); 79 } 80 81 } 82 83 | Popular Tags |