org.junit.experimental.theories.Theory 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.experimental.theories;
import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* Marks test methods that should be read as theories by the {@link org.junit.experimental.theories.Theories Theories} runner.
*
* @see org.junit.experimental.theories.Theories
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(METHOD)
public @interface Theory {
boolean nullsAccepted() default true;
}