Rename testcase files, as batch junit testing only detects classes ending in "TestCase".
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@424082 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -40,7 +40,7 @@ import org.apache.commons.logging.PathableTestSuite;
|
|||||||
* PathableClassLoader approach to ensure each test is run in its own
|
* PathableClassLoader approach to ensure each test is run in its own
|
||||||
* classloader, and use a separate testcase class for each test.
|
* classloader, and use a separate testcase class for each test.
|
||||||
*/
|
*/
|
||||||
public class SecurityTestCaseAllowed extends TestCase
|
public class SecurityAllowedTestCase extends TestCase
|
||||||
{
|
{
|
||||||
private SecurityManager oldSecMgr;
|
private SecurityManager oldSecMgr;
|
||||||
|
|
||||||
@@ -59,7 +59,7 @@ public class SecurityTestCaseAllowed extends TestCase
|
|||||||
parent.addLogicalLib("testclasses");
|
parent.addLogicalLib("testclasses");
|
||||||
|
|
||||||
Class testClass = parent.loadClass(
|
Class testClass = parent.loadClass(
|
||||||
"org.apache.commons.logging.security.SecurityTestCaseAllowed");
|
"org.apache.commons.logging.security.SecurityAllowedTestCase");
|
||||||
return new PathableTestSuite(testClass, parent);
|
return new PathableTestSuite(testClass, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -43,7 +43,7 @@ import org.apache.commons.logging.PathableTestSuite;
|
|||||||
* PathableClassLoader approach to ensure each test is run in its own
|
* PathableClassLoader approach to ensure each test is run in its own
|
||||||
* classloader, and use a separate testcase class for each test.
|
* classloader, and use a separate testcase class for each test.
|
||||||
*/
|
*/
|
||||||
public class SecurityTestCaseForbidden extends TestCase
|
public class SecurityForbiddenTestCase extends TestCase
|
||||||
{
|
{
|
||||||
private SecurityManager oldSecMgr;
|
private SecurityManager oldSecMgr;
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ public class SecurityTestCaseForbidden extends TestCase
|
|||||||
parent.addLogicalLib("testclasses");
|
parent.addLogicalLib("testclasses");
|
||||||
|
|
||||||
Class testClass = parent.loadClass(
|
Class testClass = parent.loadClass(
|
||||||
"org.apache.commons.logging.security.SecurityTestCaseForbidden");
|
"org.apache.commons.logging.security.SecurityForbiddenTestCase");
|
||||||
return new PathableTestSuite(testClass, parent);
|
return new PathableTestSuite(testClass, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user