mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
![]() 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...) |
||
---|---|---|
.. | ||
behat | ||
event | ||
fixtures | ||
privacy | ||
action_event_test.php | ||
action_factory_test.php | ||
action_test.php | ||
calendar_event_exporter_test.php | ||
calendar_information_test.php | ||
calendartype_test.php | ||
calendartype_test_example.php | ||
cm_info_proxy_test.php | ||
container_test.php | ||
coursecat_proxy_test.php | ||
event_description_test.php | ||
event_factory_test.php | ||
event_mapper_test.php | ||
event_test.php | ||
event_times_test.php | ||
event_vault_test.php | ||
events_related_objects_cache_test.php | ||
externallib_test.php | ||
helpers.php | ||
lib_test.php | ||
local_api_test.php | ||
raw_event_retrieval_strategy_test.php | ||
repeat_event_collection_test.php | ||
rrule_manager_test.php | ||
std_proxy_test.php |