KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > cactus > integration > ant > deployment > TestAll


1 /*
2  * ========================================================================
3  *
4  * Copyright 2003-2004 The Apache Software Foundation.
5  *
6  * Licensed under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  *
18  * ========================================================================
19  */

20 package org.apache.cactus.integration.ant.deployment;
21
22 import org.apache.cactus.integration.ant.deployment.application.TestApplicationXml;
23 import org.apache.cactus.integration.ant.deployment.application.TestApplicationXmlVersion;
24 import org.apache.cactus.integration.ant.deployment.webapp.TestWarArchive;
25 import org.apache.cactus.integration.ant.deployment.webapp.TestWebXml;
26 import org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlMerger;
27 import org.apache.cactus.integration.ant.deployment.webapp.TestWebXmlVersion;
28
29 import junit.framework.Test;
30 import junit.framework.TestSuite;
31
32 /**
33  * Run all the unit tests for the deployment support classes.
34  *
35  * @version $Id: TestAll.java,v 1.7 2004/05/31 20:05:24 vmassol Exp $
36  */

37 public final class TestAll
38 {
39     /**
40      * @return a test suite (<code>TestSuite</code>) that includes all methods
41      * starting with "test"
42      */

43     public static Test suite()
44     {
45         TestSuite suite = new TestSuite(
46             "Unit tests for the deployment support classes");
47
48         suite.addTestSuite(TestApplicationXml.class);
49         suite.addTestSuite(TestApplicationXmlVersion.class);
50
51         suite.addTestSuite(TestWebXml.class);
52         suite.addTestSuite(TestWebXmlMerger.class);
53         suite.addTestSuite(TestWebXmlVersion.class);
54         suite.addTestSuite(TestWarArchive.class);
55
56         suite.addTestSuite(TestJarArchive.class);
57         suite.addTestSuite(TestEarParser.class);
58
59         return suite;
60     }
61 }
62
Popular Tags