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] Updated: (DERBY-4318) convert inbetween.sql to JUNIT
Date Sun, 02 Aug 2009 12:42:14 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Eranda Sooriyabandara updated DERBY-4318:
-----------------------------------------

    Attachment: InbetweenTest.diff

Hi Bryan,If the previous replacement correct we can use it in several
places. And after replacing I saw three parts which still gives the errors.

In row 687,

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);
        }

In the row 2891,
rs = st.executeQuery("values (3, cast (null as int))");

In row 4620,
st.executeUpdate(
            " create view v1(c1)"
            + "as"
            + "select c1 from t1"
            + "union all"
            + "select c2 from t2 ");

I am attaching the patch file here.
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