Increase coverage for StatementEventsTest
-----------------------------------------

                 Key: DERBY-2091
                 URL: http://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


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 contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to