1
0

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
This commit is contained in:
Sebastian Bazley
2012-07-20 02:04:03 +00:00
parent 5ac3f688f2
commit d02c93bf15
4 changed files with 8 additions and 4 deletions

View File

@@ -18,6 +18,7 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; 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. * 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. * Return the tests included in this test suite.

View File

@@ -18,6 +18,7 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; 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. * 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. * Return the tests included in this test suite.

View File

@@ -18,6 +18,7 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; 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. * 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. * Return the tests included in this test suite.

View File

@@ -18,6 +18,7 @@
package org.apache.commons.logging.log4j.log4j12; package org.apache.commons.logging.log4j.log4j12;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestCase;
import org.apache.commons.logging.PathableClassLoader; import org.apache.commons.logging.PathableClassLoader;
import org.apache.commons.logging.PathableTestSuite; 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. * 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. * Return the tests included in this test suite.