Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.11.x will end 14 Nov 2022 (12 months plus 6 months extension).
  • Bug fixes for security issues in 3.11.x will end 13 Nov 2023 (18 months plus 12 months extension).
  • PHP version: minimum PHP 7.3.0 Note: minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is supported too.

Privacy tests for gradingform_rubric

Copyright: 2018 Adrian Greeve
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 182 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: provider_test  - X-Ref

Privacy tests for gradingform_rubric

test_get_gradingform_export_data()   X-Ref
Test the export of rubric data.


test_delete_gradingform_for_instances()   X-Ref
Test the deletion of rubric user information via the instance ID.


get_test_rubric(context_module $context, string $component, string $area)   X-Ref
Generate a rubric controller with sample data required for testing of this class.

param: context_module $context
param: string $component
param: string $area
return: gradingform_rubric_controller

get_test_form_data(gradingform_rubric_controller $controller,int $itemid,float $spellingscore,string $spellingremark,float $picturescore,string $pictureremark)   X-Ref
Fetch a set of sample data.

param: gradingform_rubric_controller $controller
param: int $itemid
param: float $spellingscore
param: string $spellingremark
param: float $picturescore
param: string $pictureremark
return: array