|
JUnit-addons version 1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--junitx.tool.TestClassValidator.DefaultClassValidator
Provides a default implementation for the ClassValidator
interface. This class is meant to become the base class for other, more
specific, validators.
TestClassValidator| Constructor Summary | |
TestClassValidator.DefaultClassValidator()
|
|
| Method Summary | |
void |
setListener(TestClassValidator.ClassValidatorListener listener)
Sets the listener that will report to the user. |
void |
validate(java.lang.Class cls)
Validates a given class and report infos, warnings and errors via the ClassValidatorListener object (if any was set). |
protected void |
validateOtherMethod(java.lang.reflect.Method method)
Validates all other methods whose name did not match either 'suite', 'setUp' or 'tearDown'. |
protected void |
validateSetUpMethod(java.lang.reflect.Method method)
Verifies that the 'setUp' method is recognized by the JUnit framework. |
protected void |
validateSuiteMethod(java.lang.reflect.Method method)
Verifies that the 'suite' method is recognized by the JUnit framework. |
protected void |
validateTearDownMethod(java.lang.reflect.Method method)
Verifies that the 'tearDown' method is recognized by the JUnit framework. |
protected void |
validateTestMethod(java.lang.reflect.Method method)
Verifies that the 'test' method is recognized by the JUnit framework. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TestClassValidator.DefaultClassValidator()
| Method Detail |
public void setListener(TestClassValidator.ClassValidatorListener listener)
TestClassValidator.ClassValidator
setListener in interface TestClassValidator.ClassValidatorpublic void validate(java.lang.Class cls)
TestClassValidator.ClassValidator
validate in interface TestClassValidator.ClassValidatorprotected void validateSuiteMethod(java.lang.reflect.Method method)
The method must:
protected void validateSetUpMethod(java.lang.reflect.Method method)
The method must:
protected void validateTearDownMethod(java.lang.reflect.Method method)
The method must:
protected void validateTestMethod(java.lang.reflect.Method method)
The method must:
protected void validateOtherMethod(java.lang.reflect.Method method)
|
JUnit-addons version 1.4 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||