MediaWiki REL1_29
|
Public Member Functions | |
testAdaptiveTTL ( $ago, $maxTTL, $minTTL, $factor, $adaptiveTTL) | |
provideAdaptiveTTL WANObjectCache::adaptiveTTL() | |
testBusyValue () | |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testCheckKeyInitHoldoff () | |
WANObjectCache::get() WANObjectCache::processCheckKeys() | |
testDelete () | |
WANObjectCache::delete() | |
testGetMulti () | |
WANObjectCache::getMulti() | |
testGetMultiCheckKeys () | |
WANObjectCache::getMulti() WANObjectCache::processCheckKeys() | |
testGetMultiWithSetCallback (array $extOpts, $versioned) | |
getMultiWithSetCallback_provider WANObjectCache::getMultiWithSetCallback() WANObjectCache::makeMultiKeys() | |
testGetNotExists () | |
WANObjectCache::get() WANObjectCache::makeGlobalKey() | |
testGetWithSetCallback (array $extOpts, $versioned) | |
getWithSetCallback_provider WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testGetWithSetCallback_versions (array $extOpts, $versioned) | |
getWithSetCallback_versions_provider | |
testGetWithSeveralCheckKeys () | |
WANObjectCache::getMulti() | |
testLockTSE () | |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testLockTSESlow () | |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback() | |
testMcRouterSupport () | |
testProcessCache () | |
testReap () | |
WANObjectCache::reap() WANObjectCache::reapCheckKey() | |
testSetAndGet ( $value, $ttl) | |
provideSetAndGet WANObjectCache::set() WANObjectCache::get() WANObjectCache::makeKey() | |
testSetOver () | |
WANObjectCache::set() | |
testSetWithLag () | |
WANObjectCache::set() | |
testStaleSet () | |
WANObjectCache::set() | |
testTouchKeys () | |
WANObjectCache::touchCheckKey() WANObjectCache::resetCheckKey() WANObjectCache::getCheckKeyTime() | |
testWritePending () | |
WANObjectCache::set() | |
Static Public Member Functions | |
static | getMultiWithSetCallback_provider () |
static | getWithSetCallback_provider () |
static | getWithSetCallback_versions_provider () |
static | provideAdaptiveTTL () |
static | provideSetAndGet () |
Protected Member Functions | |
setUp () | |
Private Attributes | |
WANObjectCache | $cache |
$internalCache | |
Definition at line 5 of file WANObjectCacheTest.php.
|
static |
Definition at line 399 of file WANObjectCacheTest.php.
|
static |
Definition at line 255 of file WANObjectCacheTest.php.
|
static |
Definition at line 800 of file WANObjectCacheTest.php.
|
static |
Definition at line 1015 of file WANObjectCacheTest.php.
|
static |
Definition at line 56 of file WANObjectCacheTest.php.
References object.
|
protected |
Definition at line 11 of file WANObjectCacheTest.php.
References cache.
WANObjectCacheTest::testAdaptiveTTL | ( | $ago, | |
$maxTTL, | |||
$minTTL, | |||
$factor, | |||
$adaptiveTTL | |||
) |
provideAdaptiveTTL WANObjectCache::adaptiveTTL()
float | int | $ago | |
int | $maxTTL | |
int | $minTTL | |
float | $factor | |
int | $adaptiveTTL |
Definition at line 1001 of file WANObjectCacheTest.php.
References cache.
WANObjectCacheTest::testBusyValue | ( | ) |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
Definition at line 485 of file WANObjectCacheTest.php.
References $cache, $ret, $value, WANObjectCache\delete(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testCheckKeyInitHoldoff | ( | ) |
WANObjectCache::get() WANObjectCache::processCheckKeys()
Definition at line 674 of file WANObjectCacheTest.php.
References $cache, WANObjectCache\get(), WANObjectCache\set(), and wfRandomString().
WANObjectCacheTest::testDelete | ( | ) |
WANObjectCache::delete()
Definition at line 706 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testGetMulti | ( | ) |
WANObjectCache::getMulti()
Definition at line 539 of file WANObjectCacheTest.php.
References $cache, WANObjectCache\getCheckKeyTime(), WANObjectCache\getMulti(), WANObjectCache\set(), and wfRandomString().
WANObjectCacheTest::testGetMultiCheckKeys | ( | ) |
WANObjectCache::getMulti() WANObjectCache::processCheckKeys()
Definition at line 598 of file WANObjectCacheTest.php.
References $cache, as, WANObjectCache\getMulti(), WANObjectCache\set(), WANObjectCache\touchCheckKey(), and wfRandomString().
WANObjectCacheTest::testGetMultiWithSetCallback | ( | array | $extOpts, |
$versioned | |||
) |
getMultiWithSetCallback_provider WANObjectCache::getMultiWithSetCallback() WANObjectCache::makeMultiKeys()
array | $extOpts | |
bool | $versioned |
Definition at line 269 of file WANObjectCacheTest.php.
References $cache, $value, array(), cache, WANObjectCache\delete(), WANObjectCache\get(), WANObjectCache\getCheckKeyTime(), WANObjectCache\getMultiWithSetCallback(), WANObjectCache\makeMultiKeys(), use, and wfRandomString().
WANObjectCacheTest::testGetNotExists | ( | ) |
WANObjectCache::get() WANObjectCache::makeGlobalKey()
Definition at line 74 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testGetWithSetCallback | ( | array | $extOpts, |
$versioned | |||
) |
getWithSetCallback_provider WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
array | $extOpts | |
bool | $versioned |
Definition at line 168 of file WANObjectCacheTest.php.
References $cache, $value, WANObjectCache\delete(), WANObjectCache\get(), WANObjectCache\getCheckKeyTime(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testGetWithSetCallback_versions | ( | array | $extOpts, |
$versioned | |||
) |
getWithSetCallback_versions_provider
array | $extOpts | |
$versioned |
Definition at line 747 of file WANObjectCacheTest.php.
References $cache, $value, WANObjectCache\delete(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testGetWithSeveralCheckKeys | ( | ) |
WANObjectCache::getMulti()
Definition at line 849 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testLockTSE | ( | ) |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
Definition at line 410 of file WANObjectCacheTest.php.
References $cache, $ret, $value, WANObjectCache\delete(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testLockTSESlow | ( | ) |
WANObjectCache::getWithSetCallback() WANObjectCache::doGetWithSetCallback()
Definition at line 452 of file WANObjectCacheTest.php.
References $cache, $ret, $value, WANObjectCache\delete(), WANObjectCache\get(), WANObjectCache\getWithSetCallback(), use, and wfRandomString().
WANObjectCacheTest::testMcRouterSupport | ( | ) |
Definition at line 967 of file WANObjectCacheTest.php.
WANObjectCacheTest::testProcessCache | ( | ) |
Definition at line 107 of file WANObjectCacheTest.php.
References $keys, as, cache, use, and wfRandomString().
WANObjectCacheTest::testReap | ( | ) |
WANObjectCache::reap() WANObjectCache::reapCheckKey()
Definition at line 881 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testSetAndGet | ( | $value, | |
$ttl | |||
) |
provideSetAndGet WANObjectCache::set() WANObjectCache::get() WANObjectCache::makeKey()
mixed | $value | |
integer | $ttl |
Definition at line 33 of file WANObjectCacheTest.php.
References $t, $value, cache, and wfRandomString().
WANObjectCacheTest::testSetOver | ( | ) |
WANObjectCache::set()
Definition at line 86 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testSetWithLag | ( | ) |
WANObjectCache::set()
Definition at line 936 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testStaleSet | ( | ) |
WANObjectCache::set()
Definition at line 99 of file WANObjectCacheTest.php.
References $value, cache, and wfRandomString().
WANObjectCacheTest::testTouchKeys | ( | ) |
WANObjectCache::touchCheckKey() WANObjectCache::resetCheckKey() WANObjectCache::getCheckKeyTime()
Definition at line 812 of file WANObjectCacheTest.php.
References cache, and wfRandomString().
WANObjectCacheTest::testWritePending | ( | ) |
WANObjectCache::set()
Definition at line 958 of file WANObjectCacheTest.php.
References $value, cache, true, and wfRandomString().
|
private |
Definition at line 7 of file WANObjectCacheTest.php.
Referenced by testBusyValue(), testCheckKeyInitHoldoff(), testGetMulti(), testGetMultiCheckKeys(), testGetMultiWithSetCallback(), testGetWithSetCallback(), testGetWithSetCallback_versions(), testLockTSE(), and testLockTSESlow().
|
private |
Definition at line 9 of file WANObjectCacheTest.php.