moodle/availability
Eloy Lafuente (stronk7) eb0c520ad6 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:38 +01:00
..
classes MDL-72339 core_availability: Unsafe to use format_string in description 2021-10-06 11:26:28 +01:00
condition MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:38 +01:00
tests MDL-66431 core: Fix behat tests. 2021-05-01 16:18:56 +02:00
yui MDL-73915 js: Upgrade babel and eslint 2022-02-23 08:51:44 +08:00
renderer.php MDL-49434 availability: Use renderables for multiple messages 2015-07-15 11:43:01 +01:00
upgrade.txt MDL-72339 core_availability: Unsafe to use format_string in description 2021-10-06 11:26:28 +01:00