Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 11502 invoked from network); 17 Oct 2006 19:56:16 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Oct 2006 19:56:16 -0000 Received: (qmail 97134 invoked by uid 500); 17 Oct 2006 19:56:15 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 97110 invoked by uid 500); 17 Oct 2006 19:56:15 -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 97099 invoked by uid 99); 17 Oct 2006 19:56:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 12:56:15 -0700 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [140.211.166.113] (HELO eris.apache.org) (140.211.166.113) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Oct 2006 12:56:15 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id DCA5C1A981A; Tue, 17 Oct 2006 12:55:54 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r465020 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java Date: Tue, 17 Oct 2006 19:55:54 -0000 To: derby-commits@db.apache.org From: djd@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20061017195554.DCA5C1A981A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Author: djd Date: Tue Oct 17 12:55:53 2006 New Revision: 465020 URL: http://svn.apache.org/viewvc?view=rev&rev=465020 Log: DERBY-1897 Removed the load of DataSourcePropertiesTest from jdbcapi._Suite for J2ME by requiring that JDBC 3 be supported for that test. Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java?view=diff&rev=465020&r1=465019&r2=465020 ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/_Suite.java Tue Oct 17 12:55:53 2006 @@ -57,7 +57,14 @@ suite.addTest(UpdateXXXTest.suite()); suite.addTest(URCoveringIndexTest.suite()); suite.addTest(ResultSetCloseTest.suite()); - suite.addTest(DataSourcePropertiesTest.suite()); + + if (JDBC.vmSupportsJDBC3()) + { + // Class requires javax.sql.PooledConnection + // even to load, even though the suite method + // is correctly implemented. + suite.addTest(DataSourcePropertiesTest.suite()); + } // Tests that are compiled using 1.4 target need to // be added this way, otherwise creating the suite