Differences Between: [Versions 311 and 402] [Versions 311 and 403]
Unit tests for assignfeedback_editpdf.
Copyright: | 2018 Adrian Greeve <adrian@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 319 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
provider_test:: (7 methods):
setUp()
create_feedback()
test_get_metadata()
test_export_feedback_user_data()
test_delete_feedback_for_context()
test_delete_feedback_for_grade()
test_delete_feedback_for_grades()
Class: provider_test - X-Ref
Unit tests for mod/assign/feedback/editpdf/classes/privacy/setUp() X-Ref |
No description |
create_feedback($assign, $student, $teacher) X-Ref |
Convenience function for creating feedback data. param: object $assign assign object param: stdClass $student user object param: stdClass $teacher user object return: array Feedback plugin object and the grade object. |
test_get_metadata() X-Ref |
Quick test to make sure that get_metadata returns something. |
test_export_feedback_user_data() X-Ref |
Test that feedback comments are exported for a user. |
test_delete_feedback_for_context() X-Ref |
Test that all feedback is deleted for a context. |
test_delete_feedback_for_grade() X-Ref |
Test that a grade item is deleted for a user. |
test_delete_feedback_for_grades() X-Ref |
Test that a grade item is deleted for a user. |