MediaWiki  REL1_21
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())
 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

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 13 of file JobQueueTest.php.

References $name.


Member Function Documentation

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.

References $job, $wgMemc, array(), as, and global.

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.

References array(), and newJob().

JobQueueTest::testJobOrder ( queue,
recycles,
desc 
)

provider_fifoQueueLists

Definition at line 239 of file JobQueueTest.php.

References $job, and $params.

JobQueueTest::testProperties ( queue,
order,
recycles,
desc 
)

provider_queueLists

Definition at line 71 of file JobQueueTest.php.

References wfWikiID().

JobQueueTest::testRootDeduplication ( queue,
order,
recycles,
desc 
)

provider_queueLists

Definition at line 189 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::$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.


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