Search moodle.org's
Developer Documentation

  • Bug fixes for general core bugs in 3.7.x will end 11 May 2020 (12 months).
  • Bug fixes for security issues in 3.7.x will end 9 November 2020 (18 months) - Support has ended.
  • minimum PHP 7.1.0 Note: minimum PHP version has increased since Moodle 3.6. PHP 7.2.x and 7.3.x are supported too. PHP 7.x could have some engine limitations.

  • Class: core_calendar_events_testcase  - X-Ref

    This file contains the class that handles testing of the calendar events.

    setUp()   X-Ref
    Test set up.


    test_calendar_event_created()   X-Ref
    Tests for calendar_event_created event.


    test_calendar_event_created_validations()   X-Ref
    Tests for event validations related to calendar_event_created event.


    test_calendar_event_updated()   X-Ref
    Tests for calendar_event_updated event.


    test_calendar_event_updated_toggle_visibility()   X-Ref
    Tests for calendar_event_updated event.


    test_calendar_event_updated_validations()   X-Ref
    Tests for event validations related to calendar_event_created event.


    test_calendar_event_deleted()   X-Ref
    Tests for calendar_event_deleted event.


    test_calendar_event_deleted_validations()   X-Ref
    Tests for event validations related to calendar_event_deleted event.


    test_calendar_subscription_created_site()   X-Ref
    Tests for calendar_subscription_added event for a site subscription.


    test_calendar_subscription_created_category()   X-Ref
    Tests for calendar_subscription_added event for a category subscription.


    test_calendar_subscription_created_course()   X-Ref
    Tests for calendar_subscription_added event for a course subscription.


    test_calendar_subscription_created_group()   X-Ref
    Tests for calendar_subscription_added event for a group subscription.


    test_calendar_subscription_updated_site()   X-Ref
    Tests for calendar_subscription_updated event for a site subscription.


    test_calendar_subscription_updated_category()   X-Ref
    Tests for calendar_subscription_updated event for a category subscription.


    test_calendar_subscription_updated_course()   X-Ref
    Tests for calendar_subscription_updated event for a group subscription.


    test_calendar_subscription_updated_group()   X-Ref
    Tests for calendar_subscription_updated event for a course subscription.


    test_calendar_subscription_deleted_site()   X-Ref
    Tests for calendar_subscription_deleted event for a site subscription.


    test_calendar_subscription_deleted_category()   X-Ref
    Tests for calendar_subscription_deleted event for a category subscription.


    test_calendar_subscription_deleted_course()   X-Ref
    Tests for calendar_subscription_deleted event for a course.


    test_calendar_subscription_deleted_group()   X-Ref
    Tests for calendar_subscription_deleted event for a group.