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 oy...@apache.org on 2008/04/02 12:40:33 UTC

svn commit: r643837 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/suites/All.java

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;
     }