01: /*
02:
03: Derby - Class org.apache.derbyTesting.functionTests.suites.Client
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 java.lang.reflect.Method;
24:
25: import junit.framework.Test;
26: import junit.framework.TestSuite;
27:
28: import org.apache.derbyTesting.junit.BaseTestCase;
29: import org.apache.derbyTesting.junit.JDBC;
30: import org.apache.derbyTesting.junit.TestConfiguration;
31:
32: /**
33: * All function tests running in Derby Client.
34: *
35: * Suites added:
36: * <UL>
37: * <LI> suites.AllPackages
38: * </UL>
39: */
40: public class Client extends BaseTestCase {
41: /**
42: * Use suite method instead.
43: */
44: private Client(String name) {
45: super (name);
46: }
47:
48: public static Test suite() throws Exception {
49:
50: TestSuite suite = new TestSuite("Client");
51:
52: // Run all the packages tests under the Derby client
53: suite.addTest(TestConfiguration
54: .derbyClientServerDecorator(AllPackages.class));
55:
56: return suite;
57: }
58: }
|