You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2013/07/19 12:42:51 UTC

[jira] [Commented] (DERBY-2091) Increase coverage for StatementEventsTest

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

ASF subversion and git services commented on DERBY-2091:
--------------------------------------------------------

Commit 1504820 from [~knutanders] in branch 'code/trunk'
[ https://svn.apache.org/r1504820 ]

DERBY-2091: Increase coverage for StatementEventsTest
                
> Increase coverage for StatementEventsTest
> -----------------------------------------
>
>                 Key: DERBY-2091
>                 URL: https://issues.apache.org/jira/browse/DERBY-2091
>             Project: Derby
>          Issue Type: Improvement
>          Components: JDBC, Test
>    Affects Versions: 10.2.1.6
>            Reporter: Knut Anders Hatlen
>            Priority: Minor
>              Labels: derby_triage10_11
>         Attachments: d2091.diff
>
>
> StatementEventsTest doesn't test removeStatementEventListener(). A test case should be added for that method. It would also be good to have test cases for
>  - addStatementEventListener(null)
>  - addStatementEventListener() twice with the same listener object
>  - addStatementEventListener() on a closed {Pooled,XA}Connection
>  - removeStatementEventListener(null)
>  - removeStatementEventListener() with a listener object that has not been added
>  - removeStatementEventListener() on a closed {Pooled,XA}Connection

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