db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kmars...@apache.org
Subject svn commit: r515792 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Date Wed, 07 Mar 2007 22:00:30 GMT
Author: kmarsden
Date: Wed Mar  7 14:00:29 2007
New Revision: 515792

URL: http://svn.apache.org/viewvc?view=rev&rev=515792
Log:
DERBY-2403 Disable ParameterMappingTest for JSR169 for now.


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

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java?view=diff&rev=515792&r1=515791&r2=515792
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/ParameterMappingTest.java
Wed Mar  7 14:00:29 2007
@@ -39,6 +39,7 @@
 import java.sql.Types;
 
 import junit.framework.Test;
+import junit.framework.TestSuite;
 
 import org.apache.derbyTesting.junit.BigDecimalHandler;
 import org.apache.derbyTesting.junit.BaseJDBCTestCase;
@@ -3599,8 +3600,13 @@
     
     public static Test suite() {
         // Can't run for client for now, getting strange protocol error on tearDown
+        // DERBY-2381
         //return TestConfiguration.defaultSuite(ParameterMappingTest.class);
-        return TestConfiguration.embeddedSuite(ParameterMappingTest.class);
+        // Don't run for JSR169 until DERBY-2403 is resolved.
+        if (JDBC.vmSupportsJDBC2())
+            return TestConfiguration.embeddedSuite(ParameterMappingTest.class);
+        else
+            return  new TestSuite("ParameterMapping");
     }
     
 }



Mime
View raw message