This is an automated email from the git hooks/post-receive script. ebourg-guest pushed a commit to tag REL9_3_1103 in repository libpostgresql-jdbc-java.
commit feae7dec4a06787d6c9cc603d1787efb49f7f57b Author: Alexis Meneses <[email protected]> Date: Thu Dec 4 21:34:16 2014 +0100 Add a TestSuite for JDBC 4.1 (some changes picked from 420f5eeba07a2e8de7b0b5bb145210be688a04f1) --- build.xml | 9 +++++++ .../test/jdbc4/jdbc41/Jdbc41TestSuite.java | 31 ++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/build.xml b/build.xml index 152517d..92eed48 100644 --- a/build.xml +++ b/build.xml @@ -174,6 +174,13 @@ </and> </condition> + <condition property="jdbc41tests"> + <and> + <isset property="jdbc41" /> + <isset property="junit" /> + </and> + </condition> + <condition property="jdbc.version" value="jdbc3"> <isset property="jdbc3any" /> </condition> @@ -440,6 +447,7 @@ <include name="${package}/test/**" /> <exclude name="${package}/test/jdbc4/**" unless="jdbc4tests" /> + <exclude name="${package}/test/jdbc4/jdbc41/**" unless="jdbc41tests" /> <exclude name="${package}/test/ssl/**" unless="jdbc4tests" /> <classpath> @@ -484,6 +492,7 @@ <test name="org.postgresql.test.xa.XATestSuite" outfile="${testResultsDir}/xa"/> <test name="org.postgresql.test.extensions.ExtensionsSuite" outfile="${testResultsDir}/extensions"/> <test name="org.postgresql.test.jdbc4.Jdbc4TestSuite" if="jdbc4tests" outfile="${testResultsDir}/jdbc4"/> + <test name="org.postgresql.test.jdbc4.jdbc41.Jdbc41TestSuite" if="jdbc41tests" outfile="${testResultsDir}/jdbc41"/> <test name="org.postgresql.test.ssl.SslTestSuite" if="jdbc4tests" outfile="${testResultsDir}/ssl"/> </junit> </target> diff --git a/org/postgresql/test/jdbc4/jdbc41/Jdbc41TestSuite.java b/org/postgresql/test/jdbc4/jdbc41/Jdbc41TestSuite.java new file mode 100644 index 0000000..02a809f --- /dev/null +++ b/org/postgresql/test/jdbc4/jdbc41/Jdbc41TestSuite.java @@ -0,0 +1,31 @@ +/*------------------------------------------------------------------------- +* +* Copyright (c) 2007-2014, PostgreSQL Global Development Group +* +* +*------------------------------------------------------------------------- +*/ +package org.postgresql.test.jdbc4.jdbc41; + +import junit.framework.TestSuite; + +/* + * Executes all known tests for JDBC4.1 + */ +public class Jdbc41TestSuite extends TestSuite +{ + + /* + * The main entry point for JUnit + */ + public static TestSuite suite() throws Exception + { + Class.forName("org.postgresql.Driver"); + TestSuite suite = new TestSuite(); + + suite.addTestSuite(SchemaTest.class); + + return suite; + } + +} -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/libpostgresql-jdbc-java.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

