db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3203) Convert jdbcapi/statementJdbc20.java to JUnit
Date Tue, 04 Dec 2007 20:53:43 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12548404
] 

Daniel John Debrunner commented on DERBY-3203:
----------------------------------------------

Test has several try/catch blocks where I think a failure is expected but the test will pass
if the try portion succeeds as there is no fail() assert.
E.g.

        try{
            rs.setFetchDirection(ResultSet.FETCH_FORWARD);
        }catch(SQLException e){
            
            if (usingEmbedded())
                assertSQLState("XJ061", e);
            else
                assertSQLState("XJ125", e);
        }
 

> Convert jdbcapi/statementJdbc20.java to JUnit
> ---------------------------------------------
>
>                 Key: DERBY-3203
>                 URL: https://issues.apache.org/jira/browse/DERBY-3203
>             Project: Derby
>          Issue Type: Test
>            Reporter: Ramin Moazeni
>            Assignee: Ramin Moazeni
>             Fix For: 10.4.0.0
>
>         Attachments: DERBY-3203v0.diff, DERBY-3203v0.stat, DERBY-3203v2.diff
>
>
> This issue is creates for converting jdbcapi/statementJdbc20.java to JUnit.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message