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.

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