Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 41145 invoked from network); 1 Jul 2008 08:34:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Jul 2008 08:34:36 -0000 Received: (qmail 90551 invoked by uid 500); 1 Jul 2008 08:34:37 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 90527 invoked by uid 500); 1 Jul 2008 08:34:37 -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 90516 invoked by uid 99); 1 Jul 2008 08:34:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 01:34:37 -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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Jul 2008 08:33:54 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42F61234C14D for ; Tue, 1 Jul 2008 01:33:45 -0700 (PDT) Message-ID: <323870562.1214901225273.JavaMail.jira@brutus> Date: Tue, 1 Jul 2008 01:33:45 -0700 (PDT) From: "Junjie Peng (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-3742) Move test code from CompressedNumber to a unit test In-Reply-To: <1953481087.1214815065031.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-3742?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12609491#action_12609491 ] Junjie Peng commented on DERBY-3742: ------------------------------------ Hi, Knut. I have read through checkInt(), checkLong() and main(), and understood its workflow, but I have a question, which directory under org.apache.derbyTesting should I put the new junit test case? Thank you! > Move test code from CompressedNumber to a unit test > --------------------------------------------------- > > Key: DERBY-3742 > URL: https://issues.apache.org/jira/browse/DERBY-3742 > Project: Derby > Issue Type: Test > Components: Test > Reporter: Knut Anders Hatlen > Assignee: Junjie Peng > Priority: Minor > > The class org.apache.derby.iapi.services.io.CompressedNumber contains a significant amount of test code. This code should be moved into a unit test to reduce the footprint of the product jars and to ensure that the code is tested in the regression tests. The test code is located in the methods checkInt(), checkLong() and main(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.