[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Source view] [Print] [Project Stats]
Unit tests for the update deployer.
Copyright: | 2012 David Mudrak <[email protected]> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 206 lines (7 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_update_deployer_testcase:: (2 methods):
test_magic_setters()
test_prepare_authorization()
testable_available_update_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_available_update_checker_cron_executed:: (0 methods):
testable_available_update_deployer:: (0 methods):
Class: testable_available_update_checker - X-Ref
Modified version of {@link \core\update\checker} suitable for testing.instance() X-Ref |
Factory method for this class. return: testable_available_update_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_available_update_checker_cron_executed - X-Ref
Exception used to detect {@link \core\update\checker::cron_execute()} calls.Class: testable_available_update_deployer - X-Ref
Modified {@link \core\update\deployer} suitable for testing purposes.Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |