|
Moodle APIs 4.1
Moodle 4.1.9+ (Build: 20240402)
|
BBB Library tests class trait. More...
Namespaces | |
| namespace | mod_bigbluebuttonbn\test |
| | |
Functions | |
| mod_bigbluebuttonbn\test::create_activity_with_recordings (stdClass $course, int $type, array $recordingdata, int $groupid=0) | |
| Create an activity which includes a set of recordings. | |
| mod_bigbluebuttonbn\test::create_from_dataset (array $dataset) | |
| Create a course, users and recording from dataset given in an array form. | |
| mod_bigbluebuttonbn\test::create_instance (?stdClass $course=null, array $params=[], array $options=[]) | |
| Convenience function to create an instance of a bigbluebuttonactivty. | |
| mod_bigbluebuttonbn\test::create_legacy_log_entries (instance $instance, int $userid, int $count=30, bool $importedrecordings=false, bool $withremoterecordings=true) | |
| Create the legacy log entries for this task. | |
| mod_bigbluebuttonbn\test::create_recordings_for_instance (instance $instance, array $recordingdata=[], $additionalmeetingdata=[]) | |
| Create an return an array of recordings. | |
| mod_bigbluebuttonbn\test::get_course () | |
| Get or create course if it does not exist. | |
| mod_bigbluebuttonbn\test::get_form_data_from_instance (stdClass $bbactivity, ?stdClass $course=null) | |
| Get the matching form data. | |
| mod_bigbluebuttonbn\test::initialise_mock_server () | |
| This test requires mock server to be present. | |
| mod_bigbluebuttonbn\test::setup_course_students_teachers (stdClass $courserecord, int $numstudents, int $numteachers, int $groupsnum) | |
| Generate a course, several students and several groups. | |
Variables | |
| object null | mod_bigbluebuttonbn\test::$course = null |
| trait | mod_bigbluebuttonbn\test::testcase_helper_trait |
BBB Library tests class trait.