org.junit.validator
Class AnnotationsValidator
java.lang.Object
   org.junit.validator.AnnotationsValidator
org.junit.validator.AnnotationsValidator
- All Implemented Interfaces: 
- TestClassValidator
- public final class AnnotationsValidator 
- extends Object- implements TestClassValidator
An AnnotationsValidator validates all annotations of a test class,
 including its annotated fields and methods.
- Since:
- 4.12
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
AnnotationsValidator
public AnnotationsValidator()
validateTestClass
public List<Exception> validateTestClass(TestClass testClass)
- Validate all annotations of the specified test class that are be
 annotated with ValidateWith.
 
- 
- Specified by:
- validateTestClassin interface- TestClassValidator
 
- 
- Parameters:
- testClass- the- TestClassthat is validated.
- Returns:
- the errors found by the validator.
 
Copyright © 2002–2014 JUnit. All rights reserved.