Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-33337 META: RFC-4180 CSV file compliance for greater portablility of exported data.
  3. MDL-34076

Create a unit test for exporting and importing rcf 4180 compliant csv files.

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: None
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE

      Description

      Create unit tests to test:

      • Exporting RFC 4180 compliant CSV files.
      • Importing RFC 4180 compliant CSV files.

      Tests should consider the following points:

      • Each record is located on a seperate line.
      • There maybe an optional header.
      • A header may contain spaces and shouldn't be ignored.
      • Fields containgin line breaks, double quotes and commas should be enclosed in double quotes.
      • If double quotes are used to enclose fields, then a double quote appearing inside a field must be escaped by preceding it with another double quote.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                abgreeve Adrian Greeve
                Reporter:
                abgreeve Adrian Greeve
                Participants:
                Component watchers:
                Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: