Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-19057

Complete coverage of DDL/DML tests

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Database SQL/XMLDB
    • Labels:
      None
    • Difficulty:
      Moderate
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Review current DDL/DML tests, filling missing ones and completing them to cover all the stuff and cases.

      Some things to review:

      testing insert/update/set_field nulls, insert/update/set_field string data in numeric fields, insert/update/set_field boolean data into numeric/varchar/text fields, select/insert/update/set_fieldempty varchar and text fields, lowercase fieldnames, defaults... functions without params... sql_helper() functions..., limits when fetching records, all the get_columns() information, returned id on insert, get_indexes (with some column named, "time" because of PG internals).

        Attachments

        1. all_db_bitwise.patch.txt
          5 kB
          Eloy Lafuente (stronk7)
        2. MOODLE_ORACLE_PACKAGE.sql
          4 kB
          Eloy Lafuente (stronk7)

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              stronk7 Eloy Lafuente (stronk7)
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                24/Nov/10