moodle/backup/moodle2
Eloy Lafuente (stronk7) 9f53b0e965 MDL-73971 phpunit: Move more tests to use correct names and namespaces
Applied the following changes to various testcase classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- Remove file phpdoc block
- Remove MOODLE_INTERNAL if not needed.
- Changed code to point to global scope when needed.
- Fix some relative paths and comments here and there.
- All them passing individually.
- Complete runs passing too.

Special mention to:

- Some fixtures, initially defined in the test files have been
  moved to new files in fixtures subdirectory, leaving the unit
  test files clearer:
  - moodle2_course_format_test.php
- Rename wrong named test:
  - baseoptiogroup_test = baseoptigroup_test
2022-05-06 18:29:11 +02:00
..
tests MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
backup_activity_task.class.php MDL-74235 core: Update core uses of activity icons to monologo 2022-04-07 12:56:14 +08:00
backup_block_task.class.php
backup_course_task.class.php MDL-71190 backup: Include users last access to course 2021-04-19 12:03:50 +10:00
backup_coursereport_plugin.class.php
backup_custom_fields.php MDL-35773 core_backup: controller has full responsibility for files 2019-07-26 17:00:40 +08:00
backup_default_block_task.class.php
backup_enrol_plugin.class.php MDL-47323 backup: added enrol plugin backup structure and annotation 2014-12-02 21:46:33 -05:00
backup_final_task.class.php MDL-64843 Backup: Course copy user interface 2020-05-15 06:02:02 +00:00
backup_format_plugin.class.php
backup_gradingform_plugin.class.php
backup_local_plugin.class.php
backup_plagiarism_plugin.class.php
backup_plan_builder.class.php MDL-71642 qbank_comment: Add question comment plugin to core 2021-10-08 14:48:13 +11:00
backup_plugin.class.php MDL-66709 backup: improve some PHPdoc type hints 2019-09-23 19:21:09 +01:00
backup_qbank_plugin.class.php MDL-71642 qbank_comment: Add question comment plugin to core 2021-10-08 14:48:13 +11:00
backup_qtype_extrafields_plugin.class.php MDL-25617 backup: backup/restore using extra_question_fields 2018-03-28 18:16:34 +02:00
backup_qtype_plugin.class.php
backup_report_plugin.class.php
backup_root_task.class.php MDL-63381 backup: Have an option to import permissions 2021-04-13 13:24:15 +10:00
backup_section_task.class.php
backup_settingslib.php MDL-63381 backup: Have an option to import permissions 2021-04-13 13:24:15 +10:00
backup_stepslib.php MDL-65478 backup, course format: Handle editor elements in course format 2022-05-03 14:23:37 +10:00
backup_subplugin.class.php
backup_theme_plugin.class.php
backup_tool_plugin.class.php MDL-51858 backup: Support admin tools in course and module backups 2016-04-18 10:58:44 +08:00
backup_xml_transformer.class.php MDL-66593 core_backup: Replace h5p/embed.php url for H5PEMBED@$ 2019-10-30 06:46:35 +01:00
restore_activity_task.class.php MDL-74235 core: Update core uses of activity icons to monologo 2022-04-07 12:56:14 +08:00
restore_block_task.class.php MDL-70823 blocks: safer unserializing during block restore. 2021-11-03 16:57:06 +01:00
restore_course_task.class.php MDL-68702 core_backup: exclude legacy course files 2020-09-11 10:41:37 +10:00
restore_coursereport_plugin.class.php
restore_default_block_task.class.php
restore_enrol_plugin.class.php MDL-47323 backup: added enrol plugin backup structure and annotation 2014-12-02 21:46:33 -05:00
restore_final_task.class.php MDL-71190 backup: Include users last access to course 2021-04-19 12:03:50 +10:00
restore_format_plugin.class.php
restore_gradingform_plugin.class.php
restore_local_plugin.class.php
restore_plagiarism_plugin.class.php
restore_plan_builder.class.php MDL-71642 qbank_comment: Add question comment plugin to core 2021-10-08 14:48:13 +11:00
restore_plugin.class.php MDL-66709 backup: move question attempt data helpers to a trait 2019-09-23 19:24:32 +01:00
restore_qbank_plugin.class.php MDL-71642 qbank_comment: Add question comment plugin to core 2021-10-08 14:48:13 +11:00
restore_qtype_extrafields_plugin.class.php MDL-25617 backup: backup/restore using extra_question_fields 2018-03-28 18:16:34 +02:00
restore_qtype_plugin.class.php MDL-68203 restore: Decode quiz links when restore into existing course 2020-05-27 10:38:40 +10:00
restore_report_plugin.class.php
restore_root_task.class.php MDL-63381 backup: Have an option to import permissions 2021-04-13 13:24:15 +10:00
restore_section_task.class.php
restore_settingslib.php MDL-63381 backup: Have an option to import permissions 2021-04-13 13:24:15 +10:00
restore_stepslib.php MDL-65478 backup, course format: Handle editor elements in course format 2022-05-03 14:23:37 +10:00
restore_subplugin.class.php MDL-60416 mod_lti: Introduced LTI Advantage 2018-04-09 12:08:35 +08:00
restore_theme_plugin.class.php
restore_tool_plugin.class.php MDL-51858 backup: Support admin tools in course and module backups 2016-04-18 10:58:44 +08:00