Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 1108 invoked from network); 16 Oct 2006 19:37:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Oct 2006 19:37:33 -0000 Received: (qmail 3711 invoked by uid 500); 16 Oct 2006 19:37:33 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 3494 invoked by uid 500); 16 Oct 2006 19:37:32 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 3485 invoked by uid 99); 16 Oct 2006 19:37:32 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 12:37:32 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Oct 2006 12:37:30 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0FBE97142D2 for ; Mon, 16 Oct 2006 12:36:36 -0700 (PDT) Message-ID: <17291179.1161027396062.JavaMail.jira@brutus> Date: Mon, 16 Oct 2006 12:36:36 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1893) Convert largedata/lobLengthTests.java to junit In-Reply-To: <1950513.1159366431202.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1893?page=3Dcomments#actio= n_12442681 ]=20 =20 Knut Anders Hatlen commented on DERBY-1893: ------------------------------------------- I have two comments to the patch (sorry I didn't notice before it was commi= tted): - the suite method should have used suite.addTestSuite(LobLengthTest.class= ) instead of suite.addTest(new LobLengthTest("testXXX")). The way it is now= , a new test case won't run automatically, and one might be led to belive t= hat it succeeded when in fact it did not run. - the tearDown() method should set conn to null and call super.tearDown().= Tests not doing this have caused OutOfMemoryErrors before (DERBY-1845 and = DERBY-1910). (It would be even better if the test class didn't have its own= instance variable for the connection since the BaseJDBCTestClass already h= as many helper methods which remove the need for an explicit pointer to the= connection.) > Convert largedata/lobLengthTests.java to junit > ---------------------------------------------- > > Key: DERBY-1893 > URL: http://issues.apache.org/jira/browse/DERBY-1893 > Project: Derby > Issue Type: Sub-task > Components: Test > Reporter: =C3=98ystein Gr=C3=B8vlen > Assigned To: =C3=98ystein Gr=C3=B8vlen > Priority: Trivial > Attachments: derby1893.diff, derby1893.stat, derby1893_v2.diff, d= erby1893_v2.stat > > --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: htt= p://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira