Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 88973 invoked from network); 7 Oct 2010 07:45:52 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Oct 2010 07:45:52 -0000 Received: (qmail 5159 invoked by uid 500); 7 Oct 2010 07:45:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 5106 invoked by uid 500); 7 Oct 2010 07:45:52 -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 5098 invoked by uid 99); 7 Oct 2010 07:45:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 07:45:51 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Oct 2010 07:45:51 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o977jVHE023460 for ; Thu, 7 Oct 2010 07:45:31 GMT Message-ID: <17551573.21601286437531143.JavaMail.jira@thor> Date: Thu, 7 Oct 2010 03:45:31 -0400 (EDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4834) Add helper class for working with index statistics in JUnit tests In-Reply-To: <2059599.8411286381071104.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-4834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12918811#action_12918811 ] Kristian Waagan commented on DERBY-4834: ---------------------------------------- Thanks for looking at the patch, Lily. Committed patch 1a to trunk with revision 1005347. We may need other convenience methods to investigate various parts of the Derby system. One concern I have, is that there is already a lot of stuff "floating around", but it is not that easy to find it when you need it. Maybe it's time we write a package.html file for the junit package - describing which classes are entry points for various functionality? Another option is to improve the class JavaDoc of the various classes (the first sentence) such that a developer can navigate using the automatically generated JavaDocs. > Add helper class for working with index statistics in JUnit tests > ----------------------------------------------------------------- > > Key: DERBY-4834 > URL: https://issues.apache.org/jira/browse/DERBY-4834 > Project: Derby > Issue Type: Sub-task > Components: Test > Affects Versions: 10.7.0.0 > Reporter: Kristian Waagan > Assignee: Kristian Waagan > Priority: Minor > Attachments: derby-4834-1a-indexstats_utility_class.diff > > > Dealing with index statistics in the JUnit tests require some tedious work, like looking up table and index ids, doing selects on the SYS.SYSSTATISTICS table, and analyzing the results of these queries. > To make life easer and the tests easier to read, a set of utility methods will be added to a new class living in the JUnit test framework package. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.