01: /*
02:
03: Derby - Class org.apache.derbyTesting.functionTests.suites.Embedded
04:
05: Licensed to the Apache Software Foundation (ASF) under one or more
06: contributor license agreements. See the NOTICE file distributed with
07: this work for additional information regarding copyright ownership.
08: The ASF licenses this file to you under the Apache License, Version 2.0
09: (the "License"); you may not use this file except in compliance with
10: the License. You may obtain a copy of the License at
11:
12: http://www.apache.org/licenses/LICENSE-2.0
13:
14: Unless required by applicable law or agreed to in writing, software
15: distributed under the License is distributed on an "AS IS" BASIS,
16: WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: See the License for the specific language governing permissions and
18: limitations under the License.
19:
20: */
21: package org.apache.derbyTesting.functionTests.suites;
22:
23: import junit.framework.Test;
24: import junit.framework.TestSuite;
25:
26: import org.apache.derbyTesting.junit.BaseTestCase;
27:
28: /**
29: * All function tests running in Embedded.
30: *
31: * Suites added:
32: * <UL>
33: * <LI> suites.AllPackages
34: * </UL>
35: */
36: public class Embedded extends BaseTestCase {
37: /**
38: * Use suite method instead.
39: */
40: private Embedded(String name) {
41: super (name);
42: }
43:
44: public static Test suite() throws Exception {
45:
46: TestSuite suite = new TestSuite("Embedded");
47:
48: // Run all the tests under the default embedded configuration
49: suite.addTest(AllPackages.suite());
50:
51: return suite;
52: }
53: }
|