01: /*
02:
03: Derby - Class org.apache.derbyTesting.functionTests.tests.jdbcapi._Suite
04:
05: Licensed to the Apache Software Foundation (ASF) under one
06: or more contributor license agreements. See the NOTICE file
07: distributed with this work for additional information
08: regarding copyright ownership. The ASF licenses this file
09: to you under the Apache License, Version 2.0 (the
10: "License"); you may not use this file except in compliance
11: with the License. You may obtain a copy of the License at
12:
13: http://www.apache.org/licenses/LICENSE-2.0
14:
15: Unless required by applicable law or agreed to in writing,
16: software distributed under the License is distributed on an
17: "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18: KIND, either express or implied. See the License for the
19: specific language governing permissions and limitations
20: under the License
21: */
22: package org.apache.derbyTesting.functionTests.tests.jdbc4;
23:
24: import java.sql.SQLException;
25:
26: import org.apache.derbyTesting.junit.BaseTestCase;
27:
28: import junit.framework.Test;
29: import junit.framework.TestSuite;
30:
31: /**
32: * Suite to run all JUnit tests in this package:
33: * org.apache.derbyTesting.functionTests.tests.jdbc4
34: *
35: */
36: public class _Suite extends BaseTestCase {
37:
38: /**
39: * Use suite method instead.
40: */
41: private _Suite(String name) {
42: super (name);
43: }
44:
45: public static Test suite() throws SQLException {
46:
47: TestSuite suite = new TestSuite();
48:
49: // These really need to run standalone.
50: //suite.addTestSuite(AutoloadBooting.class);
51: //suite.addTestSuite(AutoloadTest.class);
52:
53: suite.addTest(BlobTest.suite());
54: suite.addTest(CallableStatementTest.suite());
55: suite.addTest(ClobTest.suite());
56: suite.addTest(ClosedObjectTest.suite());
57: suite.addTest(ConnectionTest.suite());
58: suite.addTest(DataSourceTest.suite());
59: suite.addTestSuite(JDBC40TranslationTest.class);
60: suite.addTest(ParameterMetaDataWrapperTest.suite());
61: suite.addTest(PreparedStatementTest.suite());
62: suite.addTest(ResultSetMetaDataTest.suite());
63: suite.addTest(ResultSetTest.suite());
64: suite.addTest(RowIdNotImplementedTest.suite());
65: suite.addTest(StatementEventsTest.suite());
66: suite.addTest(StatementTest.suite());
67: suite.addTestSuite(UnsupportedVetter.class);
68: suite.addTest(XA40Test.suite());
69:
70: // This test is a little strange in its suite
71: // method in that it accesses
72: // the database to determine the set of tests to run.
73: // suite.addTest(VerifySignatures.suite());
74:
75: return suite;
76: }
77: }
|