Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 5361 invoked from network); 18 Aug 2006 03:39:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Aug 2006 03:39:33 -0000 Received: (qmail 50644 invoked by uid 500); 18 Aug 2006 03:39:33 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 50611 invoked by uid 500); 18 Aug 2006 03:39:33 -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 50600 invoked by uid 99); 18 Aug 2006 03:39:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Aug 2006 20:39:32 -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; Thu, 17 Aug 2006 20:39:32 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 3EEE21A981A; Thu, 17 Aug 2006 20:39:12 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r432477 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java Date: Fri, 18 Aug 2006 03:39:11 -0000 To: derby-commits@db.apache.org From: djd@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20060818033912.3EEE21A981A@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: Thu Aug 17 20:39:11 2006 New Revision: 432477 URL: http://svn.apache.org/viewvc?rev=432477&view=rev Log: Removing throwing Exception from setting up the Suite for ClosedObjectTest. Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java?rev=432477&r1=432476&r2=432477&view=diff ============================================================================== --- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java (original) +++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbc4/ClosedObjectTest.java Thu Aug 17 20:39:11 2006 @@ -118,7 +118,7 @@ * @return a Test value * @exception Exception if an error occurs while building the test suite */ - public static Test suite() throws Exception { + public static Test suite() { TestSuite topSuite = new TestSuite(); TestSuite dsSuite = new TestSuite(); @@ -149,11 +149,9 @@ * * @param suite the test suite to fill * @param dsDecorator the decorator for the test suite - * @exception Exception if an error occurs while filling the suite */ private static void fillDataSourceSuite(TestSuite suite, DataSourceDecorator dsDecorator) - throws Exception { TestSuite rsSuite = new TestSuite(); ResultSetObjectDecorator rsDecorator = @@ -193,12 +191,10 @@ * @param decorator a decorator for the test (used for obtaining a * closed object to test the method on) * @param iface the interface which contains the methods to test - * @exception Exception if an error occurs while filling the suite */ private static void fillObjectSuite(TestSuite suite, ObjectDecorator decorator, Class iface) - throws Exception { for (Method m : iface.getMethods()) { ClosedObjectTest cot = new ClosedObjectTest(m, decorator);