db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6307) Improve the code coverage of org.apache.derby.iapi.services.info.JVMInfo
Date Fri, 09 Aug 2013 03:50:47 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13734366#comment-13734366

Bryan Pendleton commented on DERBY-6307:

Hi Ahsan,

You should have a look through DERBY-3176 to get some history about the JVMInfo class.

I think we should try adding some tests in org.apache.derbyTesting.functionTests.tests.tools.SysinfoAPITest

Can you try just adding:

import org.apache.derby.iapi.services.info.JVMInfo;

and then add some test cases that directly invoke the methods in JVMinfo?

The first test to add is just something like:

       JVMInfo.JDK_ID == JVMInfo.J2SE_16 ||
       JVMInfo.JDK_ID == JVMInfo.J2SE_17 ||
       JVMInfo.JDK_ID == JVMInfo.J2SE_18 );

> 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
> 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

View raw message