moodle/backup/util/plan
Eloy Lafuente (stronk7) 4003e31983 MDL-73785 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:

- When belonging to other components and being valid api:
  - analytics related tests have been moved to tests/analytics subdir.
  - backup & restore related tests have been moved to tests/backup subdir.
  - events related tests have been moved to tests/event subdir.
  - privacy related tests have been moved to tests/privacy.
  - task related tests have been moved to tests/task subdir.
- Some simple renames, not including the component part anymore (not
  needed now that they are namespaced):
  - some xxxlib_test.php have been renamed lib_test.php
    (when they where testing the corresponding lib.php).
  - cache stores tests have been all renamed store_test, originally
    each one had its own name (file_test, apcu_test, redis_test...)
  - assign feedback tests have been all renamed feedback_test, originally
    each one had its own name (file_test, editpdf_test...)
2022-03-03 12:19:30 +01:00
..
tests MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
backup_execution_step.class.php
backup_plan.class.php MDL-71949 backup: Fix userid and add backup ID to logging 2022-01-06 16:06:53 +10:00
backup_step.class.php
backup_structure_step.class.php MDL-65646 core: Move component storage to json 2019-06-13 12:26:00 +08:00
backup_task.class.php MDL-64843 Backup: Course copy user interface 2020-05-15 06:02:02 +00:00
base_plan.class.php MDL-72265 backup: fix checking of override capabilites on restore 2021-08-05 13:54:59 +01:00
base_step.class.php
base_task.class.php MDL-39060 backup: fix typo backup destroy() function 2018-03-26 09:25:55 +08:00
restore_execution_step.class.php
restore_plan.class.php MDL-60923 backup: Added $CFG->backuptempdir 2018-04-16 23:50:28 +02:00
restore_step.class.php MDL-43648 course: Allow start /end dates to have times 2017-12-14 19:48:31 -05:00
restore_structure_step.class.php MDL-66709 backup: move question attempt data helpers to a trait 2019-09-23 19:24:32 +01:00
restore_task.class.php