01: /*
02: * $HeadURL: https://svn.apache.org/repos/asf/httpcomponents/httpcore/tags/4.0-beta1/module-main/src/test/java/org/apache/http/TestAll.java $
03: * $Revision: 539840 $
04: * $Date: 2007-05-20 09:40:37 +0200 (Sun, 20 May 2007) $
05: * ====================================================================
06: * Licensed to the Apache Software Foundation (ASF) under one
07: * or more contributor license agreements. See the NOTICE file
08: * distributed with this work for additional information
09: * regarding copyright ownership. The ASF licenses this file
10: * to you under the Apache License, Version 2.0 (the
11: * "License"); you may not use this file except in compliance
12: * with 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,
17: * software distributed under the License is distributed on an
18: * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19: * KIND, either express or implied. See the License for the
20: * specific language governing permissions and limitations
21: * under the License.
22: * ====================================================================
23: *
24: * This software consists of voluntary contributions made by many
25: * individuals on behalf of the Apache Software Foundation. For more
26: * information on the Apache Software Foundation, please see
27: * <http://www.apache.org/>.
28: *
29: */
30:
31: package org.apache.http;
32:
33: import org.apache.http.entity.TestAllEntity;
34: import org.apache.http.impl.TestAllImpl;
35: import org.apache.http.impl.entity.TestAllEntityImpl;
36: import org.apache.http.impl.io.TestAllIO;
37: import org.apache.http.message.TestAllMessage;
38: import org.apache.http.params.TestAllParams;
39: import org.apache.http.protocol.TestAllProtocol;
40: import org.apache.http.util.TestAllUtil;
41:
42: import junit.framework.*;
43:
44: public class TestAll extends TestCase {
45:
46: public TestAll(String testName) {
47: super (testName);
48: }
49:
50: public static Test suite() {
51: TestSuite suite = new TestSuite();
52:
53: suite.addTest(TestAllUtil.suite());
54: suite.addTest(TestAllParams.suite());
55:
56: suite.addTest(TestHttpExceptions.suite());
57: suite.addTest(TestHttpVersion.suite());
58: suite.addTest(TestHttpHost.suite());
59:
60: suite.addTest(TestAllMessage.suite());
61: suite.addTest(TestAllIO.suite());
62: suite.addTest(TestAllEntity.suite());
63: suite.addTest(TestAllImpl.suite());
64: suite.addTest(TestAllEntityImpl.suite());
65:
66: suite.addTest(TestAllProtocol.suite());
67:
68: return suite;
69: }
70:
71: public static void main(String args[]) {
72: String[] testCaseName = { TestAll.class.getName() };
73: junit.textui.TestRunner.main(testCaseName);
74: }
75:
76: }
|