moodle/portfolio
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
..
classes/privacy MDL-63785 core_portfolio: performance improvement 2018-12-10 14:52:12 +11:00
download MDL-71583 versions: Add all the missing full-stops to version/requires 2021-05-11 20:11:07 +02:00
flickr MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:02 +01:00
googledocs MDL-73659 phpunit: restore_date, api, rule, plugin, manager & helper 2022-02-05 00:03:32 +01:00
mahara MDL-73348 phpunit: normalize all privacy provider tests 2021-12-17 14:21:02 +01:00
tests/privacy MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
add.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
file.php MDL-35628 performance: Remove dirname() where possible. 2016-06-10 08:06:49 +10:00
upgrade.txt MDL-72615 core: Remove boxnet portfolio and repository 2021-10-27 06:24:55 +02:00