You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by my...@apache.org on 2008/01/18 17:50:23 UTC
svn commit: r613201 -
/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/demo/CheckToursDBTest.java
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