01: /*
02: * ========================================================================
03: *
04: * Copyright 2003-2004 The Apache Software Foundation.
05: *
06: * Licensed under the Apache License, Version 2.0 (the "License");
07: * you may not use this file except in compliance with the License.
08: * You may obtain a copy of the License at
09: *
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 239003 2004-05-31 20:05:27Z vmassol $
36: */
37: public final class TestAll {
38: /**
39: * @return a test suite (<code>TestSuite</code>) that includes all methods
40: * starting with "test"
41: */
42: public static Test suite() {
43: TestSuite suite = new TestSuite(
44: "Unit tests for the deployment support classes");
45:
46: suite.addTestSuite(TestApplicationXml.class);
47: suite.addTestSuite(TestApplicationXmlVersion.class);
48:
49: suite.addTestSuite(TestWebXml.class);
50: suite.addTestSuite(TestWebXmlMerger.class);
51: suite.addTestSuite(TestWebXmlVersion.class);
52: suite.addTestSuite(TestWarArchive.class);
53:
54: suite.addTestSuite(TestJarArchive.class);
55: suite.addTestSuite(TestEarParser.class);
56:
57: return suite;
58: }
59: }
|