TP-metaprogrammation-test/UnTest.java
2021-12-03 15:47:29 +01:00

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