TP-metaprogrammation-test/TP4/UnTest.java

10 lines
235 B
Java
Raw Permalink Normal View History

2021-12-03 14:47:29 +00:00
import java.lang.annotation.*;
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface UnTest {
boolean enabled() default true;
Class<? extends Throwable> expected() default FausseException.class;
}