KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derbyTesting > functionTests > suites > Client


1 /*
2
3    Derby - Class org.apache.derbyTesting.functionTests.suites.Client
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to you under the Apache License, Version 2.0
9    (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 JavaDoc;
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 JavaDoc name) {
45         super(name);
46     }
47
48     public static Test suite() throws Exception JavaDoc {
49
50         TestSuite suite = new TestSuite("Client");
51         
52         // Run all the packages tests under the Derby client
53
suite.addTest(TestConfiguration.derbyClientServerDecorator(AllPackages.class));
54        
55         return suite;
56     }
57 }
58
Popular Tags