Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403]
Provides core_update_api_testcase class.
Copyright: | 2015 David Mudrak <david@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 151 lines (7 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/tests/fixtures/testable_update_api.php |
core_update_api_testcase:: (4 methods):
test_convert_branch_numbering_format()
test_get_plugin_info()
test_find_plugin()
test_validate_pluginfo_format()
Class: core_update_api_testcase - X-Ref
Tests for \core\update\api client.test_convert_branch_numbering_format() X-Ref |
Make sure the $CFG->branch is mapped correctly to the format used by the API. |
test_get_plugin_info() X-Ref |
Getting info about particular plugin version. |
test_find_plugin() X-Ref |
Getting info about the most suitable plugin version for us. |
test_validate_pluginfo_format() X-Ref |
Validating the pluginfo.php response data. |