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, validateAnnotatedField
public List<Exception> validateAnnotatedMethod(FrameworkMethod method)
errors
a throwable for each problem detected. Looks for
BeforeClass
, AfterClass
, Before
and After
annotations.validateAnnotatedMethod
in class AnnotationValidator
method
- the method that is being validatedCopyright © 2002–2015 JUnit. All rights reserved.