[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
Test the helper functionality.
Copyright: | 2016 Mark Nelson <markn@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 288 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
enrol_lti_helper_testcase:: (8 methods):
setUp()
test_update_user_profile_image()
test_enrol_user_max_enrolled()
test_enrol_user_enrolment_not_started()
test_enrol_user_enrolment_finished()
test_count_lti_tools()
test_get_lti_tools()
create_tool()
Class: enrol_lti_helper_testcase - X-Ref
Test the helper functionality.setUp() X-Ref |
Test set up. This is executed before running any test in this file. |
test_update_user_profile_image() X-Ref |
Test the update user profile image function. |
test_enrol_user_max_enrolled() X-Ref |
Test that we can not enrol past the maximum number of users allowed. |
test_enrol_user_enrolment_not_started() X-Ref |
Test that we can not enrol when the enrolment has not started. |
test_enrol_user_enrolment_finished() X-Ref |
Test that we can not enrol when the enrolment has finished. |
test_count_lti_tools() X-Ref |
Test returning the number of available tools. |
test_get_lti_tools() X-Ref |
Test returning the list of available tools. |
create_tool($data = array() X-Ref |
Helper function used to create a tool. param: array $data return: stdClass the tool |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |