moodle/lib/tests
David Mudrák 2d488c8f01 MDL-49329 admin: Keep reference to plugin manager in plugininfo objects
Plugin info objects are owned by the plugin manager (composition
pattern). Even if the plugin manager is a singleton, we need to keep
explicit reference to the plugin manager that owns the plugin info so
that we can mock up things in unit tests.

Therefore this patch introduces a new property of plugin info objects
that holds the reference to the instance of the plugin manager that made
(and hence owns) the given info instance.

The only trouble here is with static methods of plugin info classes such
as \core\plugininfo\base::get_enabled_plugins(). In these cases, the
code keeps using the core_plugin_manager singleton. The solution would
be to pass the plugin manager instance as a parameter but that is not
worth of change for now, IMHO.
2015-10-08 23:32:02 +02:00
..
behat MDL-47494 qtype: Fix the behat tests for OU dd question types 2015-09-18 07:56:27 +01:00
fixtures MDL-49329 admin: Make core_plugin_manager better suited for unit testing 2015-10-08 23:32:02 +02:00
other MDL-51051 core_grades: 'Categories and items' => 'Gradebook setup' 2015-09-14 08:23:32 +08:00
performance
accesslib_test.php MDL-50049 deprecation: Remove usage of deprecated api and cleanup 2015-06-29 17:15:50 +05:30
adhoc_task_test.php
admintree_test.php MDL-40949 admin: Fix $CFG->preventexecpath hints 2014-10-29 10:45:44 +13:00
ajaxlib_test.php
authlib_test.php
blocklib_test.php MDL-46878 blocklib: Testing blocks_delete_instances() 2015-09-18 11:40:09 +08:00
collator_test.php MDL-46124 libraries: Final deprecation of text libs and plugin libs 2014-12-15 17:02:31 +08:00
completionlib_test.php MDL-47449 completion: Ignore timemodified when comparing 2015-08-14 10:53:20 +08:00
component_test.php MDL-49203 webservices: Increment subsystems count in unit tests. 2015-03-31 00:42:27 +02:00
componentlib_test.php
configonlylib_test.php MDL-48980 Security: Always clean the result from min_get_slash_argument 2015-01-28 14:38:29 +08:00
coursecatlib_test.php MDL-41042 coursecat: reset course contacts cache more often 2015-10-07 10:23:03 +08:00
cronlib_test.php MDL-32547 unit tests: Make tests match file_temp_cleanup_task impl. 2015-03-31 01:53:56 +02:00
csslib_test.php
csvclass_test.php
customcontext_test.php
datalib_test.php MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
datalib_update_with_unique_index_test.php
date_legacy_test.php MDL-49684 time: fix unit tests broken by refactoring 2015-04-06 11:09:25 +01:00
date_test.php MDL-49684 timezones: rewrite timezone support 2015-04-06 13:53:51 +12:00
editorlib_test.php
environment_test.php MDL-50624 environment: add PHP7 as unsupported version 2015-08-03 00:58:50 +00:00
event_course_module_instance_list_viewed.php
event_course_module_viewed.php
event_deprecated_test.php
event_grade_deleted_test.php MDL-40697 core: added unit test for grade_deleted event 2014-10-07 19:08:35 -07:00
event_test.php MDL-51623 core_event: Updating error messages 2015-10-08 15:57:46 +08:00
event_unknown_logged_test.php
event_user_graded_test.php MDL-47814 core_grades: Improved coverage of user_graded event tests 2014-10-24 11:48:14 +02:00
event_user_password_updated_test.php
events_test.php MDL-33606 course: Adding section info to course_viewed log 2014-11-17 15:18:18 +08:00
eventslib_test.php
externallib_test.php MDL-51213 externallib: external_format_text/external_format_string 2015-08-27 15:56:36 +08:00
filelib_test.php MDL-44828 filelib: Fix open error for force-downloaded files in mobile 2015-08-14 09:54:20 +08:00
filetypes_test.php MDL-42616 filelib: Use config value for custom MIME types (1/2) 2014-12-19 14:48:59 +00:00
filter_manager_test.php MDL-50491 filters: option to disable some filters in filter_text. 2015-06-17 13:48:55 +01:00
filterlib_test.php
formslib_test.php MDL-30358 forms: strict validation is too strict 2014-10-15 11:57:01 +08:00
gdlib_test.php MDL-49627 core: Improve thumbnail generation 2015-04-01 11:05:19 +08:00
gradelib_test.php
grades_externallib_test.php MDL-47766 web services: get_grades exposes hidden grades to students 2014-11-04 09:13:46 +13:00
grading_externallib_test.php MDL-46861 added missing required field areaname 2014-08-29 09:42:54 +12:00
grouplib_test.php MDL-49314 groups: Unit tests for groups_user_groups_visible 2015-04-01 10:19:26 +02:00
html2text_test.php
html_writer_test.php MDL-37477 output: Add support for table captions 2015-02-10 16:15:49 +08:00
htmlpurifier_test.php
jquery_test.php
ldaplib_test.php MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
lock_config_test.php
lock_test.php
markdown_test.php
mathslib_test.php
medialib_test.php MDL-46398 medialib : Change media player ranks 2015-07-24 15:54:45 +08:00
message_test.php MDL-49799 behat: replaced asd.com with example.com 2015-04-20 11:21:20 +08:00
messageinbound_test.php MDL-50790 inbound: Stop incorrect amount of lines getting removed. 2015-09-21 14:25:21 +08:00
messagelib_test.php MDL-51266 unittest: replaced low level phpunit_util calls 2015-09-23 15:42:48 +08:00
minify_test.php
modinfolib_test.php MDL-44985 libraries: Final deprecation of conditional apis in modinfo 2014-12-10 12:20:37 +05:30
moodle_page_test.php MDL-47806: Add footer function for command line output. 2014-10-22 14:32:15 +11:00
moodlelib_test.php MDL-50860 core: improve creation of random strings 2015-09-08 01:07:37 +02:00
mustache_template_finder_test.php MDL-50085 templates: Minor fixes from peer review 2015-05-05 03:19:39 +02:00
navigationlib_test.php MDL-50917 navigation: Unit test for viewing preference page. 2015-09-22 10:57:52 +08:00
outputcomponents_test.php MDL-46652 output: more thorough custom menu multilang tests 2014-09-30 09:54:08 +13:00
outputfactories_test.php
outputrequirementslib_test.php
plugin_manager_test.php MDL-49329 admin: Keep reference to plugin manager in plugininfo objects 2015-10-08 23:32:02 +02:00
portfoliolib_test.php
progress_test.php
questionlib_test.php MDL-47787 course: Added question delete to cm delete. 2015-06-25 16:35:22 -04:00
regex_test.php MDL-49631 fix incorrect whitespace remplacements 2015-03-23 17:40:15 +13:00
rsslib_test.php
scheduled_task_test.php MDL-50532 tasks: Delete obsolete tasks during upgrade 2015-07-29 11:25:16 +08:00
session_manager_test.php MDL-47834 auth: Allow enforcing of login limits 2014-11-21 10:00:01 +13:00
sessionlib_test.php
setuplib_test.php MDL-50891 useragent: Move web crawler checks to useragent class 2015-08-28 14:31:51 +08:00
statslib_test.php MDL-49684 timezones: rewrite timezone support 2015-04-06 13:53:51 +12:00
string_manager_standard_test.php MDL-48470 strings: Fix unit tests by moving to another string. 2015-06-08 22:53:06 +02:00
tablelib_test.php MDL-45725 core_lib: Add unit test for persistent flexible tables 2015-03-16 10:41:11 +00:00
text_test.php MDL-46124 libraries: Final deprecation of text libs and plugin libs 2014-12-15 17:02:31 +08:00
theme_config_test.php
update_checker_test.php
update_deployer_test.php MDL-46811 update download.moodle.org url to https 2014-09-09 16:17:32 +01:00
upgradelib_test.php MDL-51132 tags: do not use user tags for tagging courses 2015-09-05 11:21:15 +08:00
user_menu_test.php MDL-49983 navigation: Remove 'my' from user context navigation 2015-05-04 12:38:50 +08:00
user_test.php MDL-49821 core_user: New function for checking if a user is active 2015-09-25 11:33:13 +02:00
useragent_test.php MDL-50891 core_useragent: Restore default after tests 2015-09-02 13:08:47 +08:00
weblib_format_text_test.php MDL-50491 filters: Some final touches. 2015-06-18 04:11:24 +02:00
weblib_test.php MDL-50868 weblib: add unit test for ruby support 2015-07-24 14:09:48 +09:00
xhtml_container_stack_test.php