mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +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...) |
||
---|---|---|
.. | ||
category | ||
classes/privacy | ||
cohort | ||
database | ||
fee | ||
flatfile | ||
guest | ||
imsenterprise | ||
ldap | ||
lti | ||
manual | ||
meta | ||
mnet | ||
paypal | ||
self | ||
tests | ||
yui | ||
ajax.php | ||
bulkchange_forms.php | ||
editenrolment.php | ||
editenrolment_form.php | ||
editinstance.php | ||
editinstance_form.php | ||
externallib.php | ||
index.php | ||
instances.php | ||
locallib.php | ||
otherusers.php | ||
README.txt | ||
renderer.php | ||
test_settings.php | ||
unenroluser.php | ||
upgrade.txt | ||
users_forms.php |
ENROLMENT MODULES ----------------- (Yes, that's the correct English spelling ;-) ) All enrolment modules must extend base class enrol_plugin which is defined in lib/enrollib.php. You can find documentation of each method in the base class.