db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-3808) Convert subquery.sql to junit
Date Fri, 03 Feb 2012 16:43:54 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199840#comment-13199840

Dag H. Wanvik commented on DERBY-3808:

> Another issue I ran into with assertSequence, is that one of the table
> names has an '_'. The method converts underscores to tabs, presumably
> attempting to make the strings in the tests more manageable.

Yes, I found it hard to handle otherwise :)

> I adjusted the assertSequence method to only replace _ for tabs in
> the first 15 characters, assuming that we'd not go further than 15
> levels...

Probably fine. You could also only convert leading underscores, since
I think that's the only place where the translation is needed/expected
if I remember correctly. Sorry for the fragile code ;-)

> Convert subquery.sql to junit
> -----------------------------
>                 Key: DERBY-3808
>                 URL: https://issues.apache.org/jira/browse/DERBY-3808
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>            Reporter: Manjula Kutty
>            Assignee: Myrna van Lunteren
>              Labels: derby_triage10_8
>         Attachments: DERBY-3808_1.diff, DERBY-3808_1.stat, DERBY_3808_diff_07_10.txt,
> place holder for converting subquery.sql to junit , which gives intermittent failures
with derbyall

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message