Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]
This file contains tests that walks essay questions through some attempts.
Copyright: | 2013 The Open University |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 622 lines (26 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
qtype_essay_walkthrough_testcase:: (10 methods):
check_contains_textarea()
save_file_to_draft_area()
test_deferred_feedback_html_editor()
test_deferred_feedback_plain_text()
test_responsetemplate()
test_deferred_feedback_html_editor_with_files_attempt_on_last()
test_deferred_feedback_html_editor_with_files_attempt_on_last_no_files_uploaded()
test_deferred_feedback_plain_attempt_on_last()
test_deferred_feedback_html_editor_with_files_attempt_wrong_filetypes()
test_deferred_feedback_html_editor_with_files_attempt_correct_filetypes()
Class: qtype_essay_walkthrough_testcase - X-Ref
Unit tests for the essay question type.check_contains_textarea($name, $content = '', $height = 10) X-Ref |
No description |
save_file_to_draft_area($usercontextid, $draftitemid, $filename, $contents) X-Ref |
Helper method: Store a test file with a given name and contents in a draft file area. param: int $usercontextid user context id. param: int $draftitemid draft item id. param: string $filename filename. param: string $contents file contents. |
test_deferred_feedback_html_editor() X-Ref |
No description |
test_deferred_feedback_plain_text() X-Ref |
No description |
test_responsetemplate() X-Ref |
No description |
test_deferred_feedback_html_editor_with_files_attempt_on_last() X-Ref |
No description |
test_deferred_feedback_html_editor_with_files_attempt_on_last_no_files_uploaded() X-Ref |
No description |
test_deferred_feedback_plain_attempt_on_last() X-Ref |
No description |
test_deferred_feedback_html_editor_with_files_attempt_wrong_filetypes() X-Ref |
No description |
test_deferred_feedback_html_editor_with_files_attempt_correct_filetypes() X-Ref |
No description |