db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oyste...@apache.org
Subject svn commit: r643837 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/All.java
Date Wed, 02 Apr 2008 10:40:33 GMT
Author: oysteing
Date: Wed Apr  2 03:40:26 2008
New Revision: 643837

URL: http://svn.apache.org/viewvc?rev=643837&view=rev
Log:
DERBY-3584: Bypass replicationSuite tests when the test platform does not support JDBC 3.
Contributed by Ole Solberg

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/All.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/All.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/All.java?rev=643837&r1=643836&r2=643837&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/All.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/All.java
Wed Apr  2 03:40:26 2008
@@ -26,6 +26,7 @@
 import org.apache.derbyTesting.junit.BaseTestCase;
 import org.apache.derbyTesting.junit.EnvTest;
 import org.apache.derbyTesting.functionTests.tests.replicationTests.ReplicationSuite;
+import org.apache.derbyTesting.junit.JDBC;
 
 public class All extends BaseTestCase {
       
@@ -50,8 +51,9 @@
         // Encrypted tests
         suite.addTest(EncryptionSuite.suite());
         
-        // Replication tests
-        suite.addTest(ReplicationSuite.suite());
+        // Replication tests. Implementation require DataSource. 
+        // Not supp. by JSR169
+        if (JDBC.vmSupportsJDBC3()) suite.addTest(ReplicationSuite.suite());
         
         return suite;
     }



Mime
View raw message