10 lines
235 B
Java
10 lines
235 B
Java
|
import java.lang.annotation.*;
|
||
|
|
||
|
@Target(ElementType.METHOD)
|
||
|
@Retention(RetentionPolicy.RUNTIME)
|
||
|
public @interface UnTest {
|
||
|
boolean enabled() default true;
|
||
|
|
||
|
Class<? extends Throwable> expected() default FausseException.class;
|
||
|
}
|