db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1534) Add BaseJDBCTestCase.assertSQLState() overload with no message parameter
Date Wed, 19 Jul 2006 10:30:15 GMT
     [ 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:
>            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


View raw message