moodle/analytics/tests
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
..
behat MDL-72456 mod_assign: fix behats 2021-11-25 15:29:54 +01:00
fixtures MDL-67217 unittest: usleep and windows don't get along well 2019-11-22 07:41:07 +08:00
privacy MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:02 +01:00
analysis_test.php MDL-65680 analytics: Fix random failure on slow test environments 2019-05-24 10:59:13 +02:00
calculation_info_test.php MDL-66536 analytics: Indicators can add extra data for targets 2019-09-18 13:07:21 +08:00
community_of_inquiry_activities_completed_by.php MDL-59256 analytics: Move get_activities test scope 2017-11-03 12:42:20 +01:00
course_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
dataset_manager_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
indicator_test.php MDL-71036 phpunit: Mock->setMethods() silently deprecated 2021-03-11 23:04:31 +01:00
manager_test.php MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
model_test.php MDL-67673 phpunit: Remove deprecated assertInternalType() 2020-10-21 12:45:59 +02:00
prediction_actions_test.php MDL-65553 core_analytics: Don't allow to flag predictions several times 2021-04-15 16:39:09 +02:00
prediction_test.php MDL-72115 course: Rename Miscellaneous category 2021-09-13 08:36:17 +02:00
stats_test.php MDL-67673 phpunit: Fix the return type of template methods 2020-10-21 12:45:59 +02:00