Bit of an odd unit test, causes trouble under maven-2. So fixing it to make it more like the other tests
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/lang/trunk@475111 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
989f0caf65
commit
11a4975580
|
@ -18,6 +18,7 @@
|
||||||
package org.apache.commons.lang.mutable;
|
package org.apache.commons.lang.mutable;
|
||||||
|
|
||||||
import junit.framework.Test;
|
import junit.framework.Test;
|
||||||
|
import junit.framework.TestCase;
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
import junit.textui.TestRunner;
|
import junit.textui.TestRunner;
|
||||||
|
|
||||||
|
@ -26,12 +27,16 @@
|
||||||
*
|
*
|
||||||
* @version $Id$
|
* @version $Id$
|
||||||
*/
|
*/
|
||||||
public class MutableTestSuite {
|
public class MutableTestSuite extends TestCase {
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
TestRunner.run(suite());
|
TestRunner.run(suite());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MutableTestSuite(String name) {
|
||||||
|
super(name);
|
||||||
|
}
|
||||||
|
|
||||||
public static Test suite() {
|
public static Test suite() {
|
||||||
final TestSuite suite = new TestSuite();
|
final TestSuite suite = new TestSuite();
|
||||||
|
|
||||||
|
@ -47,7 +52,4 @@ public static Test suite() {
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
|
|
||||||
private MutableTestSuite() {
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue