Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
External block functions unit tests
Copyright: | 2017 Juan Leyva <juan@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 464 lines (20 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_block_externallib_testcase:: (9 methods):
test_get_course_blocks()
test_get_course_blocks_site_home()
test_get_course_blocks_overrides()
test_get_course_blocks_contents()
test_get_course_blocks_contents_with_mathjax()
test_get_dashboard_blocks_default_dashboard()
test_get_dashboard_blocks_default_dashboard_including_sticky_block()
test_get_dashboard_blocks_custom_user_dashboard()
test_get_dashboard_blocks_other_user_missing_permissions()
Class: core_block_externallib_testcase - X-Ref
External block functions unit teststest_get_course_blocks() X-Ref |
Test get_course_blocks |
test_get_course_blocks_site_home() X-Ref |
Test get_course_blocks on site home |
test_get_course_blocks_overrides() X-Ref |
Test get_course_blocks |
test_get_course_blocks_contents() X-Ref |
Test get_course_blocks contents |
test_get_course_blocks_contents_with_mathjax() X-Ref |
Test get_course_blocks contents with mathjax. |
test_get_dashboard_blocks_default_dashboard() X-Ref |
Test user get default dashboard blocks. |
test_get_dashboard_blocks_default_dashboard_including_sticky_block() X-Ref |
Test user get default dashboard blocks including a sticky block. |
test_get_dashboard_blocks_custom_user_dashboard() X-Ref |
Test admin get user's custom dashboard blocks. |
test_get_dashboard_blocks_other_user_missing_permissions() X-Ref |
Test user tries to get other user blocks not having permission. |