Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

(no description)

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

Defines 1 class


Class: extension_test  - X-Ref

Extension helper class test

setUp()   X-Ref
Setup our fake plugin

return: void

tearDown()   X-Ref
Setup our fake plugin

return: void

test_get_class_implementing(bool $bbbenabled, string $apiclass, array $extensionclasses)   X-Ref
Test for the type_text provider.

param: bool $bbbenabled
param: string $apiclass
param: array $extensionclasses

test_mod_instance_helper_add()   X-Ref
No description

test_mod_instance_helper_update()   X-Ref
Test the update module callback

return: void

test_mod_instance_helper_delete()   X-Ref
Test delete module callback

return: void

test_action_url_addons()   X-Ref
Test the action_url_addons with plugin enabled

return: void

test_join_url_with_additional_field()   X-Ref
Test the action_url_addons with plugin enabled

return: void

test_backup_restore()   X-Ref
Test backup restore (with extension)


classes_implementing_class()   X-Ref
Data provider for testing get_class_implementing

return: array[]

enable_plugins(bool $bbbenabled)   X-Ref
Enable plugins

param: bool $bbbenabled
return: void