01: /*
02: * Copyright 2006-2007 The Kuali Foundation.
03: *
04: * Licensed under the Educational Community License, Version 1.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.opensource.org/licenses/ecl1.php
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package org.kuali.test.suite;
17:
18: import junit.framework.TestSuite;
19:
20: /**
21: * A small set of tests covering a broad (but scattered) range of functionality in various modules of Kuali. These may not be the
22: * fastest tests, but their limited number allows them to be run more frequently than all the tests.
23: * <p>
24: * This is the suite of all test classes or methods listing this class in a {@link org.kuali.test.suite.AnnotationTestSuite}
25: * annotation. IDEs or Ant can run this as JUnit tests. To see the members of this suite, e.g., for a usage example, do a usage
26: * search on this .class (or run this suite in JUnit).
27: */
28: public class CrossSectionSuite extends AnnotationTestSuite.Superclass {
29: public static TestSuite suite() throws Exception {
30: return new CrossSectionSuite().getSuite();
31: }
32:
33: /**
34: * This nested class is the suite of all test methods not in the enclosing suite class. IDEs or Ant can run this nested class as
35: * JUnit tests.
36: */
37: public static class Not {
38: public static TestSuite suite() throws Exception {
39: return new CrossSectionSuite().getNegativeSuite();
40: }
41: }
42: }
|