db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Pendleton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3050) Convert groupBy.sql tests to JUnit and include them in GroupByTest.java
Date Tue, 04 Sep 2007 21:56:46 GMT

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

Bryan Pendleton commented on DERBY-3050:
----------------------------------------

Thanks Kathey, I'll have a look. In the converted code that I've looked at so far,
the DERBY-2151 tool seems to generate code like:

          assertStatementError("42Y35", st,
            "select * from t1 having 1 between 1 and 2");

which seems to neatly avoid the problem you are concerned about, since
assertStatementError does the right thing.

> Convert groupBy.sql tests to JUnit and include them in GroupByTest.java
> -----------------------------------------------------------------------
>
>                 Key: DERBY-3050
>                 URL: https://issues.apache.org/jira/browse/DERBY-3050
>             Project: Derby
>          Issue Type: Sub-task
>          Components: Test
>    Affects Versions: 10.4.0.0
>            Reporter: Bryan Pendleton
>            Assignee: Bryan Pendleton
>            Priority: Minor
>
> There are currently 3 sets of GROUP BY tests:
>  - GroupByExpressionTest.java
>  - GroupByTest.java
>  - groupBy.sql
> The first two tests are JUnit tests; the groupBy.sql tests are old-style harness tests,
> although they are now run in the JUnit framework using the LangScripts technique.
> This sub-task proposes to convert the groupBy.sql tests to JUnit tests, and to include
> them directly into GroupByTest.java.
> The DERBY-2151 conversion tool can be used to assist in the conversion process.

-- 
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