All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.junit.experimental.theories.Theory Maven / Gradle / Ivy

Go to download

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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy