1
0

Make unit tests compatible with maven2 Surefire plugin.

git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@425249 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Simon Kitching
2006-07-25 01:30:16 +00:00
parent cd2518594b
commit 557f97f1a5
20 changed files with 28 additions and 26 deletions

View File

@@ -57,7 +57,7 @@ public class SecurityAllowedTestCase extends TestCase
*/
public static Test suite() throws Exception {
PathableClassLoader parent = new PathableClassLoader(null);
parent.useSystemLoader("junit.");
parent.useExplicitLoader("junit.", Test.class.getClassLoader());
parent.addLogicalLib("commons-logging");
parent.addLogicalLib("testclasses");

View File

@@ -60,7 +60,7 @@ public class SecurityForbiddenTestCase extends TestCase
*/
public static Test suite() throws Exception {
PathableClassLoader parent = new PathableClassLoader(null);
parent.useSystemLoader("junit.");
parent.useExplicitLoader("junit.", Test.class.getClassLoader());
parent.addLogicalLib("commons-logging");
parent.addLogicalLib("testclasses");