[ http://issues.apache.org/jira/browse/DERBY-1534?page=all ]

Knut Anders Hatlen updated DERBY-1534:
--------------------------------------

    Attachment: assertSQLState.diff

The attached patch adds assertSQLState(String,SQLException) which uses 
"Unexpected SQL state." as error message.

> Add BaseJDBCTestCase.assertSQLState() overload with no message parameter
> ------------------------------------------------------------------------
>
>                 Key: DERBY-1534
>                 URL: http://issues.apache.org/jira/browse/DERBY-1534
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.2.0.0
>            Reporter: Knut Anders Hatlen
>         Assigned To: Knut Anders Hatlen
>            Priority: Trivial
>         Attachments: assertSQLState.diff
>
>
> assertSQLState() is normally called with a message parameter similar to 
> "Unexpected SQL state". To make it easier to write tests which use 
> assertSQLState(), there should be an overload which doesn't take a message 
> parameter.

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