You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2007/12/04 21:53:43 UTC

[jira] Commented: (DERBY-3203) Convert jdbcapi/statementJdbc20.java to JUnit

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