db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r476838 - /db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
Date Sun, 19 Nov 2006 15:16:17 GMT
Author: myrnavl
Date: Sun Nov 19 07:16:16 2006
New Revision: 476838

URL: http://svn.apache.org/viewvc?view=rev&rev=476838
Log:
DERBY-1897 - jdbcapi/_Suite fails with wctme5.7_foundation with NCDFE javax.sql.PooledConnection
- merged 465020 from trunk


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

Modified: db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java?view=diff&rev=476838&r1=476837&r2=476838
==============================================================================
--- db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
(original)
+++ db/derby/code/branches/10.2/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java
Sun Nov 19 07:16:16 2006
@@ -56,7 +56,14 @@
 		suite.addTest(UpdateXXXTest.suite());
 		suite.addTestSuite(URCoveringIndexTest.class);
         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