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-6291) Improve code coverage of org.apache.derby.iapi.jdbc.BrokeredCallableStatement
Date Thu, 11 Jul 2013 02:59:48 GMT

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

Bryan Pendleton commented on DERBY-6291:
----------------------------------------

Hi Ahsan, thanks for logging this issue.

I see that the test program org.apache.derbyTesting.functionTests.tests.jdbcapi.CallableTest
already has a number of test cases which exercise the functionality of BrokeredCallableStatement.

Perhaps you can determine how to add additional test cases to this test program to
exercise some of the un-covered methods. 

A good approach might be to set up the CallableTest program in your debugger, set some
breakpoints in the BrokeredCallableStatement methods, observe how the test program
causes those methods to be executed, and then look for ways to add additional test cases.

                
> Improve code coverage of  org.apache.derby.iapi.jdbc.BrokeredCallableStatement
> ------------------------------------------------------------------------------
>
>                 Key: DERBY-6291
>                 URL: https://issues.apache.org/jira/browse/DERBY-6291
>             Project: Derby
>          Issue Type: Sub-task
>          Components: JDBC
>            Reporter: ahsan shamsudeen
>            Assignee: ahsan shamsudeen
>            Priority: Minor
>
> According to code coverage analysis, org.apache.derby.iapi.jdbc.BrokeredCallableStatement
is 
> exercised poorly by of our regression tests. The current coverage report for this class
can be found at http://dbtg.foundry.sun.com/derby/test/coverage/_files/a9.html
> This task is to investigate this class, and either remove the unused code, or add
> regression test that exercise the code, as appropriate.

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

Mime
View raw message