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