Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 74639 invoked from network); 2 Apr 2008 13:25:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Apr 2008 13:25:31 -0000 Received: (qmail 55044 invoked by uid 500); 2 Apr 2008 13:25:31 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 55018 invoked by uid 500); 2 Apr 2008 13:25:31 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 55007 invoked by uid 99); 2 Apr 2008 13:25:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 06:25:30 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 13:24:48 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 0DF231A9832; Wed, 2 Apr 2008 06:25:08 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r643902 - /db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/suites/All.java Date: Wed, 02 Apr 2008 13:25:06 -0000 To: derby-commits@db.apache.org From: oysteing@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20080402132508.0DF231A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: oysteing Date: Wed Apr 2 06:25:04 2008 New Revision: 643902 URL: http://svn.apache.org/viewvc?rev=643902&view=rev Log: DERBY-3584: Bypass replicationSuite tests when the test platform does not support JDBC 3. Contributed by Ole Solberg Merge to 10.4 branch with command: svn merge -r643836:643837 https://svn.apache.org/repos/asf/db/derby/code/trunk/ Modified: db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/suites/All.java Modified: db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/suites/All.java URL: http://svn.apache.org/viewvc/db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/suites/All.java?rev=643902&r1=643901&r2=643902&view=diff ============================================================================== --- db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/suites/All.java (original) +++ db/derby/code/branches/10.4/java/testing/org/apache/derbyTesting/functionTests/suites/All.java Wed Apr 2 06:25:04 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; }