See Release Notes
Long Term Support Release
Differences Between: [Versions 310 and 401] [Versions 39 and 401]
(no description)
File Size: | 285 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
importlib_test:: (5 methods):
setUpBeforeClass()
import_grades()
test_grade_import_commit()
test_grade_import_commit_unenrolled_user()
test_get_unenrolled_users_in_import()
Class: importlib_test - X-Ref
Tests grade_import_lib functions.setUpBeforeClass() X-Ref |
Load required test libraries |
import_grades($data) X-Ref |
Import grades into 'grade_import_values' table. This is done differently in the various import plugins, so there is no direct API to call. param: array $data Information to be inserted into the table. return: int The insert ID of the sql statement. |
test_grade_import_commit() X-Ref |
Tests for importing grades from an external source. |
test_grade_import_commit_unenrolled_user() X-Ref |
Test grade import commit for users who aren't enrolled on the target course |
test_get_unenrolled_users_in_import() X-Ref |
Test retrieving users included in impoty who aren't enrolled on the target course |