Differences Between: [Versions 311 and 403] [Versions 400 and 403] [Versions 401 and 403]
(no description)
File Size: | 610 lines (23 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
feedback_test:: (9 methods):
require_ghostscript()
add_file_submission()
test_comments_quick_list()
test_page_editor()
test_document_services()
test_conversion_task()
test_is_feedback_modified()
test_submission_file_overridden()
test_submission_not_enabled()
Class: feedback_test - X-Ref
Unit tests for assignfeedback_editpdf\comments_quick_listrequire_ghostscript() X-Ref |
Ensure that GS is available. |
add_file_submission($student, $assign, $textfile = false) X-Ref |
Helper method to add a file to a submission. param: \stdClass $student Student submitting. param: \assign $assign Assignment being submitted. param: bool $textfile Use textfile fixture instead of pdf. |
test_comments_quick_list() X-Ref |
No description |
test_page_editor() X-Ref |
No description |
test_document_services() X-Ref |
No description |
test_conversion_task() X-Ref |
Test Convert submission ad-hoc task. |
test_is_feedback_modified() X-Ref |
Test that modifying the annotated pdf form return true when modified and false when not modified. |
test_submission_file_overridden() X-Ref |
Test that overwriting a submission file deletes any associated conversions. |
test_submission_not_enabled() X-Ref |
Tests that when the plugin is not enabled for an assignment it does not create conversion tasks. |