MediaWiki  REL1_22
JobQueueTest Class Reference

JobQueue medium Database More...

Inheritance diagram for JobQueueTest:
Collaboration diagram for JobQueueTest:

List of all members.

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

Detailed Description

JobQueue medium Database

Definition at line 8 of file JobQueueTest.php.


Constructor & Destructor Documentation

JobQueueTest::__construct ( name = null,
array data = array(),
dataName = '' 
)

Reimplemented from MediaWikiTestCase.

Definition at line 12 of file JobQueueTest.php.

References $name.


Member Function Documentation

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().

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.

References array(), and as.

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.

References array(), and newJob().

JobQueueTest::testJobOrder ( queue,
recycles,
desc 
)

provider_fifoQueueLists

Definition at line 271 of file JobQueueTest.php.

References $job, and $params.

JobQueueTest::testProperties ( queue,
recycles,
desc 
)

provider_queueLists

Definition at line 74 of file JobQueueTest.php.

References wfWikiID().

JobQueueTest::testRootDeduplication ( queue,
recycles,
desc 
)

provider_queueLists

Definition at line 218 of file JobQueueTest.php.

References $job, array(), newJob(), Job\newRootJobParams(), and wfRandomString().


Member Data Documentation

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.


The documentation for this class was generated from the following file: