Provides \core\update\testable_checker class.
Copyright: | 2012, 2015 David Mudrak <david@moodle.com> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 179 lines (6 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
testable_checker:: (15 methods):
instance()
validate_response()
store_response()
restore_response()
compare_responses()
is_same_release()
load_current_environment()
fake_current_environment()
get_last_timefetched()
get_fake_response()
cron_current_timestamp()
cron_mtrace()
cron_autocheck_enabled()
cron_execution_offset()
cron_execute()
testable_checker_cron_executed:: (0 methods):
Class: testable_checker - X-Ref
Modified version of {@link \core\update\checker} suitable for testing.instance() X-Ref |
Factory method for this class. return: \core\update\testable_checker the singleton instance |
validate_response($response) X-Ref |
No description |
store_response($response) X-Ref |
No description |
restore_response($forcereload = false) X-Ref |
No description |
compare_responses(array $old, array $new) X-Ref |
No description |
is_same_release($remote, $local=null) X-Ref |
No description |
load_current_environment($forcereload=false) X-Ref |
No description |
fake_current_environment($version, $release, $branch, array $plugins) X-Ref |
No description |
get_last_timefetched() X-Ref |
No description |
get_fake_response() X-Ref |
No description |
cron_current_timestamp() X-Ref |
No description |
cron_mtrace($msg, $eol = PHP_EOL) X-Ref |
No description |
cron_autocheck_enabled() X-Ref |
No description |
cron_execution_offset() X-Ref |
No description |
cron_execute() X-Ref |
No description |
Class: testable_checker_cron_executed - X-Ref
Exception used to detect {@link checker::cron_execute()} calls.