001    /*
002     * Copyright 2007-2008 The Kuali Foundation
003     * 
004     * Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in
005     * compliance with the License. You may obtain a copy of the License at
006     * 
007     * http://www.opensource.org/licenses/ecl2.php
008     * 
009     * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS
010     * IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
011     * language governing permissions and limitations under the License.
012     */
013    package org.kuali.rice.test.data;
014    
015    import java.lang.annotation.Documented;
016    import java.lang.annotation.ElementType;
017    import java.lang.annotation.Inherited;
018    import java.lang.annotation.Retention;
019    import java.lang.annotation.RetentionPolicy;
020    import java.lang.annotation.Target;
021    
022    /**
023     * Annotation for a single SQL file (and delimiter) containing a list of statements to be run before a method, set of tests,
024     * or testing suite.
025     * 
026     * @author Kuali Rice Team (rice.collab@kuali.org)
027     */
028    @Documented
029    @Target({ElementType.TYPE, ElementType.METHOD})
030    @Retention(RetentionPolicy.RUNTIME)
031    @Inherited
032    public @interface UnitTestFile {
033        String filename();
034        String delimiter() default ";";
035    }