CategoryValidator
public abstract class AnnotationValidator extends Object
ValidateWith
Instances of this class are shared by multiple test runners, so they should
be immutable and thread-safe.Constructor | Description |
---|---|
AnnotationValidator() |
Modifier and Type | Method | Description |
---|---|---|
List<Exception> |
validateAnnotatedClass(TestClass testClass) |
Validates annotation on the given class.
|
List<Exception> |
validateAnnotatedField(FrameworkField field) |
Validates annotation on the given field.
|
List<Exception> |
validateAnnotatedMethod(FrameworkMethod method) |
Validates annotation on the given method.
|
public AnnotationValidator()
public List<Exception> validateAnnotatedClass(TestClass testClass)
testClass
- that is being validatedpublic List<Exception> validateAnnotatedField(FrameworkField field)
field
- that is being validatedpublic List<Exception> validateAnnotatedMethod(FrameworkMethod method)
method
- that is being validatedCopyright © 2002–2018 JUnit. All rights reserved.