Tests for the the Forum gradeitem.
Copyright: | Andrew Nicols <andrew@nicols.co.uk> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 190 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file mod/forum/tests/generator_trait.php |
forum_gradeitem_test:: (5 methods):
test_get_grade_for_user_exists()
test_user_has_grade()
test_get_and_store_grade_for_user_with_simple_direct_grade()
test_get_and_store_grade_for_user_with_rubric()
get_forum_instance()
Class: forum_gradeitem_test - X-Ref
Tests for the the Forum gradeitem.test_get_grade_for_user_exists() X-Ref |
Test fetching of a grade for a user when the grade has been created. |
test_user_has_grade() X-Ref |
Test fetching of a grade for a user when the grade has been created. |
test_get_and_store_grade_for_user_with_simple_direct_grade() X-Ref |
Ensure that it is possible to get, and update, a grade for a user when simple direct grading is in use. |
test_get_and_store_grade_for_user_with_rubric() X-Ref |
Ensure that it is possible to get, and update, a grade for a user when a rubric is in use. |
get_forum_instance(array $config = []) X-Ref |
Get a forum instance. param: array $config return: forum_entity |