View Javadoc

1   /*
2    * Copyright 2007 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.*;
16  
17  /**
18   * Annotation for a single SQL Statement to be run before a method, set of tests, or testing suite.
19   * 
20   * @author Kuali Rice Team (rice.collab@kuali.org)
21   */
22  @Documented
23  @Target({ ElementType.TYPE, ElementType.METHOD })
24  @Retention(RetentionPolicy.RUNTIME)
25  @Inherited
26  public @interface UnitTestSql {
27      String value();    
28  }