[ Index ] |
PHP Cross Reference of Unnamed Project |
[Source view] [Print] [Project Stats]
This file contains unit tests for (some of) lti/locallib.php
Author: | Charles Severance csev@unmich.edu |
Author: | Marc Alier (marc.alier@upc.edu) |
Author: | Jordi Piguillem |
Author: | Nikolas Galanis |
Author: | Chris Scribner |
Copyright: | 2009 Marc Alier, Jordi Piguillem, Nikolas Galanis |
Copyright: | 2009 Universitat Politecnica de Catalunya http://www.upc.edu |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 328 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
mod_lti_locallib_testcase:: (10 methods):
test_split_custom_parameters()
disabled_test_sign_parameters()
disabled_test_parse_grade_replace_message()
test_lti_ensure_url_is_https()
test_lti_get_url_thumbprint()
test_lti_buid_request_resource_link_id()
test_lti_build_request_description()
test_lti_prepare_type_for_save_forcessl()
test_lti_load_type_from_cartridge()
test_lti_load_tool_from_cartridge()
Class: mod_lti_locallib_testcase - X-Ref
Local library teststest_split_custom_parameters() X-Ref |
No description |
disabled_test_sign_parameters() X-Ref |
This test has been disabled because the test-tool is being moved and probably it won't work anymore for this. We should be testing here local stuff only and leave outside-checks to the conformance tests. MDL-30347 |
disabled_test_parse_grade_replace_message() X-Ref |
This test has been disabled because, since its creation, the sourceId generation has changed and surely this is outdated. Some day these should be replaced by proper tests, but until then conformance tests say this is working. MDL-30347 |
test_lti_ensure_url_is_https() X-Ref |
No description |
test_lti_get_url_thumbprint() X-Ref |
Test lti_get_url_thumbprint against various URLs |
test_lti_buid_request_resource_link_id() X-Ref |
No description |
test_lti_build_request_description() X-Ref |
Test lti_build_request's resource_link_description and ensure that the newlines in the description are correct. |
test_lti_prepare_type_for_save_forcessl() X-Ref |
Tests lti_prepare_type_for_save's handling of the "Force SSL" configuration. |
test_lti_load_type_from_cartridge() X-Ref |
Tests lti_load_type_from_cartridge and lti_load_type_if_cartridge |
test_lti_load_tool_from_cartridge() X-Ref |
Tests lti_load_tool_from_cartridge and lti_load_tool_if_cartridge |
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |