| [ Index ] |
PHP Cross Reference of Moodle 310 |
[Source view] [Print] [Project Stats]
Unit tests for assignsubmission_onlinetext.
| Copyright: | 2018 Adrian Greeve <adrian@moodle.com> |
| License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| File Size: | 216 lines (10 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
assignsubmission_online_privacy_testcase:: (6 methods):
create_online_submission()
test_get_metadata()
test_export_submission_user_data()
test_delete_submission_for_context()
test_delete_submission_for_userid()
test_delete_submissions()
Class: assignsubmission_online_privacy_testcase - X-Ref
Unit tests for mod/assign/submission/onlinetext/classes/privacy/| create_online_submission($assign, $student, $text) X-Ref |
| Convenience function for creating feedback data. param: object $assign assign object param: stdClass $student user object param: string $text Submission text. return: array Submission plugin object and the submission object. |
| test_get_metadata() X-Ref |
| Quick test to make sure that get_metadata returns something. |
| test_export_submission_user_data() X-Ref |
| Test that submission files and text are exported for a user. |
| test_delete_submission_for_context() X-Ref |
| Test that all submission files are deleted for this context. |
| test_delete_submission_for_userid() X-Ref |
| Test that the comments for a user are deleted. |
| test_delete_submissions() X-Ref |
| No description |
| Generated: Wed Jan 22 11:59:49 2025 | Cross-referenced by PHPXref 0.7.1 |