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.

Recording tests.

Author: Jesus Federico (jesus [at] blindsidenetworks [dt] com)
Copyright: 2018 - present, Blindside Networks Inc
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 308 lines (12 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: recording_test  - X-Ref

Recording test class.

setUp()   X-Ref
Setup for test


test_get_allrecordings_status_refresh(int $status)   X-Ref
Test for bigbluebuttonbn_get_allrecordings status refresh.

param: int $status

test_get_name()   X-Ref
Get name


test_get_description()   X-Ref
Test get description


get_status_provider()   X-Ref
Get possible status

return: array[]

test_get_allrecordings(int $type)   X-Ref
Test for bigbluebuttonbn_get_allrecordings()

param: int $type The activity type

get_allrecordings_types_provider()   X-Ref
Get possible type for recording / tests

return: array[]

test_get_recording_for_group($type)   X-Ref
Test for bigbluebuttonbn_get_allrecordings().

param: int $type

test_get_recordings_from_deleted_activity($type)   X-Ref
Test that we can get recordings from a deleted activity

param: int $type

assert_has_recording_by_name($recordingname, $recordings)   X-Ref
Check that a recording exist in the list of recordings

param: string $recordingname
param: array $recordings

test_recordings_breakoutroom()   X-Ref
Simple recording with breakoutroom fetcher test

return: void