Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.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.