db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anurag Shekhar (JIRA)" <derby-...@db.apache.org>
Subject [jira] Updated: (DERBY-1013) jdbc4 test suite test classes are using Util.notImplemented
Date Mon, 20 Feb 2006 13:27:27 GMT
     [ http://issues.apache.org/jira/browse/DERBY-1013?page=all ]

Anurag Shekhar updated DERBY-1013:
----------------------------------

    Attachment: derby-1013.diff

changed the jdbc4 test classes to compare sql state and not. 


> jdbc4 test suite test classes are using Util.notImplemented
> -----------------------------------------------------------
>
>          Key: DERBY-1013
>          URL: http://issues.apache.org/jira/browse/DERBY-1013
>      Project: Derby
>         Type: Bug
>     Reporter: Anurag Shekhar
>     Assignee: Anurag Shekhar
>  Attachments: derby-1013.diff
>
> jdbc4 test suite test classes are using Util.notImplemented to get exception text and
then using the message comparison to check if the message are same in the thrown exception.
This may cause problem in future because the jdbc4 code is using SQLState.NOT_IMPLEMENTED
with a paramter (feature name). As the test classes are creating the exception without any
parameter the test comparision will fail. 
> In this patch I have modified the test code to test for sql state which won't change.

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


Mime
View raw message