Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

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

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
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.