Differences Between: [Versions 310 and 311] [Versions 310 and 400] [Versions 310 and 401] [Versions 310 and 402] [Versions 310 and 403] [Versions 39 and 310]
Redis session tests. NOTE: in order to execute this test you need to set up Redis server and add configuration a constant to config.php or phpunit.xml configuration file:
Author: | Russell Smith <mr-russ@smith2001.net> |
Copyright: | 2016 Russell Smith |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 314 lines (13 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
core_session_redis_testcase:: (13 methods):
setUp()
tearDown()
test_normal_session_read_only()
test_normal_session_start_stop_works()
test_session_blocks_with_existing_session()
test_session_is_destroyed_when_it_does_not_exist()
test_session_is_destroyed_when_we_have_it_open()
test_multiple_sessions_do_not_interfere_with_each_other()
test_multiple_sessions_work_with_a_single_instance()
test_session_exists_returns_valid_values()
test_kill_sessions_removes_the_session_from_redis()
test_exception_when_connection_attempts_exceeded()
assertSessionNoLocks()
Class: core_session_redis_testcase - X-Ref
Unit tests for classes/session/redis.php.setUp() X-Ref |
No description |
tearDown() X-Ref |
No description |
test_normal_session_read_only() X-Ref |
No description |
test_normal_session_start_stop_works() X-Ref |
No description |
test_session_blocks_with_existing_session() X-Ref |
No description |
test_session_is_destroyed_when_it_does_not_exist() X-Ref |
No description |
test_session_is_destroyed_when_we_have_it_open() X-Ref |
No description |
test_multiple_sessions_do_not_interfere_with_each_other() X-Ref |
No description |
test_multiple_sessions_work_with_a_single_instance() X-Ref |
No description |
test_session_exists_returns_valid_values() X-Ref |
No description |
test_kill_sessions_removes_the_session_from_redis() X-Ref |
No description |
test_exception_when_connection_attempts_exceeded() X-Ref |
No description |
assertSessionNoLocks() X-Ref |
Assert that we don't have any session locks in Redis. |