Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
Unit tests for /lib/gradelib.php.
Copyright: | 2012 Andrew Davis |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 304 lines (10 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_gradelib_testcase:: (8 methods):
test_grade_update_mod_grades()
test_remove_grade_letters()
test_grade_course_category_delete()
test_grade_regrade_final_grades()
test_grade_get_date_for_user_grade()
grade_get_date_for_user_grade_provider()
test_get_grade_letters()
test_get_grade_letters_custom()
Class: core_gradelib_testcase - X-Ref
test_grade_update_mod_grades() X-Ref |
No description |
test_remove_grade_letters() X-Ref |
Tests the function remove_grade_letters(). |
test_grade_course_category_delete() X-Ref |
Tests the function grade_course_category_delete(). |
test_grade_regrade_final_grades() X-Ref |
Tests the function grade_regrade_final_grades(). |
test_grade_get_date_for_user_grade(stdClass $grade, stdClass $user, ?int $expected) X-Ref |
Tests for the grade_get_date_for_user_grade function. param: stdClass $grade param: stdClass $user param: int $expected |
grade_get_date_for_user_grade_provider() X-Ref |
Data provider for tests of the grade_get_date_for_user_grade function. return: array |
test_get_grade_letters() X-Ref |
Test the caching of grade letters. |
test_get_grade_letters_custom() X-Ref |
Test custom letters. |