public abstract class AnnotationValidator
extends java.lang.Object
ValidateWith
Instances of this class are shared by multiple test runners, so they should
be immutable and thread-safe.| Constructor and Description |
|---|
AnnotationValidator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Exception> |
validateAnnotatedClass(TestClass testClass)
Validates annotation on the given class.
|
java.util.List<java.lang.Exception> |
validateAnnotatedField(FrameworkField field)
Validates annotation on the given field.
|
java.util.List<java.lang.Exception> |
validateAnnotatedMethod(FrameworkMethod method)
Validates annotation on the given method.
|
public java.util.List<java.lang.Exception> validateAnnotatedClass(TestClass testClass)
testClass - that is being validatedpublic java.util.List<java.lang.Exception> validateAnnotatedField(FrameworkField field)
field - that is being validatedpublic java.util.List<java.lang.Exception> validateAnnotatedMethod(FrameworkMethod method)
method - that is being validated