|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.junit.validator.AnnotationValidator
public abstract class AnnotationValidator
Validates annotations on classes and methods. To be validated,
an annotation should be annotated with ValidateWith
Instances of this class are shared by multiple test runners, so they should
be immutable and thread-safe.
Constructor Summary | |
---|---|
AnnotationValidator()
|
Method Summary | |
---|---|
List<Exception> |
validateAnnotatedClass(TestClass testClass)
Validates annotation on the given class. |
List<Exception> |
validateAnnotatedField(FrameworkField field)
Validates annotation on the given field. |
List<Exception> |
validateAnnotatedMethod(FrameworkMethod method)
Validates annotation on the given method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationValidator()
Method Detail |
---|
public List<Exception> validateAnnotatedClass(TestClass testClass)
testClass
- that is being validated
public List<Exception> validateAnnotatedField(FrameworkField field)
field
- that is being validated
public List<Exception> validateAnnotatedMethod(FrameworkMethod method)
method
- that is being validated
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |