[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Unit tests for (some of) mod/assign/locallib.php.
Copyright: | 1999 onwards Martin Dougiamas {@link http://moodle.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 2781 lines (132 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
mod_assign_locallib_testcase:: (63 methods):
test_return_links()
test_get_feedback_plugins()
test_get_submission_plugins()
test_is_blind_marking()
get_assign_perpage_provider()
test_get_assign_perpage()
test_gradingtable_extension_due_date()
test_gradingtable_extension_date_calculation_for_lateness()
test_gradingtable_status_rendering()
test_gradingtable_group_submissions_rendering()
test_show_intro()
test_has_submissions_or_grades()
test_delete_grades()
test_delete_instance()
test_reset_userdata()
test_plugin_settings()
test_update_calendar()
test_update_instance()
test_cannot_submit_empty()
test_new_submission_empty()
test_new_submission_empty_testcases()
test_list_participants()
test_get_participant_user_not_exist()
test_get_participant_not_enrolled()
test_get_participant_no_submission()
test_get_participant_with_ungraded_submission()
test_get_participant_with_graded_submission()
test_count_teams()
test_submit_to_default_group()
test_count_submissions()
test_count_submissions_for_groups()
test_get_grading_userid_list()
test_cron()
test_markingworkflow_cron()
test_is_graded()
test_can_grade()
test_can_view_submission()
test_update_submission()
test_group_submissions_submit_for_marking_requireallteammemberssubmit()
test_group_submissions_submit_for_marking()
test_submissions_open()
test_get_graders()
test_get_notified_users()
test_group_members_only()
test_get_uniqueid_for_user()
test_show_student_summary()
test_attempt_reopen_method_manual()
test_attempt_reopen_method_untilpass()
test_markingworkflow()
test_markerallocation()
test_teacher_submit_for_student()
test_disable_submit_after_cutoff_date()
test_submission_comment_plugin_settings()
test_feedback_comment_commentinline()
test_feedback_plugin_settings()
test_is_gradebook_feedback_enabled()
test_can_edit_submission()
test_can_view_blind_details()
test_get_shared_group_members()
test_get_plugins_file_areas()
test_process_save_quick_grades()
test_update_activity_completion_records_solitary_submission()
test_update_activity_completion_records_team_submission()
Class: mod_assign_locallib_testcase - X-Ref
Unit tests for (some of) mod/assign/locallib.php.test_return_links() X-Ref |
No description |
test_get_feedback_plugins() X-Ref |
No description |
test_get_submission_plugins() X-Ref |
No description |
test_is_blind_marking() X-Ref |
No description |
get_assign_perpage_provider() X-Ref |
Data provider for test_get_assign_perpage return: array Provider data |
test_get_assign_perpage($maxperpage, $userprefs) X-Ref |
Test maxperpage param: integer $maxperpage site config value param: array $userprefs Array of user preferences and expected page sizes |
test_gradingtable_extension_due_date() X-Ref |
Test submissions with extension date. |
test_gradingtable_extension_date_calculation_for_lateness() X-Ref |
Test that late submissions with extension date calculate correctly. |
test_gradingtable_status_rendering() X-Ref |
No description |
test_gradingtable_group_submissions_rendering() X-Ref |
Check that group submission information is rendered correctly in the grading table. |
test_show_intro() X-Ref |
No description |
test_has_submissions_or_grades() X-Ref |
No description |
test_delete_grades() X-Ref |
No description |
test_delete_instance() X-Ref |
No description |
test_reset_userdata() X-Ref |
No description |
test_plugin_settings() X-Ref |
No description |
test_update_calendar() X-Ref |
No description |
test_update_instance() X-Ref |
No description |
test_cannot_submit_empty() X-Ref |
No description |
test_new_submission_empty($data, $expected) X-Ref |
Test new_submission_empty We only test combinations of plugins here. Individual plugins are tested in their respective test files. param: string $data The file submission data param: bool $expected The expected return value |
test_new_submission_empty_testcases() X-Ref |
Dataprovider for the test_new_submission_empty testcase return: array of testcases |
test_list_participants() X-Ref |
No description |
test_get_participant_user_not_exist() X-Ref |
No description |
test_get_participant_not_enrolled() X-Ref |
No description |
test_get_participant_no_submission() X-Ref |
No description |
test_get_participant_with_ungraded_submission() X-Ref |
No description |
test_get_participant_with_graded_submission() X-Ref |
No description |
test_count_teams() X-Ref |
No description |
test_submit_to_default_group() X-Ref |
No description |
test_count_submissions() X-Ref |
No description |
test_count_submissions_for_groups() X-Ref |
No description |
test_get_grading_userid_list() X-Ref |
No description |
test_cron() X-Ref |
No description |
test_markingworkflow_cron() X-Ref |
Test delivery of grade notifications as controlled by marking workflow. |
test_is_graded() X-Ref |
No description |
test_can_grade() X-Ref |
No description |
test_can_view_submission() X-Ref |
No description |
test_update_submission() X-Ref |
No description |
test_group_submissions_submit_for_marking_requireallteammemberssubmit() X-Ref |
No description |
test_group_submissions_submit_for_marking() X-Ref |
No description |
test_submissions_open() X-Ref |
No description |
test_get_graders() X-Ref |
No description |
test_get_notified_users() X-Ref |
No description |
test_group_members_only() X-Ref |
No description |
test_get_uniqueid_for_user() X-Ref |
No description |
test_show_student_summary() X-Ref |
No description |
test_attempt_reopen_method_manual() X-Ref |
No description |
test_attempt_reopen_method_untilpass() X-Ref |
Test reopen behavior when in "Reopen until pass" mode. |
test_markingworkflow() X-Ref |
No description |
test_markerallocation() X-Ref |
No description |
test_teacher_submit_for_student() X-Ref |
test_disable_submit_after_cutoff_date() X-Ref |
No description |
test_submission_comment_plugin_settings() X-Ref |
Testing for submission comment plugin settings |
test_feedback_comment_commentinline() X-Ref |
Testing for comment inline settings |
test_feedback_plugin_settings() X-Ref |
Testing for feedback comment plugin settings |
test_is_gradebook_feedback_enabled() X-Ref |
Testing if gradebook feedback plugin is enabled. |
test_can_edit_submission() X-Ref |
Testing can_edit_submission |
test_can_view_blind_details() X-Ref |
Test if the view blind details capability works |
test_get_shared_group_members() X-Ref |
Testing get_shared_group_members |
test_get_plugins_file_areas() X-Ref |
Test get plugins file areas |
test_process_save_quick_grades() X-Ref |
Test the quicksave grades processor |
test_update_activity_completion_records_solitary_submission() X-Ref |
Test updating activity completion when submitting an assessment. |
test_update_activity_completion_records_team_submission() X-Ref |
Test updating activity completion when submitting an assessment. |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |