From: markt Date: Sun, 7 Mar 2010 11:31:00 +0000 (+0000) Subject: Remove the TestAll suite. Ant doesn't use it, IDEs don't need it and it is often... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2d4cc845ae0bbe72a72f8241921905c801a2f52c;p=tomcat7.0 Remove the TestAll suite. Ant doesn't use it, IDEs don't need it and it is often out of sync with the tests git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@919969 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/build.xml b/build.xml index 66be772d7..8ed242bf9 100644 --- a/build.xml +++ b/build.xml @@ -879,8 +879,6 @@ - - diff --git a/test/org/apache/TestAll.java b/test/org/apache/TestAll.java deleted file mode 100644 index e403357c3..000000000 --- a/test/org/apache/TestAll.java +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache; - -import junit.framework.Test; -import junit.framework.TestSuite; - -import org.apache.catalina.connector.TestKeepAliveCount; -import org.apache.catalina.connector.TestRequest; -import org.apache.catalina.core.TestStandardContext; -import org.apache.catalina.deploy.TestSecurityConstraint; -import org.apache.catalina.deploy.TestWebXml; -import org.apache.catalina.deploy.TestWebXmlOrdering; -import org.apache.catalina.ha.session.TestSerializablePrincipal; -import org.apache.catalina.loader.TestWebappClassLoaderMemoryLeak; -import org.apache.catalina.startup.TestTomcat; -import org.apache.catalina.startup.TestTomcatSSL; -import org.apache.catalina.util.TestRequestUtil; -import org.apache.catalina.valves.TestRemoteIpValve; -import org.apache.el.TestELEvaluation; -import org.apache.el.TestELInJsp; -import org.apache.el.TestMethodExpressionImpl; -import org.apache.el.TestValueExpressionImpl; -import org.apache.el.lang.TestELSupport; -import org.apache.jasper.compiler.TestAttributeParser; -import org.apache.jasper.compiler.TestGenerator; -import org.apache.jasper.compiler.TestJspDocumentParser; -import org.apache.jasper.compiler.TestParser; -import org.apache.jasper.compiler.TestScriptingVariabler; -import org.apache.jasper.compiler.TestValidator; -import org.apache.tomcat.util.http.TestCookies; -import org.apache.tomcat.util.http.TestCookiesAllowEquals; -import org.apache.tomcat.util.http.TestCookiesAllowHttpSeps; -import org.apache.tomcat.util.http.TestCookiesDefaultSysProps; -import org.apache.tomcat.util.http.TestCookiesDisallowEquals; -import org.apache.tomcat.util.http.TestCookiesNoFwdStrictSysProps; -import org.apache.tomcat.util.http.TestCookiesNoStrictNamingSysProps; -import org.apache.tomcat.util.http.TestCookiesStrictSysProps; -import org.apache.tomcat.util.res.TestStringManager; - -public class TestAll { - - public static Test suite() { - TestSuite suite = new TestSuite("Test for org.apache"); - // o.a.catalina - // connector - suite.addTestSuite(TestKeepAliveCount.class); - suite.addTestSuite(TestRequest.class); - // core - suite.addTestSuite(TestStandardContext.class); - // deploy - suite.addTestSuite(TestSecurityConstraint.class); - suite.addTestSuite(TestWebXml.class); - suite.addTestSuite(TestWebXmlOrdering.class); - // ha.session - suite.addTestSuite(TestSerializablePrincipal.class); - // loader - suite.addTestSuite(TestWebappClassLoaderMemoryLeak.class); - // startup - suite.addTestSuite(TestTomcat.class); - suite.addTestSuite(TestTomcatSSL.class); - // tribes - // suite.addTest(TribesTestSuite.suite()); - // util - suite.addTestSuite(TestRequestUtil.class); - // valves - suite.addTestSuite(TestRemoteIpValve.class); - - // o.a.el - suite.addTestSuite(TestELSupport.class); - suite.addTestSuite(TestELEvaluation.class); - suite.addTestSuite(TestELInJsp.class); - suite.addTestSuite(TestMethodExpressionImpl.class); - suite.addTestSuite(TestValueExpressionImpl.class); - - // o.a.jasper - suite.addTestSuite(TestAttributeParser.class); - suite.addTestSuite(TestJspDocumentParser.class); - suite.addTestSuite(TestGenerator.class); - suite.addTestSuite(TestParser.class); - suite.addTestSuite(TestScriptingVariabler.class); - suite.addTestSuite(TestValidator.class); - - // o.a.tomcat.util - // http - suite.addTestSuite(TestCookies.class); - suite.addTestSuite(TestCookiesAllowEquals.class); - suite.addTestSuite(TestCookiesAllowHttpSeps.class); - suite.addTestSuite(TestCookiesDefaultSysProps.class); - suite.addTestSuite(TestCookiesDisallowEquals.class); - suite.addTestSuite(TestCookiesNoFwdStrictSysProps.class); - suite.addTestSuite(TestCookiesNoStrictNamingSysProps.class); - suite.addTestSuite(TestCookiesStrictSysProps.class); - // res - suite.addTestSuite(TestStringManager.class); - - return suite; - } - -}