Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

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

(no description)

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

Defines 3 classes

core_backup_controller_testcase:: (8 methods):
  setUp()
  test_base_controller_set_copy()
  test_backup_controller()
  test_backup_controller_include_files()
  test_backup_controller_set_kept_roles()
  test_restore_controller_is_executing()
  test_restore_controller_prepare_copy()
  test_restore_of_deadlock_causing_backup()

core_backup_progress_restore_is_executing:: (1 method):
  update_progress()

mock_backup_controller:: (1 method):
  save_controller()


Class: core_backup_controller_testcase  - X-Ref


setUp()   X-Ref
No description

test_base_controller_set_copy()   X-Ref
Test set copy method.


test_backup_controller()   X-Ref
No description

test_backup_controller_include_files()   X-Ref
No description

test_backup_controller_set_kept_roles()   X-Ref
Test set kept roles method.


test_restore_controller_is_executing()   X-Ref
Tests the restore_controller.


test_restore_controller_prepare_copy()   X-Ref
Test prepare copy method.


test_restore_of_deadlock_causing_backup()   X-Ref
Test restore of deadlock causing backup.


Class: core_backup_progress_restore_is_executing  - X-Ref

Progress class that records the result of restore_controller::is_executing calls.

update_progress()   X-Ref
No description

Class: mock_backup_controller  - X-Ref

save_controller($includeobj = true, $cleanobj = false)   X-Ref
No description