This file contains unit tests for lti/openidregistrationlib.php
Author: | Claude Vervoort |
Copyright: | 2020 Claude Vervoort, Cengage |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 345 lines (18 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
mod_lti_openidregistrationlib_testcase:: (12 methods):
test_to_config_full()
test_to_config_minimal()
test_to_config_minimal_with_deeplinking()
test_validation_initlogin()
test_validation_redirecturis()
test_validation_jwks()
test_validation_missing_domain_targetlinkuri()
test_validation_domain_targetlinkuri_match()
test_validation_domain_targetlinkuri_onlylink()
test_validation_domain_targetlinkuri_onlydomain()
test_config_to_registration()
test_config_to_registration_minimal()
Class: mod_lti_openidregistrationlib_testcase - X-Ref
OpenId LTI Registration library teststest_to_config_full() X-Ref |
Test the mapping from Registration JSON to LTI Config for a has-it-all tool registration. |
test_to_config_minimal() X-Ref |
Test the mapping from Registration JSON to LTI Config for a minimal tool registration. |
test_to_config_minimal_with_deeplinking() X-Ref |
Test the mapping from Registration JSON to LTI Config for a minimal tool with deep linking support registration. |
test_validation_initlogin() X-Ref |
Validation Test: initiation login. |
test_validation_redirecturis() X-Ref |
Validation Test: redirect uris. |
test_validation_jwks() X-Ref |
Validation Test: jwks uri empty. |
test_validation_missing_domain_targetlinkuri() X-Ref |
Validation Test: no domain nor targetlinkuri is rejected. |
test_validation_domain_targetlinkuri_match() X-Ref |
Validation Test: mismatch between domain and targetlinkuri is rejected. |
test_validation_domain_targetlinkuri_onlylink() X-Ref |
Validation Test: domain is required. |
test_validation_domain_targetlinkuri_onlydomain() X-Ref |
Validation Test: base url (targetlinkuri) is built from domain if not present. |
test_config_to_registration() X-Ref |
Test the transformation from lti config to OpenId LTI Client Registration response. |
test_config_to_registration_minimal() X-Ref |
Test the transformation from lti config to OpenId LTI Client Registration response for the minimal version. |