Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.2.x will end 22 April 2024 (12 months).
  • Bug fixes for security issues in 4.2.x will end 7 October 2024 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.1.x is supported too.

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

(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