[
https://issues.apache.org/jira/browse/DERBY-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413616#comment-13413616
]
Siddharth Srivastava commented on DERBY-5853:
---------------------------------------------
The methods that are covered are those which do not throw exception while being
tested. According to the discussion on the Jacoco forum it comes out that
Jacoco doesn't consider methods that throw exception as being covered. Hence
they are not considered in the coverage report.
Our implementation of the test expects to throw an Exception and hence only
those methods are considered by Jacoco which give normal return.
> Test for methods in BrokeredPreparedStatement
> ---------------------------------------------
>
> Key: DERBY-5853
> URL: https://issues.apache.org/jira/browse/DERBY-5853
> Project: Derby
> Issue Type: Sub-task
> Reporter: Siddharth Srivastava
> Assignee: Siddharth Srivastava
> Priority: Minor
> Attachments: brokeredps.patch, pstest.patch
>
>
> According to emma code coverage report, several methods of
> BrokeredPreparedStatement are uncovered.
> This issue deals with adding tests for those methods.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira