Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]
User grade report functions unit tests
Copyright: | 2015 Juan Leyva <juan@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 394 lines (21 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
gradereport_user_externallib_testcase:: (7 methods):
load_data()
test_get_grades_table_teacher()
test_get_grades_table_student()
test_get_grades_table_permissions()
test_view_grade_report()
test_get_grade_items_teacher()
test_get_grade_items_student()
Class: gradereport_user_externallib_testcase - X-Ref
User grade report functions unit testsload_data($s1grade, $s2grade) X-Ref |
Loads some data to be used by the different tests param: int $s1grade Student 1 grade param: int $s2grade Student 2 grade return: array Course and users instances |
test_get_grades_table_teacher() X-Ref |
Test get_grades_table function case teacher |
test_get_grades_table_student() X-Ref |
Test get_grades_table function case student |
test_get_grades_table_permissions() X-Ref |
Test get_grades_table function case incorrect permissions |
test_view_grade_report() X-Ref |
Test view_grade_report function |
test_get_grade_items_teacher() X-Ref |
Test get_grades_items function case teacher |
test_get_grade_items_student() X-Ref |
Test get_grades_items function case student |