|
Moodle APIs 3.11
Moodle 3.11.11+ (Build: 20221125)
|
This file contains helper classes and functions for testing. More...
Classes | |
| class | action_event_test_factory |
| A test factory that will create action events. More... | |
Functions | |
| create_action_event (array $data) | |
| Helper function to create an action event. More... | |
| create_event ($properties) | |
| Create a calendar event with the given properties. More... | |
| create_group_override_event (string $modulename, int $instanceid, int $courseid, int $groupid) | |
| Helper function to create an group override calendar event. More... | |
| create_standard_events (int $quantity) | |
| Helper function to create a x number of events for each event type. More... | |
| create_user_override_event (string $modulename, int $instanceid, int $userid) | |
| Helper function to create an user override calendar event. More... | |
Variables | |
| global | $CFG |
This file contains helper classes and functions for testing.