moodle/completion
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
..
classes MDL-72375 completion: Remove id from custom rules 2021-12-13 11:52:03 +10:00
criteria MDL-52206 core: Add completion based on pass grade 2021-10-04 19:42:34 +08:00
tests MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
completion_aggregation.php
completion_completion.php MDL-32103 completion: Allow instant completion updates. 2021-07-13 12:07:53 +02:00
completion_criteria_completion.php MDL-64576 completion: Fix criteria and course completion dates 2021-10-04 10:51:38 +11:00
data_object.php MDL-55136 data_object: fix param handling in fetch_all_helper 2016-07-06 10:33:06 +01:00
upgrade.txt MDL-72827 completion: Revert completion flow logic 2021-10-28 11:38:10 +08:00