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

ahsan shamsudeen commented on DERBY-6291:
-----------------------------------------

The following methods are passed the test with above change. 

public final Blob getBlob(int i) {}
public final Clob getClob(int i) {}
public final Array getArray(int i) {}

But , some similar type of methods didn't get passed by above change.They 
failed with "junit.framework.AssertionFailedError: should have failed " . So, I 
just remove the fail("should have failed")  statement and run the test suite. 
The following methods are passed the test. But, I didn't understand the logic 
behind this.

public final String getString(int parameterIndex){}
public final boolean getBoolean(int parameterIndex){}
public final byte getByte(int parameterIndex) {}


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

Reply via email to