MediaWiki
1.30.0
|
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, and class.
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, class, and createConfigMock().
EtcConfigTest::testConstructCacheSpec | ( | ) |
Definition at line 91 of file EtcdConfigTest.php.
References class, and createConfigMock().
EtcdConfig::fetchAllFromEtcdServer EtcdConfig::unserialize EtcdConfig::parseResponse EtcdConfig::parseDirectory EtcdConfigParseError provideFetchFromServer.
Definition at line 562 of file EtcdConfigTest.php.
References class.
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 class, and 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, class, and createConfigMock().
EtcConfigTest::testLoadCacheExpiredLockFetchSucceeded | ( | ) |
Definition at line 283 of file EtcdConfigTest.php.
References $cache, class, and createConfigMock().
EtcConfigTest::testLoadCacheExpiredNoLock | ( | ) |
Definition at line 341 of file EtcdConfigTest.php.
References $cache, class, and createConfigMock().
EtcConfigTest::testLoadCacheHit | ( | ) |
Definition at line 232 of file EtcdConfigTest.php.
References $cache, class, and createConfigMock().
EtcConfigTest::testLoadCacheMiss | ( | ) |
Test matrix.
Other notable scenarios:
Definition at line 150 of file EtcdConfigTest.php.
References $cache, class, and createConfigMock().
EtcConfigTest::testLoadCacheMissBackendError | ( | ) |
Definition at line 175 of file EtcdConfigTest.php.
References $cache, class, and createConfigMock().
EtcConfigTest::testLoadCacheMissWithoutLock | ( | ) |
Definition at line 201 of file EtcdConfigTest.php.
References $cache, class, and createConfigMock().
EtcConfigTest::testLoadProcessCacheHit | ( | ) |
Definition at line 257 of file EtcdConfigTest.php.
References $cache, class, and createConfigMock().