Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 311 and 400] [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]

(no description)

File Size: 620 lines (23 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class


Class: feedback_test  - X-Ref

Unit tests for assignfeedback_editpdf\comments_quick_list

require_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
No description

test_is_feedback_modified()   X-Ref
Test that modifying the annotated pdf form return true when modified
and false when not modified.


test_conversion_task_limit()   X-Ref
Test Convert submissions scheduled task limit.


test_submission_file_overridden()   X-Ref
Test that overwriting a submission file deletes any associated conversions.