db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abr...@apache.org
Subject svn commit: r519190 - in /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi: BlobStoredProcedureTest.java ClobStoredProcedureTest.java
Date Sat, 17 Mar 2007 00:01:01 GMT
Author: abrown
Date: Fri Mar 16 17:01:00 2007
New Revision: 519190

URL: http://svn.apache.org/viewvc?view=rev&rev=519190
Log:
DERBY-2427: Disable ClobStoredProcedureTest and BlobStoredProcedureTest for
weme6.1 since they are intended for client/server testing and weme6.1 is not
currently supported for that framework.

Contributed by: V. Narayanan (v.narayanan@sun.com) 

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

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=519190&r1=519189&r2=519190
==============================================================================
--- 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
Fri Mar 16 17:01:00 2007
@@ -31,6 +31,7 @@
 import junit.framework.TestSuite;
 import junit.framework.Assert;
 import org.apache.derbyTesting.junit.BaseJDBCTestCase;
+import org.apache.derbyTesting.junit.JDBC;
 import org.apache.derbyTesting.junit.TestConfiguration;
 
 /**
@@ -61,7 +62,13 @@
      * @return the test suite created.
      */
     public static Test suite() {
-        return TestConfiguration.defaultSuite(BlobStoredProcedureTest.class);
+        if (JDBC.vmSupportsJSR169()) {
+            return new TestSuite("empty: client not supported on JSR169");
+        }
+        else {
+            return TestConfiguration.defaultSuite(
+                    BlobStoredProcedureTest.class);
+        }
     }
 
     /**

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=519190&r1=519189&r2=519190
==============================================================================
--- 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
Fri Mar 16 17:01:00 2007
@@ -31,6 +31,7 @@
 import junit.framework.TestSuite;
 import junit.framework.Assert;
 import org.apache.derbyTesting.junit.BaseJDBCTestCase;
+import org.apache.derbyTesting.junit.JDBC;
 import org.apache.derbyTesting.junit.TestConfiguration;
 
 /**
@@ -54,7 +55,13 @@
      * @return the test suite created.
      */
     public static Test suite() {
-        return TestConfiguration.defaultSuite(ClobStoredProcedureTest.class);
+        if (JDBC.vmSupportsJSR169()) {
+            return new TestSuite("empty: client not supported on JSR169");
+        }
+        else {
+            return TestConfiguration.defaultSuite(
+                    ClobStoredProcedureTest.class);
+        }
     }
 
     /**



Mime
View raw message