01: package org.depunit.annotations;
02:
03: import static java.lang.annotation.ElementType.CONSTRUCTOR;
04: import static java.lang.annotation.ElementType.METHOD;
05: import static java.lang.annotation.ElementType.TYPE;
06:
07: import java.lang.annotation.Retention;
08: import java.lang.annotation.Target;
09:
10: /**
11: * Mark a class or a method as part of the test.
12: *
13: * @author Cedric Beust, Apr 26, 2004
14: */
15: @Retention(java.lang.annotation.RetentionPolicy.RUNTIME)
16: @Target({METHOD,TYPE,CONSTRUCTOR})
17: public @interface BeforeClass {
18: }
|