|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.internal.util.JUnitVersionHelper
public class JUnitVersionHelper
Work around for some changes to the public JUnit API between different JUnit releases.
Constructor Summary | |
---|---|
JUnitVersionHelper()
|
Method Summary | |
---|---|
static java.lang.String |
getTestCaseName(junit.framework.Test theTest)
JUnit 3.7 introduces TestCase.getName() and subsequent versions of JUnit remove the old name() method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JUnitVersionHelper()
Method Detail |
---|
public static java.lang.String getTestCaseName(junit.framework.Test theTest)
theTest
- the test case for which to retrieve the name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |