MediaWiki REL1_30
|
Public Member Functions | |
testConstructCacheObj () | |
EtcdConfig::__construct. | |
testConstructCacheSpec () | |
EtcdConfig::__construct. | |
testFetchFromServer (array $httpResponse, array $expected) | |
EtcdConfig::fetchAllFromEtcdServer EtcdConfig::unserialize EtcdConfig::parseResponse EtcdConfig::parseDirectory EtcdConfigParseError provideFetchFromServer. | |
testGetKnown () | |
EtcdConfig::__construct EtcdConfig::get. | |
testGetUnknown () | |
EtcdConfig::get. | |
testHasKnown () | |
EtcdConfig::has. | |
testHasUnknown () | |
EtcdConfig::has. | |
testLoadCacheExpiredLockFetchFails () | |
EtcdConfig::load. | |
testLoadCacheExpiredLockFetchSucceeded () | |
EtcdConfig::load. | |
testLoadCacheExpiredNoLock () | |
EtcdConfig::load. | |
testLoadCacheHit () | |
EtcdConfig::load. | |
testLoadCacheMiss () | |
Test matrix. | |
testLoadCacheMissBackendError () | |
EtcdConfig::load. | |
testLoadCacheMissWithoutLock () | |
EtcdConfig::load. | |
testLoadProcessCacheHit () | |
EtcdConfig::load. | |
Static Public Member Functions | |
static | provideFetchFromServer () |
Private Member Functions | |
createConfigMock (array $options=[]) | |
createSimpleConfigMock (array $config) | |
Definition at line 5 of file EtcdConfigTest.php.
|
private |
Definition at line 7 of file EtcdConfigTest.php.
References $options.
Referenced by createSimpleConfigMock(), testConstructCacheObj(), testConstructCacheSpec(), testLoadCacheExpiredLockFetchFails(), testLoadCacheExpiredLockFetchSucceeded(), testLoadCacheExpiredNoLock(), testLoadCacheHit(), testLoadCacheMiss(), testLoadCacheMissBackendError(), testLoadCacheMissWithoutLock(), and testLoadProcessCacheHit().
|
private |
Definition at line 18 of file EtcdConfigTest.php.
References createConfigMock().
Referenced by testGetKnown(), testGetUnknown(), testHasKnown(), and testHasUnknown().
|
static |
Definition at line 365 of file EtcdConfigTest.php.
EtcConfigTest::testConstructCacheObj | ( | ) |
Definition at line 74 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testConstructCacheSpec | ( | ) |
Definition at line 91 of file EtcdConfigTest.php.
References createConfigMock().
EtcdConfig::fetchAllFromEtcdServer EtcdConfig::unserialize EtcdConfig::parseResponse EtcdConfig::parseDirectory EtcdConfigParseError provideFetchFromServer.
Definition at line 562 of file EtcdConfigTest.php.
EtcConfigTest::testGetKnown | ( | ) |
EtcdConfig::__construct EtcdConfig::get.
Definition at line 43 of file EtcdConfigTest.php.
References createSimpleConfigMock().
EtcConfigTest::testGetUnknown | ( | ) |
Definition at line 63 of file EtcdConfigTest.php.
References createSimpleConfigMock().
EtcConfigTest::testHasKnown | ( | ) |
Definition at line 32 of file EtcdConfigTest.php.
References createSimpleConfigMock().
EtcConfigTest::testHasUnknown | ( | ) |
Definition at line 53 of file EtcdConfigTest.php.
References createSimpleConfigMock().
EtcConfigTest::testLoadCacheExpiredLockFetchFails | ( | ) |
Definition at line 312 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testLoadCacheExpiredLockFetchSucceeded | ( | ) |
Definition at line 283 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testLoadCacheExpiredNoLock | ( | ) |
Definition at line 341 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testLoadCacheHit | ( | ) |
Definition at line 232 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testLoadCacheMiss | ( | ) |
Test matrix.
Other notable scenarios:
Definition at line 150 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testLoadCacheMissBackendError | ( | ) |
Definition at line 175 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testLoadCacheMissWithoutLock | ( | ) |
Definition at line 201 of file EtcdConfigTest.php.
References $cache, and createConfigMock().
EtcConfigTest::testLoadProcessCacheHit | ( | ) |
Definition at line 257 of file EtcdConfigTest.php.
References $cache, and createConfigMock().