Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are 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: 183 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: privacy_testcase  - 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