org.junit.validator.ValidateWith Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of reactor-junit4 Show documentation
Show all versions of reactor-junit4 Show documentation
JUnit is a unit testing framework for Java, created by Erich Gamma and Kent Beck.
The newest version!
package org.junit.validator;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
/**
* Allows for an {@link AnnotationValidator} to be attached to an annotation.
*
* When attached to an annotation, the validator will be instantiated and invoked
* by the {@link org.junit.runners.ParentRunner}.
*
* @since 4.12
*/
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ValidateWith {
Class extends AnnotationValidator> value();
}