(no description)
File Size: | 181 lines (8 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file webservice/tests/helpers.php |
reopen_attempt_test:: (9 methods):
test_reopen_attempt_service_works()
test_reopen_attempt_service_checks_permissions()
test_reopen_attempt_service_checks_attempt_state()
test_get_reopen_attempt_confirmation_staying_open()
test_get_reopen_attempt_confirmation_staying_open_until()
test_get_reopen_attempt_confirmation_submitting()
test_get_reopen_attempt_confirmation_service_checks_permissions()
test_get_reopen_attempt_confirmation_service_checks_attempt_state()
create_attempt_at_quiz_with_one_shortanswer_question()
Class: reopen_attempt_test - X-Ref
Test for the reopen_attempt and get_reopen_attempt_confirmation services.test_reopen_attempt_service_works() X-Ref |
No description |
test_reopen_attempt_service_checks_permissions() X-Ref |
No description |
test_reopen_attempt_service_checks_attempt_state() X-Ref |
No description |
test_get_reopen_attempt_confirmation_staying_open() X-Ref |
No description |
test_get_reopen_attempt_confirmation_staying_open_until() X-Ref |
No description |
test_get_reopen_attempt_confirmation_submitting() X-Ref |
No description |
test_get_reopen_attempt_confirmation_service_checks_permissions() X-Ref |
No description |
test_get_reopen_attempt_confirmation_service_checks_attempt_state() X-Ref |
No description |
create_attempt_at_quiz_with_one_shortanswer_question(string $attemptstate = quiz_attempt::ABANDONED) X-Ref |
Create a quiz of one shortanswer question and an attempt in a given state. param: string $attemptstate the desired attempt state. quiz_attempt::ABANDONED or ::IN_PROGRESS. return: array with two elements, the attempt id and the quiz id. |