db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DERBY-2091) Increase coverage for StatementEventsTest
Date Fri, 19 Jul 2013 10:44:51 GMT

     [ https://issues.apache.org/jira/browse/DERBY-2091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Knut Anders Hatlen closed DERBY-2091.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.11.0.0
         Assignee: Knut Anders Hatlen
    
> 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
>            Assignee: Knut Anders Hatlen
>            Priority: Minor
>              Labels: derby_triage10_11
>             Fix For: 10.11.0.0
>
>         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

Mime
View raw message