db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r536598 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests: jdbcapi/BlobStoredProcedureTest.java jdbcapi/ClobStoredProcedureTest.java upgradeTests/Changes10_3.java
Date Wed, 09 May 2007 17:41:35 GMT
Author: myrnavl
Date: Wed May  9 10:41:34 2007
New Revision: 536598

URL: http://svn.apache.org/viewvc?view=rev&rev=536598
Log:
DERBY-2632 - attempt to fix some failing upgrade tests with JSR169 by preventing them from
running.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobStoredProcedureTest.java
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClobStoredProcedureTest.java
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobStoredProcedureTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobStoredProcedureTest.java?view=diff&rev=536598&r1=536597&r2=536598
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobStoredProcedureTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/BlobStoredProcedureTest.java
Wed May  9 10:41:34 2007
@@ -63,7 +63,7 @@
      */
     public static Test suite() {
         if (JDBC.vmSupportsJSR169()) {
-            return new TestSuite("empty: client not supported on JSR169");
+            return new TestSuite("empty: client not supported on JSR169; procs use DriverMgr");
         }
         else {
             return TestConfiguration.defaultSuite(

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClobStoredProcedureTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClobStoredProcedureTest.java?view=diff&rev=536598&r1=536597&r2=536598
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClobStoredProcedureTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ClobStoredProcedureTest.java
Wed May  9 10:41:34 2007
@@ -56,7 +56,7 @@
      */
     public static Test suite() {
         if (JDBC.vmSupportsJSR169()) {
-            return new TestSuite("empty: client not supported on JSR169");
+            return new TestSuite("empty: client not supported on JSR169; procs use DriverMgr");
         }
         else {
             return TestConfiguration.defaultSuite(

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java?view=diff&rev=536598&r1=536597&r2=536598
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/upgradeTests/Changes10_3.java
Wed May  9 10:41:34 2007
@@ -63,10 +63,13 @@
         //implementation of the LOB related JDBC methods. This needs to be done
         //only during the hard(full) upgrade phase.
         if(phase == PH_HARD_UPGRADE) {
-            //Tests for the Blob related locator StoredProcedures
-            suite.addTestSuite(BlobStoredProcedureTest.class);
-            //Tests for the Clob related locator StoredProcedures
-            suite.addTestSuite(ClobStoredProcedureTest.class);
+            if (JDBC.vmSupportsJDBC3())
+            {
+                //Tests for the Blob related locator StoredProcedures
+                suite.addTestSuite(BlobStoredProcedureTest.class);
+                //Tests for the Clob related locator StoredProcedures
+                suite.addTestSuite(ClobStoredProcedureTest.class);
+            }
         }
         
         return new SupportFilesSetup((Test) suite);



Mime
View raw message