Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-581 Modify SQL to skip N rows of the result and return the next M rows
  3. DERBY-3050

Convert groupBy.sql tests to JUnit and include them in GroupByTest.java

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • Test
    • None

    Description

      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.

      Attachments

        1. convertToJUnit.stat
          0.5 kB
          Bryan Pendleton
        2. convertToJUnit.diff
          133 kB
          Bryan Pendleton
        3. convertToJunit.diff
          137 kB
          Bryan Pendleton
        4. convertToJunit.diff
          138 kB
          Bryan Pendleton
        5. afterMergeWith3257.diff
          138 kB
          Bryan Pendleton

        Issue Links

          Activity

            People

              bryanpendleton Bryan Pendleton
              bryanpendleton Bryan Pendleton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: