aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/junit/experimental/theories/Theory.java
blob: 0b9f2c4121fe260b0b904d12d843bfba300aeef5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
}