public final class AnnotationsValidator extends java.lang.Object implements TestClassValidator
AnnotationsValidator validates all annotations of a test class,
including its annotated fields and methods.| Modifier and Type | Class and Description |
|---|---|
private static class |
AnnotationsValidator.AnnotatableValidator<T extends Annotatable> |
private static class |
AnnotationsValidator.ClassValidator |
private static class |
AnnotationsValidator.FieldValidator |
private static class |
AnnotationsValidator.MethodValidator |
| Modifier and Type | Field and Description |
|---|---|
private static java.util.List<AnnotationsValidator.AnnotatableValidator<?>> |
VALIDATORS |
| Constructor and Description |
|---|
AnnotationsValidator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Exception> |
validateTestClass(TestClass testClass)
Validate all annotations of the specified test class that are be
annotated with
ValidateWith. |
private static final java.util.List<AnnotationsValidator.AnnotatableValidator<?>> VALIDATORS
public java.util.List<java.lang.Exception> validateTestClass(TestClass testClass)
ValidateWith.validateTestClass in interface TestClassValidatortestClass - the TestClass that is validated.