public final class CategoryValidator extends AnnotationValidator
Category
annotation. If there is, a Throwable object will be added to the list
of errors.| Constructor and Description |
|---|
CategoryValidator() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.Exception> |
validateAnnotatedMethod(FrameworkMethod method)
Adds to
errors a throwable for each problem detected. |
validateAnnotatedClass, validateAnnotatedFieldpublic java.util.List<java.lang.Exception> validateAnnotatedMethod(FrameworkMethod method)
errors a throwable for each problem detected. Looks for
BeforeClass, AfterClass, Before and After
annotations.validateAnnotatedMethod in class AnnotationValidatormethod - the method that is being validated