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 Sun, 21 Jul 2013 16:36:49 GMT

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

Bryan Pendleton commented on DERBY-6291:

Hi Ahsan, now I get the same results as you with the latest updated patch.

For the errors which say:

   java.sql.SQLSyntaxErrorException: 'ONE_IN_ONE_OUT_FUNC' is a function but it is
   being called as a procedure.

you need to change your tests so instead of 

        CallableStatement cs = prepareCall("call ONE_IN_ONE_OUT_FUNC (?)");

they say

        CallableStatement cs = prepareCall
            ("? = call ONE_IN_ONE_OUT_FUNC (?)");

This will fix a number of the errors in the test.
> 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
>              Labels: derby_triage10_11
>         Attachments: DERBY-6291.patch, setIntPatch.txt, UPDATED-DERBY-6291.patch
> According to code coverage analysis, org.apache.derby.iapi.jdbc.BrokeredCallableStatement
> 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

View raw message