MediaWiki
REL1_21
|
JobQueue medium Database More...
Public Member Functions | |
__construct ($name=null, array $data=array(), $dataName= '') | |
newDedupedJob ($i=0, $rootJob=array()) | |
newJob ($i=0, $rootJob=array()) | |
provider_fifoQueueLists () | |
provider_queueLists () | |
testBasicDeduplication ($queue, $order, $recycles, $desc) | |
provider_queueLists | |
testBasicOperations ($queue, $order, $recycles, $desc) | |
provider_queueLists | |
testJobOrder ($queue, $recycles, $desc) | |
provider_fifoQueueLists | |
testProperties ($queue, $order, $recycles, $desc) | |
provider_queueLists | |
testRootDeduplication ($queue, $order, $recycles, $desc) | |
provider_queueLists | |
Public Attributes | |
$queueFifo | |
$queueFifoTTL | |
$queueRandTTL | |
Protected Member Functions | |
setUp () | |
setUp and tearDown should (where significant) happen in reverse order. | |
tearDown () | |
Protected Attributes | |
$key | |
$old = array() | |
$queueRand |
JobQueue medium Database
Definition at line 8 of file JobQueueTest.php.
JobQueueTest::__construct | ( | $ | name = null , |
array $ | data = array() , |
||
$ | dataName = '' |
||
) |
Reimplemented from MediaWikiTestCase.
Definition at line 13 of file JobQueueTest.php.
References $name.
JobQueueTest::newDedupedJob | ( | $ | i = 0 , |
$ | rootJob = array() |
||
) |
Definition at line 288 of file JobQueueTest.php.
References array(), and Title\newMainPage().
Referenced by testBasicDeduplication().
JobQueueTest::newJob | ( | $ | i = 0 , |
$ | rootJob = array() |
||
) |
Definition at line 283 of file JobQueueTest.php.
References array(), and Title\newMainPage().
Referenced by testBasicOperations(), and testRootDeduplication().
Definition at line 276 of file JobQueueTest.php.
References array().
Definition at line 267 of file JobQueueTest.php.
References array().
JobQueueTest::setUp | ( | ) | [protected] |
setUp and tearDown should (where significant) happen in reverse order.
Reimplemented from MediaWikiTestCase.
Definition at line 19 of file JobQueueTest.php.
References $name, $wgMemc, array(), as, JobQueue\factory(), MediaWikiTestCase\getCliArg(), global, wfRandomString(), and wfWikiID().
JobQueueTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 50 of file JobQueueTest.php.
JobQueueTest::testBasicDeduplication | ( | $ | queue, |
$ | order, | ||
$ | recycles, | ||
$ | desc | ||
) |
provider_queueLists
Definition at line 140 of file JobQueueTest.php.
References array(), and newDedupedJob().
JobQueueTest::testBasicOperations | ( | $ | queue, |
$ | order, | ||
$ | recycles, | ||
$ | desc | ||
) |
provider_queueLists
Definition at line 81 of file JobQueueTest.php.
JobQueueTest::testJobOrder | ( | $ | queue, |
$ | recycles, | ||
$ | desc | ||
) |
provider_fifoQueueLists
Definition at line 239 of file JobQueueTest.php.
JobQueueTest::testProperties | ( | $ | queue, |
$ | order, | ||
$ | recycles, | ||
$ | desc | ||
) |
JobQueueTest::testRootDeduplication | ( | $ | queue, |
$ | order, | ||
$ | recycles, | ||
$ | desc | ||
) |
provider_queueLists
Definition at line 189 of file JobQueueTest.php.
References $job, array(), newJob(), Job\newRootJobParams(), and wfRandomString().
JobQueueTest::$key [protected] |
Definition at line 9 of file JobQueueTest.php.
JobQueueTest::$old = array() [protected] |
Definition at line 11 of file JobQueueTest.php.
JobQueueTest::$queueFifo |
Definition at line 10 of file JobQueueTest.php.
JobQueueTest::$queueFifoTTL |
Definition at line 10 of file JobQueueTest.php.
JobQueueTest::$queueRand [protected] |
Definition at line 10 of file JobQueueTest.php.
JobQueueTest::$queueRandTTL |
Definition at line 10 of file JobQueueTest.php.