See Release Notes
Long Term Support Release
Differences Between: [Versions 39 and 310] [Versions 39 and 311] [Versions 39 and 400] [Versions 39 and 401] [Versions 39 and 402] [Versions 39 and 403]
(no description)
File Size: | 1127 lines (51 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/grade/tests/fixtures/lib.php |
core_grade_item_testcase:: (49 methods):
test_grade_item()
sub_test_grade_item_construct()
sub_test_grade_item_insert()
sub_test_grade_item_delete()
sub_test_grade_item_update()
sub_test_grade_item_load_scale()
sub_test_grade_item_load_outcome()
sub_test_grade_item_qualifies_for_regrading()
sub_test_grade_item_force_regrading()
sub_test_grade_item_fetch()
sub_test_grade_item_fetch_all()
sub_test_grade_item_get_all_finals()
sub_test_grade_item_get_final()
sub_test_grade_item_get_sortorder()
sub_test_grade_item_set_sortorder()
sub_test_grade_item_move_after_sortorder()
sub_test_grade_item_get_name()
sub_test_grade_item_set_parent()
sub_test_grade_item_get_parent_category()
sub_test_grade_item_load_parent_category()
sub_test_grade_item_get_item_category()
sub_test_grade_item_load_item_category()
sub_test_grade_item_regrade_final_grades()
sub_test_grade_item_adjust_raw_grade()
sub_test_grade_item_rescale_grades_keep_percentage()
sub_test_grade_item_set_locked()
sub_test_grade_item_is_locked()
sub_test_grade_item_set_hidden()
sub_test_grade_item_is_hidden()
sub_test_grade_item_is_category_item()
sub_test_grade_item_is_course_item()
sub_test_grade_item_fetch_course_item()
sub_test_grade_item_depends_on()
scales_outcomes_test_grade_item_depends_on()
sub_test_refresh_grades()
sub_test_grade_item_is_calculated()
sub_test_grade_item_set_calculation()
sub_test_grade_item_get_calculation()
sub_test_grade_item_compute()
sub_test_update_final_grade()
sub_test_grade_item_can_control_visibility()
sub_test_grade_item_fix_sortorder()
insert_fake_grade_item_sortorder()
test_set_aggregation_fields_for_aggregation()
sub_test_grade_item_created_event()
sub_test_grade_item_updated_event()
test_grade_duplicate_grade_item_success()
test_grade_duplicate_grade_item_incomplete()
test_grade_duplicate_grade_item_not_in_db()
Class: core_grade_item_testcase - X-Ref
test_grade_item() X-Ref |
No description |
sub_test_grade_item_construct() X-Ref |
No description |
sub_test_grade_item_insert() X-Ref |
No description |
sub_test_grade_item_delete() X-Ref |
No description |
sub_test_grade_item_update() X-Ref |
No description |
sub_test_grade_item_load_scale() X-Ref |
No description |
sub_test_grade_item_load_outcome() X-Ref |
No description |
sub_test_grade_item_qualifies_for_regrading() X-Ref |
No description |
sub_test_grade_item_force_regrading() X-Ref |
No description |
sub_test_grade_item_fetch() X-Ref |
No description |
sub_test_grade_item_fetch_all() X-Ref |
No description |
sub_test_grade_item_get_all_finals() X-Ref |
No description |
sub_test_grade_item_get_final() X-Ref |
No description |
sub_test_grade_item_get_sortorder() X-Ref |
No description |
sub_test_grade_item_set_sortorder() X-Ref |
No description |
sub_test_grade_item_move_after_sortorder() X-Ref |
No description |
sub_test_grade_item_get_name() X-Ref |
No description |
sub_test_grade_item_set_parent() X-Ref |
No description |
sub_test_grade_item_get_parent_category() X-Ref |
No description |
sub_test_grade_item_load_parent_category() X-Ref |
No description |
sub_test_grade_item_get_item_category() X-Ref |
No description |
sub_test_grade_item_load_item_category() X-Ref |
No description |
sub_test_grade_item_regrade_final_grades() X-Ref |
No description |
sub_test_grade_item_adjust_raw_grade() X-Ref |
No description |
sub_test_grade_item_rescale_grades_keep_percentage() X-Ref |
No description |
sub_test_grade_item_set_locked() X-Ref |
No description |
sub_test_grade_item_is_locked() X-Ref |
No description |
sub_test_grade_item_set_hidden() X-Ref |
No description |
sub_test_grade_item_is_hidden() X-Ref |
No description |
sub_test_grade_item_is_category_item() X-Ref |
No description |
sub_test_grade_item_is_course_item() X-Ref |
No description |
sub_test_grade_item_fetch_course_item() X-Ref |
No description |
sub_test_grade_item_depends_on() X-Ref |
No description |
scales_outcomes_test_grade_item_depends_on() X-Ref |
No description |
sub_test_refresh_grades() X-Ref |
No description |
sub_test_grade_item_is_calculated() X-Ref |
No description |
sub_test_grade_item_set_calculation() X-Ref |
No description |
sub_test_grade_item_get_calculation() X-Ref |
No description |
sub_test_grade_item_compute() X-Ref |
No description |
sub_test_update_final_grade() X-Ref |
No description |
sub_test_grade_item_can_control_visibility() X-Ref |
No description |
sub_test_grade_item_fix_sortorder() X-Ref |
Test the {@link grade_item::fix_duplicate_sortorder() function with faked duplicate sortorder data. |
insert_fake_grade_item_sortorder($courseid, $sortorder) X-Ref |
Populate some fake grade items into the database with specified sortorder and course id. NOTE: This function doesn't make much attempt to respect the gradebook internals, its simply used to fake some data for testing the upgradelib function. Please don't use it for other purposes. param: int $courseid id of course param: int $sortorder numeric sorting order of item return: stdClass grade item object from the database. |
test_set_aggregation_fields_for_aggregation() X-Ref |
No description |
sub_test_grade_item_created_event() X-Ref |
Test that grade item event triggered when a grade item is created. |
sub_test_grade_item_updated_event() X-Ref |
Test that grade item event triggered when a grade item is updated. |
test_grade_duplicate_grade_item_success() X-Ref |
Test grade item duplication expecting success. |
test_grade_duplicate_grade_item_incomplete() X-Ref |
Test grade item duplication exception expected with incomplete grade item. |
test_grade_duplicate_grade_item_not_in_db() X-Ref |
Test grade item duplication exception expected because item must be in db. |