Package org.junit.runner
Class OrderWithValidator
- java.lang.Object
-
- org.junit.validator.AnnotationValidator
-
- org.junit.runner.OrderWithValidator
-
public final class OrderWithValidator extends AnnotationValidator
Validates that there are no errors in the use of theOrderWithannotation. If there is, aThrowableobject will be added to the list of errors.- Since:
- 4.13
-
-
Constructor Summary
Constructors Constructor Description OrderWithValidator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Exception>validateAnnotatedClass(TestClass testClass)Adds toerrorsa throwable for each problem detected.-
Methods inherited from class org.junit.validator.AnnotationValidator
validateAnnotatedField, validateAnnotatedMethod
-
-
-
-
Method Detail
-
validateAnnotatedClass
public java.util.List<java.lang.Exception> validateAnnotatedClass(TestClass testClass)
Adds toerrorsa throwable for each problem detected. Looks forFixMethodOrderannotations.- Overrides:
validateAnnotatedClassin classAnnotationValidator- Parameters:
testClass- that is being validated- Returns:
- A list of exceptions detected
- Since:
- 4.13
-
-