You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/07/20 04:04:03 UTC
svn commit: r1363622 - in
/commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12:
ApiClasspathStandardTestCase.java AppClasspathStandardTestCase.java
ChildClasspathStandardTestCase.java ParentClasspathStandardTestCase.java
Author: sebb
Date: Fri Jul 20 02:04:03 2012
New Revision: 1363622
URL: http://svn.apache.org/viewvc?rev=1363622&view=rev
Log:
Allow test cases to run OK under Maven/Surefire
[does not seem to be needed for Ant testing]
Modified:
commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java
commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java
commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java
commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java
Modified: commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java?rev=1363622&r1=1363621&r2=1363622&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java (original)
+++ commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ApiClasspathStandardTestCase.java Fri Jul 20 02:04:03 2012
@@ -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.Pathab
* 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.
Modified: commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java?rev=1363622&r1=1363621&r2=1363622&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java (original)
+++ commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/AppClasspathStandardTestCase.java Fri Jul 20 02:04:03 2012
@@ -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.Pathab
* 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.
Modified: commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java?rev=1363622&r1=1363621&r2=1363622&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java (original)
+++ commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ChildClasspathStandardTestCase.java Fri Jul 20 02:04:03 2012
@@ -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.Pathab
* 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.
Modified: commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java?rev=1363622&r1=1363621&r2=1363622&view=diff
==============================================================================
--- commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java (original)
+++ commons/proper/logging/trunk/src/test/org/apache/commons/logging/log4j/log4j12/ParentClasspathStandardTestCase.java Fri Jul 20 02:04:03 2012
@@ -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.Pathab
* 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.