moodle/privacy/tests
Eloy Lafuente (stronk7) caf55abf17 MDL-74413 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:

- Moved to the level2 "privacy" namespace:
  - \mod_assign\privacy\feedback_legacy_polyfill_test
  - \mod_assign\privacy\submission_legacy_polyfill_test

- Moved to the level2 "task" namespace:
  - \core_message\task\migrate_message_data_test
  - \ltiservice_gradebookservices\task\cleanup_test
  - \message_email\task\send_email_test
  - \mod_lti\task\clean_access_tokens_test
  - \mod_workshop\task\cron_task_test

- Moved to the level2 "event" namespace:
  - \core_h5p\event\deleted_test
  - \core_h5p\event\viewed_test

- Renamed to a better name:
  - backup_forum_activity_task_test.php (missing "task")
2022-05-07 20:32:30 +02:00
..
fixtures
privacy MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:02 +01:00
approved_contextlist_test.php MDL-66011 test: remove magic @covers lines 2019-10-04 09:40:34 +08:00
approved_userlist_test.php MDL-66011 test: remove magic @covers lines 2019-10-04 09:40:34 +08:00
collection_test.php MDL-74413 phpunit: Move more tests to use correct names and namespaces 2022-05-07 20:32:30 +02:00
contextlist_base_test.php MDL-66011 test: remove magic @covers lines 2019-10-04 09:40:34 +08:00
contextlist_collection_test.php MDL-66011 test: remove magic @covers lines 2019-10-04 09:40:34 +08:00
contextlist_test.php MDL-71036 phpunit: assertContains() now performs strict comparison 2021-03-11 23:04:31 +01:00
legacy_polyfill_test.php MDL-74413 phpunit: Move more tests to use correct names and namespaces 2022-05-07 20:32:30 +02:00
manager_test.php MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
moodle_content_writer_test.php MDL-72115 course: Rename Miscellaneous category 2021-09-13 08:36:17 +02:00
request_helper_test.php
request_transform_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
sitepolicy_test.php MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:04:31 +01:00
tests_content_writer_test.php MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:04:31 +01:00
types_database_table_test.php MDL-74413 phpunit: Move more tests to use correct names and namespaces 2022-05-07 20:32:30 +02:00
types_external_location_test.php MDL-74413 phpunit: Move more tests to use correct names and namespaces 2022-05-07 20:32:30 +02:00
types_plugintype_link_test.php MDL-74413 phpunit: Move more tests to use correct names and namespaces 2022-05-07 20:32:30 +02:00
types_subsystem_link_test.php MDL-74413 phpunit: Move more tests to use correct names and namespaces 2022-05-07 20:32:30 +02:00
types_user_preference_test.php MDL-74413 phpunit: Move more tests to use correct names and namespaces 2022-05-07 20:32:30 +02:00
userlist_base_test.php
userlist_collection.php
userlist_test.php
writer_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00