public final class CategoryValidator extends AnnotationValidator
Category
annotation. If there is, a Throwable object will be added to the list
of errors.| Constructor | Description |
|---|---|
CategoryValidator() |
| Modifier and Type | Method | 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–2018 JUnit. All rights reserved.