1 /*
2 * Copyright 2007-2008 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in
5 * compliance with the License. You may obtain a copy of the License at
6 *
7 * http://www.opensource.org/licenses/ecl2.php
8 *
9 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS
10 * IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
11 * language governing permissions and limitations under the License.
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 * Annotation for a single SQL file (and delimiter) containing a list of statements to be run before a method, set of tests,
24 * or testing suite.
25 *
26 * @author Kuali Rice Team (rice.collab@kuali.org)
27 */
28 @Documented
29 @Target({ElementType.TYPE, ElementType.METHOD})
30 @Retention(RetentionPolicy.RUNTIME)
31 @Inherited
32 public @interface UnitTestFile {
33 String filename();
34 String delimiter() default ";";
35 }