moodle/search
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
..
amd MDL-73915 js: Switch amd minification to terser 2022-02-23 08:55:09 +08:00
classes MDL-71115 search: Only replace course search when equivalent 2021-11-10 09:11:19 +00:00
cli MDL-55356 core_search: Make indexing task/CLI do context requests 2017-10-11 17:17:10 +01:00
engine MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
templates MDL-65540 core_search: Explicit component name in the str helper 2019-05-09 15:29:02 +08:00
tests MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
index.php MDL-60917 core_search: add top result section 2021-10-12 14:49:36 +11:00
upgrade.txt MDL-69479 upgrade: Change all 4.0 occurrences to 3.10 2020-08-21 23:57:17 +02:00