moodle/course/tests
Eloy Lafuente (stronk7) 9f53b0e965 MDL-73971 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:

- Some fixtures, initially defined in the test files have been
  moved to new files in fixtures subdirectory, leaving the unit
  test files clearer:
  - moodle2_course_format_test.php
- Rename wrong named test:
  - baseoptiogroup_test = baseoptigroup_test
2022-05-06 18:29:11 +02:00
..
analytics MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
backup MDL-65478 backup, course format: Handle editor elements in course format 2022-05-03 14:23:37 +10:00
behat Merge branch 'MDL-73952-master' of https://github.com/bmbrands/moodle 2022-03-28 13:09:55 +08:00
event MDL-73476 phpunit: events, external and search tescase names 2022-01-14 16:18:39 +01:00
fixtures MDL-73278 phpunit: Fix namespaces for the renamed classes 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
search MDL-73476 phpunit: events, external and search tescase names 2022-01-14 16:18:39 +01:00
caching_content_item_readonly_repository_test.php MDL-73278 phpunit: Fix namespaces for the renamed classes 2021-12-07 23:54:29 +01:00
category_hooks_test.php MDL-73278 phpunit: Fix namespaces for the renamed classes 2021-12-07 23:54:29 +01:00
category_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
content_item_readonly_repository_test.php MDL-73278 phpunit: Fix namespaces for the renamed classes 2021-12-07 23:54:29 +01:00
content_item_test.php MDL-71457 theme_boost: activity icon styling 2021-12-20 15:02:24 +01:00
course_delete_modules_test.php MDL-74098 phpunit: Normalise dir separator to match expectations 2022-03-14 16:46:52 +01:00
course_format_function_test.php MDL-65478 backup, course format: Handle editor elements in course format 2022-05-03 14:23:37 +10:00
course_image_cache_test.php MDL-73278 phpunit: Fix namespaces for the renamed classes 2021-12-07 23:54:29 +01:00
course_summary_exporter_test.php MDL-73278 phpunit: Fix namespaces for the renamed classes 2021-12-07 23:54:29 +01:00
courselib_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
courserequest_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
coverage.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
customfield_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
datasource_test.php MDL-72959 reportbuilder: format course/category names in entities. 2021-11-02 16:21:45 +00:00
exporters_content_item_test.php MDL-71457 theme_boost: activity icon styling 2021-12-20 15:02:24 +01:00
exporters_content_items_test.php MDL-73278 phpunit: Fix namespaces for the renamed classes 2021-12-07 23:54:29 +01:00
externallib_test.php MDL-72991 Course: Partial course cache rebuild 2022-03-17 15:34:01 +07:00
management_helper_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
modlib_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00
notifications_test.php MDL-70083 message: Updated content notification task 2021-11-04 12:23:21 +01:00
services_content_item_service_test.php MDL-73278 phpunit: Fix namespaces for the renamed classes 2021-12-07 23:54:29 +01:00
targets_test.php MDL-73971 phpunit: Move more tests to use correct names and namespaces 2022-05-06 18:29:11 +02:00