Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 39261 invoked from network); 1 Mar 2007 00:50:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Mar 2007 00:50:50 -0000 Received: (qmail 58686 invoked by uid 500); 1 Mar 2007 00:50:59 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 58625 invoked by uid 500); 1 Mar 2007 00:50:59 -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 58614 invoked by uid 99); 1 Mar 2007 00:50:59 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 16:50:59 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Feb 2007 16:50:50 -0800 Received: from eos.apache.osuosl.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 15D62599DA for ; Thu, 1 Mar 2007 00:50:30 +0000 (GMT) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Apache Wiki To: derby-commits@db.apache.org Date: Thu, 01 Mar 2007 00:50:29 -0000 Message-ID: <20070301005029.27878.76673@eos.apache.osuosl.org> Subject: [Db-derby Wiki] Trivial Update of "ConvertOldTestToJunitTips" by jeanTanderson X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Db-derby Wiki" for change notification. The following page has been changed by jeanTanderson: http://wiki.apache.org/db-derby/ConvertOldTestToJunitTips ------------------------------------------------------------------------------ Check the "Decorators" section on the ["KillDerbyTestHarness"] page for a variety of '''Question''' and '''Answer''' topics. - === My new junit test compiles just fine -- why doesn't it execute? === + === My new junit test compiles and runs just fine -- why doesn't it actually execute? === Many of the old tests take a connection argument, such as: {{{static void testLongBinary(Connection conn)}}} - When you convert it to a JUnit test, remember to remove the connection argument: + When you copy the code into a JUnit test, remember to remove the connection argument: {{{static void testLongBinary ()}}}