Source code: org/apache/http/io/TestAllIO.java
1 /*
2 * $HeadURL: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/tags/4.0-alpha2/src/test/org/apache/http/io/TestAllIO.java $
3 * $Revision: 376458 $
4 * $Date: 2006-02-09 23:22:06 +0100 (Thu, 09 Feb 2006) $
5 * ====================================================================
6 *
7 * Copyright 1999-2006 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
29 package org.apache.http.io;
30
31 import junit.framework.*;
32
33 public class TestAllIO extends TestCase {
34
35 public TestAllIO(String testName) {
36 super(testName);
37 }
38
39 public static Test suite() {
40 TestSuite suite = new TestSuite();
41 suite.addTest(TestByteArrayBuffer.suite());
42 suite.addTest(TestCharArrayBuffer.suite());
43 suite.addTest(TestHttpDataInputStream.suite());
44 suite.addTest(TestHttpDataOutputStream.suite());
45 suite.addTest(TestChunkCoding.suite());
46 suite.addTest(TestContentLengthInputStream.suite());
47 suite.addTest(TestContentLengthOutputStream.suite());
48 suite.addTest(TestIdentityOutputStream.suite());
49 return suite;
50 }
51
52 public static void main(String args[]) {
53 String[] testCaseName = { TestAllIO.class.getName() };
54 junit.textui.TestRunner.main(testCaseName);
55 }
56
57 }