moodle/files/tests
Eloy Lafuente (stronk7) 100bc51f1d MDL-73485 phpunit: externallib, generator and filter tescase names
All externallib_test, generator_test and filter_test classes:

- Namespaced with component[\level2-API]
- Moved to level2-API subdirectory when required.
- Fixed incorrect use statements with leading backslash.
- 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 tests under testing/tests:

1) The core_testing component doesn't exist.
2) But testing/tests are allowed because there is a suite pointing to it (phpunit.xml).
3) So, the only possible namespace for them is "core".
4) And to avoid problems with other core testcases (under lib/tests)
   they have been renamed to have testing_xxxx as prefix.

Finally, also modified calendar/tests/events/events_test.php because it uses
some renamed (core_calendar_externallib_testcase => \core_calendar\externallib_test)
classes.
2022-01-21 19:48:23 +01:00
..
behat MDL-70197 navigation: Remove old navigation elements and migrate behat 2021-11-29 15:47:42 +08:00
fixtures MDL-68533 core_files: add archive_writer API 2020-12-12 12:44:55 +08:00
local/archive_writer MDL-73278 phpunit: Rename already namespaced classes to match file name 2021-12-07 23:54:29 +01:00
privacy MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:02 +01:00
archive_writer_test.php MDL-73278 phpunit: Rename already namespaced classes to match file name 2021-12-07 23:54:29 +01:00
conversion_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
converter_test.php MDL-37655 phpunit: Avoid having multiple testcase classes in 1 file 2021-03-30 19:17:54 +02:00
externallib_test.php MDL-73485 phpunit: externallib, generator and filter tescase names 2022-01-21 19:48:23 +01:00