db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eranda Sooriyabandara (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-4318) convert inbetween.sql to JUNIT
Date Wed, 05 Aug 2009 19:06:14 GMT

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

Eranda Sooriyabandara commented on DERBY-4318:
----------------------------------------------

Hi Bryan,Is it correct and appropriate to use the codes in my previous 3
comments?
And I still have a problem with the code,
if(usingEmbedded()){
            rs = st.executeQuery(
                "values ConsistencyChecker()");

            expColNames = new String [] {"1"};
            JDBC.assertColumnNames(rs, expColNames);

            expRS = new String [][]
            {
                {"No open scans, etc"},
                {"30 dependencies found"}
            };

            JDBC.assertFullResultSet(rs, expRS, true);
        }

and I found a unconverted part which includes the sql command,
maximumdisplaywidth 2000;
I use the code,
st.executeUpdate("maximumdisplaywidth 2000");
But it gave me errors.
Can you help me a little with this problems.
Thanks


> convert inbetween.sql to JUNIT
> ------------------------------
>
>                 Key: DERBY-4318
>                 URL: https://issues.apache.org/jira/browse/DERBY-4318
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>            Reporter: Eranda Sooriyabandara
>            Assignee: Eranda Sooriyabandara
>            Priority: Minor
>         Attachments: inbetween.junit, InbetweenTest.diff, InbetweenTest.diff, InbetweenTest.diff
>
>
> conversion of inbetween.sql to JUNIT

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


Mime
View raw message