See Release Notes
Long Term Support Release
Differences Between: [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]
Calendar event exporter tests tests.
Copyright: | 2017 Ryan Wyllie <ryan@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 311 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file calendar/tests/helpers.php |
core_calendar_event_exporter_testcase:: (8 methods):
get_timestamp_min_limit_test_cases()
test_get_timestamp_min_limit()
get_timestamp_max_limit_test_cases()
test_get_timestamp_max_limit()
test_calendar_event_exporter_course_url_course_event()
test_calendar_event_exporter_course_url_user_event()
test_calendar_event_exporter_popupname_course_shortname_strips_links()
test_calendar_event_exporter_exports_course()
Class: core_calendar_event_exporter_testcase - X-Ref
Calendar event exporter testcase.get_timestamp_min_limit_test_cases() X-Ref |
Data provider for the timestamp min limit test case to confirm that the minimum time limit is set correctly on the boundary cases. |
test_get_timestamp_min_limit($starttime, $min, $expected) X-Ref |
get_timestamp_max_limit_test_cases() X-Ref |
Data provider for the timestamp max limit test case to confirm that the maximum time limit is set correctly on the boundary cases. |
test_get_timestamp_max_limit($starttime, $max, $expected) X-Ref |
test_calendar_event_exporter_course_url_course_event() X-Ref |
Exporting a course event should generate the course URL. |
test_calendar_event_exporter_course_url_user_event() X-Ref |
Exporting a user event should generate the site course URL. |
test_calendar_event_exporter_popupname_course_shortname_strips_links() X-Ref |
Popup name respects filters for course shortname. |
test_calendar_event_exporter_exports_course() X-Ref |
Exported event contains the exported course. |