blob: d6dc6da6f878e921478c14c41a68e7ffcf9fa483 [file] [log] [blame]
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to you under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
<title>Running the JDBC4 Tests</title>
<body>
<h1>Running the JDBC4 Tests</h1>
<p>
Currently, there is one suite of tests used to verify JDBC4 features:
</p>
<ul>
<li><b>jdbc40</b> - These tests can run with either the embedded or
network client, that is, under either the <i>embedded</i> or
<i>DerbyNetClient</i> frameworks. In general, JDBC4 tests do not run
the JCC client (<i>DerbyNet</i> framework) because that old client
does not support the new JDBC4 feature set.</li>
</ul>
<p>
Verifying the JDBC4 feature set is a little tiresome right now. You must
run the following commands in a shell window whose JAVA_HOME points at
your jdk1.6 installation. After each suite run, check the test results.
</p>
<blockquote><pre>
java org.apache.derbyTesting.functionTests.harness.RunSuite jdbc40
# make sure the above test run succeeded
java -Dframework=DerbyNetClient org.apache.derbyTesting.functionTests.harness.RunSuite jdbc40
# make sure the above test run succeeded
</pre></blockquote>
</body>
</html>