[
https://issues.apache.org/jira/browse/DERBY-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13740991#comment-13740991
]
Bryan Pendleton commented on DERBY-6307:
----------------------------------------
For the isSunJVM and isIBMJVM methods, I think all we want to do is call the
methods and
verify that they don't throw an exception. Since we sometimes run our test
suites using the
Sun JVM, and sometimes using the IBM JVM, the expected results could be either
true or
false, and neither one is the "right" answer, always.
So either true or false is valid, and the test should pass either way, but
throwing an exception
is a failure.
bryan
> 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