db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r465020 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
Date Tue, 17 Oct 2006 19:55:54 GMT
Author: djd
Date: Tue Oct 17 12:55:53 2006
New Revision: 465020

URL: http://svn.apache.org/viewvc?view=rev&rev=465020
Log:
DERBY-1897 Removed the load of DataSourcePropertiesTest from jdbcapi._Suite for J2ME
by requiring that JDBC 3 be supported for that test.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java?view=diff&rev=465020&r1=465019&r2=465020
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
Tue Oct 17 12:55:53 2006
@@ -57,7 +57,14 @@
 		suite.addTest(UpdateXXXTest.suite());
 		suite.addTest(URCoveringIndexTest.suite());
         suite.addTest(ResultSetCloseTest.suite());
-        suite.addTest(DataSourcePropertiesTest.suite());
+        
+        if (JDBC.vmSupportsJDBC3())
+        {
+            // Class requires javax.sql.PooledConnection
+            // even to load, even though the suite method
+            // is correctly implemented.
+            suite.addTest(DataSourcePropertiesTest.suite());
+        }
 		
 		// Tests that are compiled using 1.4 target need to
 		// be added this way, otherwise creating the suite



Mime
View raw message