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:
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user