Differences Between: [Versions 39 and 310]
Redis cache test. If you wish to use these unit tests all you need to do is add the following definition to your config.php file.
Copyright: | Copyright (c) 2015 Moodlerooms Inc. (http://www.moodlerooms.com) |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 126 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 2 files cache/stores/redis/lib.php cache/tests/fixtures/stores.php |
cachestore_redis_test:: (8 methods):
get_class_name()
setUp()
tearDown()
create_cachestore_redis()
test_has()
test_has_any()
test_has_all()
test_lock()
Class: cachestore_redis_test - X-Ref
Redis cache test.get_class_name() X-Ref |
Returns the MongoDB class name return: string |
setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
create_cachestore_redis() X-Ref |
Creates the required cachestore for the tests to run against Redis. return: cachestore_redis |
test_has() X-Ref |
No description |
test_has_any() X-Ref |
No description |
test_has_all() X-Ref |
No description |
test_lock() X-Ref |
No description |