[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Base class for unit tests for mod_assign.
Copyright: | 1999 onwards Martin Dougiamas {@link http://moodle.com} |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 367 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 3 times |
Includes or requires: | 0 files |
mod_assign_base_testcase:: (4 methods):
setUp()
create_extra_users()
create_instance()
test_create_instance()
testable_assign:: (19 methods):
testable_show_intro()
testable_delete_grades()
testable_apply_grade_to_user()
testable_format_submission_for_log()
testable_get_grading_userid_list()
testable_is_graded()
testable_update_submission()
testable_process_add_attempt()
testable_process_save_quick_grades()
testable_process_set_batch_marking_allocation()
testable_process_set_batch_marking_workflow_state()
testable_submissions_open()
testable_save_user_extension()
testable_get_graders()
testable_get_notifiable_users()
testable_view_batch_set_workflow_state()
testable_view_batch_markingallocation()
testable_grading_batch_operations_form()
testable_update_activity_completion_records()
Class: mod_assign_base_testcase - X-Ref
Unit tests for (some of) mod/assign/locallib.php.setUp() X-Ref |
Setup function - we will create a course and add an assign instance to it. |
create_extra_users() X-Ref |
No description |
create_instance($params=array() X-Ref |
Convenience function to create a testable instance of an assignment. param: array $params Array of parameters to pass to the generator return: testable_assign Testable wrapper around the assign class. |
test_create_instance() X-Ref |
No description |
Class: testable_assign - X-Ref
Test subclass that makes all the protected methods we want to test public.testable_show_intro() X-Ref |
No description |
testable_delete_grades() X-Ref |
No description |
testable_apply_grade_to_user($formdata, $userid, $attemptnumber) X-Ref |
No description |
testable_format_submission_for_log(stdClass $submission) X-Ref |
No description |
testable_get_grading_userid_list() X-Ref |
No description |
testable_is_graded($userid) X-Ref |
No description |
testable_update_submission(stdClass $submission, $userid, $updatetime, $teamsubmission) X-Ref |
No description |
testable_process_add_attempt($userid = 0) X-Ref |
No description |
testable_process_save_quick_grades($postdata) X-Ref |
No description |
testable_process_set_batch_marking_allocation($selectedusers, $markerid) X-Ref |
No description |
testable_process_set_batch_marking_workflow_state($selectedusers, $state) X-Ref |
No description |
testable_submissions_open($userid = 0) X-Ref |
No description |
testable_save_user_extension($userid, $extensionduedate) X-Ref |
No description |
testable_get_graders($userid) X-Ref |
No description |
testable_get_notifiable_users($userid) X-Ref |
No description |
testable_view_batch_set_workflow_state($selectedusers) X-Ref |
No description |
testable_view_batch_markingallocation($selectedusers) X-Ref |
No description |
testable_grading_batch_operations_form($operation, $selectedusers) X-Ref |
No description |
testable_update_activity_completion_records($teamsubmission,$requireallteammemberssubmit,$submission,$userid,$complete,$completion) X-Ref |
No description |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |