[
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