Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

(no description)

File Size: 185 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: generator_test  - X-Ref

Unit tests for the test data generator

Note that assertions of created data content is performed in other testcases of the relevant classes, in the majority of cases
here we just want to assert that the thing we created actually exists

test_create_report()   X-Ref
Test creating a report


test_create_column()   X-Ref
Test creating a column


test_create_column_additional_properties()   X-Ref
Test creating a column, specifying additional properties


test_create_filter()   X-Ref
Test creating a filter


test_create_filter_additional_properties()   X-Ref
Test creating a filter, specifying additional properties


test_create_condition()   X-Ref
Test creating a condition


test_create_condition_additional_properties()   X-Ref
Test creating a condition, specifying additional properties


test_create_audience()   X-Ref
Test creating an audience


test_create_schedule()   X-Ref
Test creating a schedule