moodle/lib/tests
sam marshall 7724e543ff MDL-76129 accesslib: Speed up adding new cloned capabilities
Adding new capabilities can be slow if they have permissions cloned
from an existing capability, and if there are many places in the
database where the existing capability was overridden.

This change optimises the clone-capability performance, approximately
halving the number of queries required.
2022-12-22 11:05:39 +00:00
..
analytics MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
behat MDL-76490 behat: correct step for opening autocomplete in container. 2022-12-05 14:01:55 +00:00
content/export MDL-75880 phpunit: fix all @coversDefaultClass missing @covers 2022-11-04 16:51:20 +01:00
db MDL-74506 block: Correct parentcontextid for blocks in dashboard 2022-04-16 17:49:18 +08:00
event MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
external MDL-72701 unit tests: Fix broken @covers annotations 2021-12-21 09:24:00 +08:00
fixtures MDL-55580 core: Process for deprecating a capability 2022-10-11 08:48:17 +01:00
lock MDL-74960 core\lock: Performance info - display lock performance 2022-09-26 11:24:10 +01:00
navigation MDL-75077 output: prevent duplicate ID errors in custom menus. 2022-10-05 18:29:17 +01:00
other MDL-74853 various: add second parameter to htmlentities functions 2022-11-28 16:12:20 +01:00
output MDL-75516 core: Perform proper JSON encoding in mustache quote helper 2022-12-02 13:39:58 +01:00
performance
plugininfo MDL-73726 dataformat: obey sort order when returning enabled plugins. 2022-06-06 09:32:36 +01:00
task MDL-66902 tests: Fix all incorrect namespaces 2022-09-26 14:12:16 +02:00
accesslib_has_capability_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
accesslib_test.php MDL-76129 accesslib: Speed up adding new cloned capabilities 2022-12-22 11:05:39 +00:00
adminlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
admintree_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
ajaxlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
analysers_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
antivirus_test.php MDL-71627 check: Add AV status, notification levels and more logging 2021-08-11 11:46:15 +10:00
authlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
behat_lib_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
blocklib_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
check_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
client_test.php MDL-65637 core_oauth2: Create new oauth2 mapping function 2021-06-02 08:11:38 +08:00
collator_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
completionlib_test.php Merge branch 'MDL-58266-master' of https://github.com/JBThong/moodle 2022-10-17 12:51:59 +03:00
component_test.php MDL-71096 core: Add meta information about APIs to core 2022-12-09 10:49:12 +01:00
componentlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
configonlylib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
content_test.php MDL-69559 course: Add capability and access checks for course download 2020-10-26 10:00:47 +08:00
context_block_test.php MDL-74271 context: Improve performance of block context creation 2022-04-06 23:40:15 +08:00
core_media_player_native_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
core_renderer_template_exploit_test.php MDL-68066 output: Apply disable lambda rendering to Mustache renderer 2022-09-07 23:54:24 +08:00
coverage.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
cronlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
csslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
csvclass_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
curl_security_helper_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
customcontext_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
dataformat_test.php MDL-73278 phpunit: Rename already namespaced classes to match file name 2021-12-07 23:54:29 +01:00
datalib_test.php MDL-75283 admin: Update admin user fetching to use sort helper 2022-09-07 13:16:17 +08:00
datalib_update_with_unique_index_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
date_legacy_test.php MDL-75100 core: replace function strftime deprecated in PHP 8.1 2022-11-21 11:41:12 +01:00
date_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
editorlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
encryption_test.php MDL-73278 phpunit: Rename already namespaced classes to match file name 2021-12-07 23:54:29 +01:00
environment_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
event_course_module_instance_list_viewed.php
event_course_module_viewed.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
exporter_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
externallib_test.php MDL-73485 phpunit: externallib, generator and filter tescase names 2022-01-21 19:48:23 +01:00
filelib_test.php Merge branch 'MDL-75231-master' of https://github.com/lameze/moodle 2022-09-06 23:49:34 +08:00
filestorage_zip_archive_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
filetypes_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
filter_manager_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
filterlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
formslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
gdlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
googlelib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
gradelib_test.php MDL-72451 core: Stop keep regrading when there is an error 2022-11-17 08:54:47 +00:00
grades_external_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
grading_external_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
grouplib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
h5p_clean_orphaned_records_task_test.php MDL-66769 core_h5p: Clean up orphaned h5p records task. 2021-02-03 10:10:30 +02:00
html2text_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
html_writer_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
htmlpurifier_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
ip_utils_test.php MDL-75889 core: compare domain names in a case-insensitive manner. 2022-11-07 22:37:15 +00:00
jquery_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
ldaplib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
licenselib_test.php MDL-45184 tool_licenses: Add custom licenses 2020-05-26 12:08:05 +10:00
lock_config_test.php MDL-74960 core\lock: Performance info - display lock performance 2022-09-26 11:24:10 +01:00
lock_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
markdown_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
mathslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
medialib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
message_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
messageinbound_test.php MDL-76112 various: can not pss null as 3rd param to preg_split 2022-10-28 10:51:20 +02:00
messagelib_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
minify_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
modinfolib_test.php MDL-76105 lang: Use fixed strings in tests, too. 2022-11-17 10:37:45 +00:00
moodle_page_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
moodle_url_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
moodlelib_current_language_test.php MDL-74608 activities: a new option to force the activity language 2022-08-15 22:15:52 +01:00
moodlelib_test.php MDL-76235 core: compare email diversion exceptions case-insensitively. 2022-12-09 11:19:18 +00:00
myprofilelib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
navigationlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
notification_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
oauth2_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
outputcomponents_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
outputfactories_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
outputrequirementslib_test.php MDL-72461 core: Required JS files in $PAGE served by the Moodle handler 2022-12-09 13:47:19 +01:00
pdflib_test.php MDL-76495 lib: test for qrcode in TCPDF 2022-11-26 19:18:29 +01:00
persistent_test.php MDL-74192 core: add strictness to persistent get_record method. 2022-05-19 15:21:39 +01:00
phpxmlrpc_test.php MDL-76055 libraries: Autoload phpxmlrpc and verify it works 2022-11-02 15:56:38 +01:00
plugin_manager_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
portfoliolib_test.php MDL-37655 phpunit: Avoid having multiple testcase classes in 1 file 2021-03-30 19:17:54 +02:00
progress_display_test.php MDL-67673 phpunit: Remove deprecated assertContains() uses on strings 2020-10-21 12:46:00 +02:00
progress_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
qrcode_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
questionlib_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
regex_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
report_helper_test.php MDL-72094 core_report: Deprecate report_helper::save_selected_report() 2021-09-14 11:44:18 +08:00
requirejs_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
rsslib_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
rtlcss_test.php
sample_questions.ser
sample_questions.xml
sample_questions_with_old_image_tag.ser
sample_questions_with_old_image_tag.xml
sample_questions_wrong.xml
scss_test.php MDL-73785 phpunit: Move more tests to use correct names and namespaces 2022-03-03 12:19:30 +01:00
session_manager_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
session_redis_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
sessionlib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
setuplib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
statslib_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
string_manager_standard_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
tablelib_test.php MDL-68550 output: Improve accessibility of the paging bar 2022-11-10 06:06:02 +11:00
text_test.php MDL-74853 various: add second parameter to htmlentities functions 2022-11-28 16:12:20 +01:00
theme_config_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
update_api_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
update_checker_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
update_code_manager_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
update_validator_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
upgrade_util_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
upgradelib_test.php MDL-76053 admin: Remove various warnings related to MNet 2022-11-08 16:49:18 +01:00
user_menu_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
user_test.php MDL-75111 phpunit: Move tests to use correct names and ns (take#4) 2022-08-26 16:34:20 +02:00
useragent_test.php MDL-72701 core: Improve code coverage for core 2021-12-21 09:24:00 +08:00
weblib_format_text_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
weblib_test.php MDL-72461 core: Required JS files in $PAGE served by the Moodle handler 2022-12-09 13:47:19 +01:00
xhprof_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
xhtml_container_stack_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00
xmlize_test.php MDL-75716 phpunit: Move tests to use correct names and ns (take#5) 2022-09-12 19:29:34 +02:00