1
2
3
4
5
6
7
8
9
10
11
12
13 package org.kuali.rice.test.data;
14
15 import java.lang.annotation.Documented;
16 import java.lang.annotation.ElementType;
17 import java.lang.annotation.Inherited;
18 import java.lang.annotation.Retention;
19 import java.lang.annotation.RetentionPolicy;
20 import java.lang.annotation.Target;
21
22
23
24
25
26
27 @Documented
28 @Target({ElementType.TYPE, ElementType.METHOD})
29 @Retention(RetentionPolicy.RUNTIME)
30 @Inherited
31 public @interface UnitTestData {
32
33 public enum Type { SQL_STATEMENTS, SQL_FILES }
34
35
36 String value() default "";
37 String filename() default "";
38 String delimiter() default ";";
39
40 UnitTestSql[] sqlStatements() default {};
41 UnitTestFile[] sqlFiles() default {};
42 Type[] order() default { Type.SQL_STATEMENTS, Type.SQL_FILES };
43
44
45 }