1 /* 2 * $HeadURL: 3 * $Revision: 201862 $ 4 * $Date: 2005-06-26 11:03:07 -0400 (Sun, 26 Jun 2005) $ 5 * ==================================================================== 6 * 7 * Copyright 1999-2004 The Apache Software Foundation 8 * 9 * Licensed under the Apache License, Version 2.0 (the "License"); 10 * you may not use this file except in compliance with the License. 11 * You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, software 16 * distributed under the License is distributed on an "AS IS" BASIS, 17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 * See the License for the specific language governing permissions and 19 * limitations under the License. 20 * ==================================================================== 21 * 22 * This software consists of voluntary contributions made by many 23 * individuals on behalf of the Apache Software Foundation. For more 24 * information on the Apache Software Foundation, please see 25 * <http://www.apache.org/>. 26 */ 27 28 package org.apache.commons.httpclient; 29 30 import junit.framework.Test; 31 import junit.framework.TestCase; 32 import junit.framework.TestSuite; 33 34 /*** 35 * Tests that don't require any external host. 36 * I.e., that run entirely within this JVM. 37 * 38 * (True unit tests, by some definitions.) 39 * 40 * @author Rodney Waldhoff 41 * @author <a href="mailto:jsdever@apache.org">Jeff Dever</a> 42 * @version $Revision: 201862 $ $Date: 2005-06-26 11:03:07 -0400 (Sun, 26 Jun 2005) $ 43 * 44 * @deprecated Use TestAll 45 */ 46 public class TestNoHost extends TestCase { 47 48 public TestNoHost(String testName) { 49 super(testName); 50 } 51 52 public static Test suite() { 53 TestSuite suite = new TestSuite(); 54 suite.addTest(TestAll.suite()); 55 return suite; 56 } 57 58 public static void main(String args[]) { 59 String[] testCaseName = { TestNoHost.class.getName() }; 60 junit.textui.TestRunner.main(testCaseName); 61 } 62 63 }