db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean T. Anderson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2304) Convert derbynet/callable.java to junit
Date Wed, 07 Feb 2007 23:14:06 GMT

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

Jean T. Anderson commented on DERBY-2304:

Thanks for the speedy comments, Dan!

R1) Regarding the teardown, I was confused by what was happening under the hood and when.
The 'DROP ROUTINE' error I encountered sounds like something I should reproduce separately
and log as an issue.

R2) I really like your approach that avoids explicitly adding all fixtures.

R3) Excellent -- thanks! 

R4)  assertDecimalEquals("OUT 2", "33.3330", cs.getBigDecimal(2)); 

That still resulted in differences detected:
OUT 2 expected:<33.3330> but was:<33.3330>

However, changing the last arg to string worked:

assertDecimalEquals("OUT 2", "33.3330", cs.getBigDecimal(2).toString());

thanks for the feedback!

> Convert derbynet/callable.java to junit
> ---------------------------------------
>                 Key: DERBY-2304
>                 URL: https://issues.apache.org/jira/browse/DERBY-2304
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Jean T. Anderson
>         Assigned To: Jean T. Anderson
>            Priority: Minor
>         Attachments: derby-2304-preview.diff
> Convert the derbynet.callable.java test to the junit framework.

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

View raw message