Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

(no description)

File Size: 319 lines (13 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: completion_test  - X-Ref

Tests for Big Blue Button Completion.

setUp()   X-Ref
Setup basic


test_get_completion_state_no_rules()   X-Ref
Completion with no rules: the completion is completed as soons as we view the course.


test_get_completion_state_no_rules_and_join_meeting()   X-Ref
Completion with no rules and join meeting


test_get_completion_state_incomplete()   X-Ref
With state incomplete


test_get_completion_state_complete()   X-Ref
With state complete


test_mod_bigbluebuttonbn_get_completion_active_rule_descriptions()   X-Ref
No rule description but active


test_view()   X-Ref
Completion View


test_get_completion_with_events(array $customcompletionrules, array $events, int $expectedstate)   X-Ref
Completion with no rules and join meeting

param: array $customcompletionrules
param: array $events
param: int $expectedstate

custom_completion_data_provider()   X-Ref
Data generator

return: array[]