Differences Between: [Versions 310 and 311] [Versions 311 and 400] [Versions 311 and 401] [Versions 311 and 402] [Versions 311 and 403] [Versions 39 and 311]
(no description)
File Size: | 427 lines (19 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
attempt_walkthrough_test:: (7 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()
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() 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. 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. |