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.

Differences Between: [Versions 310 and 401] [Versions 311 and 401] [Versions 39 and 401] [Versions 400 and 401]

(no description)

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

Defines 1 class

generator_test:: (5 methods):
  test_generator()
  test_create_field()
  test_create_entry()
  test_create_preset()
  create_preset_provider()


Class: generator_test  - X-Ref

PHPUnit data generator testcase.

test_generator()   X-Ref


test_create_field()   X-Ref


test_create_entry()   X-Ref


test_create_preset(?stdClass $record)   X-Ref
Test for create_preset().

param: stdClass|null $record data for the preset that will be created (like name or description)

create_preset_provider()   X-Ref
Data provider for test_create_preset().

return: array