Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A20F2F5BD for ; Sat, 24 Aug 2013 15:26:04 +0000 (UTC) Received: (qmail 16017 invoked by uid 500); 24 Aug 2013 15:25:59 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 15405 invoked by uid 500); 24 Aug 2013 15:25:55 -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 15074 invoked by uid 99); 24 Aug 2013 15:25:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Aug 2013 15:25:52 +0000 Date: Sat, 24 Aug 2013 15:25:52 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DERBY-6307) Improve the code coverage of org.apache.derby.iapi.services.info.JVMInfo 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-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13749411#comment-13749411 ] ASF subversion and git services commented on DERBY-6307: -------------------------------------------------------- Commit 1517149 from [~bryanpendleton] in branch 'code/trunk' [ https://svn.apache.org/r1517149 ] DERBY-6307: Improve code coverage of org.apache.derby.iapi.services.info This patch was contributed by Ahsan Shamsudeen (ahsan dot competition at gmail dot com) This patch adds several tests which directly exercise the utility methods in org.apache.derby.iapi.services.info.JVMInfo. Note that the precise code paths that are tested by these new test cases will depend on the configuration of the test environment, since the JVMInfo code is highly sensitive to the user's JDK level and JDK vendor. The only JVMInfo method not directly tested at this point is javaDump, which is a bit delicate to directly test because exercising this method can give the appearance that a fatal error has occurred, which might confuse somebody running the tests into thinking there was a real crash instead of just an artificial execution of javaDump. So testing that method is deferred until a later date. > Improve the code coverage of org.apache.derby.iapi.services.info.JVMInfo > ------------------------------------------------------------------------ > > Key: DERBY-6307 > URL: https://issues.apache.org/jira/browse/DERBY-6307 > Project: Derby > Issue Type: Sub-task > Components: Test > Reporter: ahsan shamsudeen > Assignee: ahsan shamsudeen > Priority: Minor > Attachments: DERBY-6307.patch, DERBY-6307Temp.patch > > > According to the coverage reports, org.apache.derby.iapi.services.info.JVMInfo is poorly exercised by the Derby regression tests. > This sub-task is to improve that test coverage. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira