MediaWiki
REL1_22
|
JobQueue medium Database More...
Public Member Functions | |
__construct ($name=null, array $data=array(), $dataName= '') | |
newDedupedJob ($i=0, $rootJob=array()) | |
newJob ($i=0, $rootJob=array()) | |
testBasicDeduplication ($queue, $recycles, $desc) | |
provider_queueLists | |
testBasicOperations ($queue, $recycles, $desc) | |
provider_queueLists | |
testJobOrder ($queue, $recycles, $desc) | |
provider_fifoQueueLists | |
testProperties ($queue, $recycles, $desc) | |
provider_queueLists | |
testRootDeduplication ($queue, $recycles, $desc) | |
provider_queueLists | |
Static Public Member Functions | |
static | provider_fifoQueueLists () |
static | 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 | |
$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 12 of file JobQueueTest.php.
References $name.
JobQueueTest::newDedupedJob | ( | $ | i = 0 , |
$ | rootJob = array() |
||
) |
Definition at line 325 of file JobQueueTest.php.
References array(), and Title\newMainPage().
Referenced by testBasicDeduplication().
JobQueueTest::newJob | ( | $ | i = 0 , |
$ | rootJob = array() |
||
) |
Definition at line 320 of file JobQueueTest.php.
References array(), and Title\newMainPage().
Referenced by testBasicOperations(), and testRootDeduplication().
static JobQueueTest::provider_fifoQueueLists | ( | ) | [static] |
Definition at line 313 of file JobQueueTest.php.
References array().
static JobQueueTest::provider_queueLists | ( | ) | [static] |
Definition at line 302 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 18 of file JobQueueTest.php.
References $name, array(), as, JobQueue\factory(), MediaWikiTestCase\getCliArg(), global, MediaWikiTestCase\setMwGlobals(), wfRandomString(), and wfWikiID().
JobQueueTest::tearDown | ( | ) | [protected] |
Reimplemented from MediaWikiTestCase.
Definition at line 56 of file JobQueueTest.php.
JobQueueTest::testBasicDeduplication | ( | $ | queue, |
$ | recycles, | ||
$ | desc | ||
) |
provider_queueLists
Definition at line 161 of file JobQueueTest.php.
References array(), and newDedupedJob().
JobQueueTest::testBasicOperations | ( | $ | queue, |
$ | recycles, | ||
$ | desc | ||
) |
provider_queueLists
Definition at line 87 of file JobQueueTest.php.
JobQueueTest::testJobOrder | ( | $ | queue, |
$ | recycles, | ||
$ | desc | ||
) |
provider_fifoQueueLists
Definition at line 271 of file JobQueueTest.php.
JobQueueTest::testProperties | ( | $ | queue, |
$ | recycles, | ||
$ | desc | ||
) |
JobQueueTest::testRootDeduplication | ( | $ | queue, |
$ | recycles, | ||
$ | desc | ||
) |
provider_queueLists
Definition at line 218 of file JobQueueTest.php.
References $job, array(), newJob(), Job\newRootJobParams(), and wfRandomString().
JobQueueTest::$key [protected] |
Definition at line 9 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.