[
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.
assertEquals(cursor.getCursorName(),"ForCoverageSake");
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 1956"
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: 10.3.0.0
> Reporter: Kathey Marsden
> Assigned To: Kathey Marsden
> Priority: Minor
> Fix For: 10.3.0.0
>
> 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.