Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Class: calendar_event_exporter_test  - 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.