|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cactus.internal.util.TestCaseImplementChecker
public final class TestCaseImplementChecker
Utilities to check TestCase implementation.
Method Summary | |
---|---|
static void |
checkAsBeginMethod(java.lang.reflect.Method theMethod)
Check if the method is suitable for a begin method. |
static void |
checkAsEndMethod(java.lang.reflect.Method theMethod)
Check if the method is suitable for a end method. |
static void |
checkTestName(junit.framework.Test theTest)
Check if the Test to run is properly implemented or not. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void checkTestName(junit.framework.Test theTest) throws TestCaseImplementError
theTest
- the test to check
TestCaseImplementError
- if has no namepublic static void checkAsBeginMethod(java.lang.reflect.Method theMethod) throws TestCaseImplementError
AssertionFailedError
if at least one of following
conditions is failed:
Request
theMethod
- the method to check
TestCaseImplementError
- if the method is not suitable
for Cactus begin methodpublic static void checkAsEndMethod(java.lang.reflect.Method theMethod) throws TestCaseImplementError
AssertionFailedError
if at least one of following
conditions is failed:
theMethod
- the method to check
TestCaseImplementError
- if the method is not suitable
for Cactus end method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |