Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403] [Versions 402 and 403]
(no description)
File Size: | 586 lines (27 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
attempt_walkthrough_test:: (9 methods):
test_quiz_attempt_walkthrough()
create_quiz_with_one_question()
test_quiz_attempt_walkthrough_submit_time_recorded_correctly_when_overdue()
test_quiz_attempt_walkthrough_close_time_extended_at_last_minute()
test_quiz_with_random_question_attempt_walkthrough()
get_correct_response_for_variants()
test_quiz_with_question_with_variants_attempt_walkthrough()
test_quiz_attempt_walkthrough_abandoned_attempt_reopened_with_timelimit_override()
test_quiz_attempt_walkthrough_abandoned_attempt_reopened_after_close_time()
Class: attempt_walkthrough_test - X-Ref
Quiz attempt walk through.test_quiz_attempt_walkthrough() X-Ref |
Create a quiz with questions and walk through a quiz attempt. |
create_quiz_with_one_question(string $overduehandling = 'graceperiod') X-Ref |
Create a quiz containing one question and a close time. The question is the standard shortanswer test question. The quiz is set to close 1 hour from now. The quiz is set to use a grade period of 1 hour once time expires. param: string $overduehandling value for the overduehandling quiz setting. return: \stdClass the quiz that was created. |
test_quiz_attempt_walkthrough_submit_time_recorded_correctly_when_overdue() X-Ref |
No description |
test_quiz_attempt_walkthrough_close_time_extended_at_last_minute() X-Ref |
No description |
test_quiz_with_random_question_attempt_walkthrough() X-Ref |
Create a quiz with a random as well as other questions and walk through quiz attempts. |
get_correct_response_for_variants() X-Ref |
No description |
test_quiz_with_question_with_variants_attempt_walkthrough($variantno, $correctresponse, $done = false) X-Ref |
Create a quiz with a single question with variants and walk through quiz attempts. |
test_quiz_attempt_walkthrough_abandoned_attempt_reopened_with_timelimit_override() X-Ref |
No description |
test_quiz_attempt_walkthrough_abandoned_attempt_reopened_after_close_time() X-Ref |
No description |