db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2299) convert cursor.java to junit
Date Tue, 13 Feb 2007 18:05:17 GMT

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

Kathey Marsden commented on DERBY-2299:

Thanks Dan for looking at this.  I do see one that I think is the wrong way around. 

but the ones you quoted seem right to me with the expected value first.

assertEquals(1956, cursor.getInt(1));
assertEquals("hello world", cursor.getString(2).trim()); 

I tested changing 1956 to a different value and got an error message "expected 19567 but was
I am sure I must be missing something quite obvious here, but could you clarify why these
are wrong?

> convert cursor.java to junit
> ----------------------------
>                 Key: DERBY-2299
>                 URL: https://issues.apache.org/jira/browse/DERBY-2299
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions:
>            Reporter: Kathey Marsden
>         Assigned To: Kathey Marsden
>            Priority: Minor
>             Fix For:
>         Attachments: DERBY_2299.stat, DERBY_2299.txt, DERBY_2299_2.txt
> Convert cursor.java to junit

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

View raw message