db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r613201 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java
Date Fri, 18 Jan 2008 16:50:23 GMT
Author: myrnavl
Date: Fri Jan 18 08:50:20 2008
New Revision: 613201

URL: http://svn.apache.org/viewvc?rev=613201&view=rev
Log:
DERBY-3294 - returning empty test suite for JSR169 with CheckToursDBTest because
  test tries to call PreparedStatement.setBigDecimal which is not supported in
  that environment.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java?rev=613201&r1=613200&r2=613201&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java
Fri Jan 18 08:50:20 2008
@@ -59,6 +59,11 @@
     }
 
     public static Test suite() {
+        if ( JDBC.vmSupportsJSR169())
+            // Test executes PreparedStatement.setBigDecimal, which
+            // is not supported with JSR169
+            return new TestSuite("empty CheckToursDBTest - *.setBigDecimal not supported
with JSR169");
+        
         TestSuite suite = new TestSuite("CheckToursDBTest");
         suite.addTest(basesuite("CheckToursDBTest:embedded"));
         suite.addTest(TestConfiguration



Mime
View raw message