From d02c93bf15fc6231e1aa94497d6a6fb8c0465939 Mon Sep 17 00:00:00 2001 From: Sebastian Bazley Date: Fri, 20 Jul 2012 02:04:03 +0000 Subject: [PATCH] Allow test cases to run OK under Maven/Surefire [does not seem to be needed for Ant testing] git-svn-id: https://svn.apache.org/repos/asf/commons/proper/logging/trunk@1363622 13f79535-47bb-0310-9956-ffa450edef68 --- .../logging/log4j/log4j12/ApiClasspathStandardTestCase.java | 3 ++- .../logging/log4j/log4j12/AppClasspathStandardTestCase.java | 3 ++- .../logging/log4j/log4j12/ChildClasspathStandardTestCase.java | 3 ++- .../logging/log4j/log4j12/ParentClasspathStandardTestCase.java | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java b/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java index 866f1e3..cc9364a 100644 --- a/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java +++ b/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java @@ -18,6 +18,7 @@ package org.apache.commons.logging.log4j.log4j12; import junit.framework.Test; +import junit.framework.TestCase; import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableTestSuite; @@ -29,7 +30,7 @@ import org.apache.commons.logging.PathableTestSuite; * the parent classpath and commons-logging.jar is in the child. */ -public class ApiClasspathStandardTestCase { +public class ApiClasspathStandardTestCase extends TestCase { /** * Return the tests included in this test suite. diff --git a/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java b/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java index 428582b..b8fdfa3 100644 --- a/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java +++ b/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java @@ -18,6 +18,7 @@ package org.apache.commons.logging.log4j.log4j12; import junit.framework.Test; +import junit.framework.TestCase; import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableTestSuite; @@ -27,7 +28,7 @@ import org.apache.commons.logging.PathableTestSuite; * is in it, as would be the situation for a standalone application. */ -public class AppClasspathStandardTestCase { +public class AppClasspathStandardTestCase extends TestCase { /** * Return the tests included in this test suite. diff --git a/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java b/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java index a56b04b..4998d2c 100644 --- a/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java +++ b/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java @@ -18,6 +18,7 @@ package org.apache.commons.logging.log4j.log4j12; import junit.framework.Test; +import junit.framework.TestCase; import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableTestSuite; @@ -28,7 +29,7 @@ import org.apache.commons.logging.PathableTestSuite; * a container where all the necessary libs are in the child. */ -public class ChildClasspathStandardTestCase { +public class ChildClasspathStandardTestCase extends TestCase { /** * Return the tests included in this test suite. diff --git a/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java b/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java index 1825b27..5578a03 100644 --- a/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java +++ b/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java @@ -18,6 +18,7 @@ package org.apache.commons.logging.log4j.log4j12; import junit.framework.Test; +import junit.framework.TestCase; import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableTestSuite; @@ -27,7 +28,7 @@ import org.apache.commons.logging.PathableTestSuite; * a container where all the necessary libs are in the parent. */ -public class ParentClasspathStandardTestCase { +public class ParentClasspathStandardTestCase extends TestCase { /** * Return the tests included in this test suite.