Source code: org/apache/http/impl/entity/TestAllEntityImpl.java
1 /*
2 * $HeadURL: https://svn.apache.org/repos/asf/jakarta/httpcomponents/httpcore/tags/4.0-alpha2/src/test/org/apache/http/impl/entity/TestAllEntityImpl.java $
3 * $Revision: 385860 $
4 * $Date: 2006-03-14 20:25:26 +0100 (Tue, 14 Mar 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.impl.entity;
30
31 import junit.framework.*;
32
33 public class TestAllEntityImpl extends TestCase {
34
35 public TestAllEntityImpl(String testName) {
36 super(testName);
37 }
38
39 public static Test suite() {
40 TestSuite suite = new TestSuite();
41 suite.addTest(TestDefaultEntitySerializer.suite());
42 suite.addTest(TestDefaultEntityDeserializer.suite());
43 return suite;
44 }
45
46 public static void main(String args[]) {
47 String[] testCaseName = { TestAllEntityImpl.class.getName() };
48 junit.textui.TestRunner.main(testCaseName);
49 }
50
51 }