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 |
|---|---|
List<Exception> |
validateAnnotatedMethod(FrameworkMethod method)
Adds to
errors a throwable for each problem detected. |
validateAnnotatedClass, validateAnnotatedFieldpublic CategoryValidator()
public List<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 validatedCopyright © 2002–2020 JUnit. All rights reserved.