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 and Description |
---|
AnnotationValidator() |
Modifier and Type | Method and 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 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–2020 JUnit. All rights reserved.