Search moodle.org's
Developer Documentation

See Release Notes

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

(no description)

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

Defines 1 class


Class: provider_test  - X-Ref

Unit tests for privacy provider

test_get_metadata()   X-Ref
Test provider metadata


test_get_contexts_for_userid_report()   X-Ref
Test getting contexts for user who created a report


test_get_contexts_for_userid_audience()   X-Ref
Test getting contexts for user who created an audience for a report by another user


test_get_contexts_for_userid_schedule()   X-Ref
Test getting contexts for user who created a schedule for a report by another user


test_get_users_in_context()   X-Ref
Test getting users in given context


test_export_user_data()   X-Ref
Test export of user data


test_export_user_data_empty()   X-Ref
Test export of user data where there is nothing to export


test_export_user_preferences()   X-Ref
Test to check export_user_preferences.