MediaWiki REL1_33
|
Static Public Member Functions | |
static | provideFetchFromServer () |
Private Member Functions | |
createConfigMock (array $options=[]) | |
createSimpleConfigMock (array $config, $index=0) | |
Static Private Member Functions | |
static | createEtcdResponse (array $response) |
Definition at line 5 of file EtcdConfigTest.php.
|
private |
Definition at line 10 of file EtcdConfigTest.php.
References $options, and and().
Referenced by createSimpleConfigMock(), testConstructCacheObj(), testConstructCacheSpec(), testLoadCacheExpiredLockFetchFails(), testLoadCacheExpiredLockFetchSucceeded(), testLoadCacheExpiredNoLock(), testLoadCacheHit(), testLoadCacheMiss(), testLoadCacheMissBackendError(), testLoadCacheMissWithoutLock(), and testLoadProcessCacheHit().
|
staticprivate |
Definition at line 21 of file EtcdConfigTest.php.
References $response, and and().
Referenced by provideFetchFromServer().
|
private |
Definition at line 31 of file EtcdConfigTest.php.
References and(), and createConfigMock().
Referenced by testGetKnown(), testGetModifiedIndex(), testGetUnknown(), testHasKnown(), and testHasUnknown().
|
static |
Definition at line 393 of file EtcdConfigTest.php.
References and(), and createEtcdResponse().
EtcdConfigTest::testConstructCacheObj | ( | ) |
Definition at line 97 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testConstructCacheSpec | ( | ) |
Definition at line 115 of file EtcdConfigTest.php.
References and(), and createConfigMock().
EtcdConfig::fetchAllFromEtcdServer EtcdConfig::unserialize EtcdConfig::parseResponse EtcdConfig::parseDirectory EtcdConfigParseError provideFetchFromServer.
Definition at line 602 of file EtcdConfigTest.php.
References and().
EtcdConfigTest::testGetKnown | ( | ) |
EtcdConfig::__construct EtcdConfig::get.
Definition at line 55 of file EtcdConfigTest.php.
References and(), and createSimpleConfigMock().
EtcdConfigTest::testGetModifiedIndex | ( | ) |
Definition at line 86 of file EtcdConfigTest.php.
References and(), and createSimpleConfigMock().
EtcdConfigTest::testGetUnknown | ( | ) |
Definition at line 75 of file EtcdConfigTest.php.
References and(), and createSimpleConfigMock().
EtcdConfigTest::testHasKnown | ( | ) |
Definition at line 44 of file EtcdConfigTest.php.
References and(), and createSimpleConfigMock().
EtcdConfigTest::testHasUnknown | ( | ) |
Definition at line 65 of file EtcdConfigTest.php.
References and(), and createSimpleConfigMock().
EtcdConfigTest::testLoadCacheExpiredLockFetchFails | ( | ) |
Definition at line 338 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testLoadCacheExpiredLockFetchSucceeded | ( | ) |
Definition at line 308 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testLoadCacheExpiredNoLock | ( | ) |
Definition at line 368 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testLoadCacheHit | ( | ) |
Definition at line 255 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testLoadCacheMiss | ( | ) |
Test matrix.
Other notable scenarios:
Definition at line 171 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testLoadCacheMissBackendError | ( | ) |
Definition at line 197 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testLoadCacheMissWithoutLock | ( | ) |
Definition at line 223 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().
EtcdConfigTest::testLoadProcessCacheHit | ( | ) |
Definition at line 281 of file EtcdConfigTest.php.
References $cache, and(), and createConfigMock().