Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Class: advanced_test  - X-Ref

Test advanced_testcase extra features.

setUpBeforeClass()   X-Ref
No description

test_debugging()   X-Ref
No description

debugging_called_with_annotation()   X-Ref


test_set_user()   X-Ref
No description

test_set_admin_user()   X-Ref
No description

test_set_guest_user()   X-Ref
No description

test_database_reset()   X-Ref
No description

test_change_detection()   X-Ref
No description

test_getDataGenerator()   X-Ref
No description

test_database_mock1()   X-Ref
No description

test_database_mock2()   X-Ref
No description

test_load_data_dataset_xml()   X-Ref
No description

test_load_dataset_csv()   X-Ref
No description

test_load_dataset_array()   X-Ref
No description

test_assert_time_current()   X-Ref
No description

test_message_processors_reset()   X-Ref
No description

test_message_redirection()   X-Ref
No description

test_message_redirection_noreset($sink)   X-Ref


test_message_redirection_reset()   X-Ref


test_set_timezone()   X-Ref
No description

test_locale_reset()   X-Ref
No description

test_it_resets_useragent_after_test()   X-Ref
This test sets a user agent and makes sure that it is cleared when the test is reset.


test_runadhoctasks_no_tasks_queued()   X-Ref


test_runadhoctasks_tasks_queued()   X-Ref


test_runadhoctasks_with_existing_user_change()   X-Ref


test_runadhoctasks_with_existing_user_change_and_specified()   X-Ref