Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest Class Reference
Collaboration diagram for SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest:
Collaboration graph
[legend]

Public Member Functions

 testCanConstruct ()
 
 testPushToJobQueue ()
 
 testChunkedJobWithListOnValidMembers ()
 
 testChunkedJobWithListOnInvalidMembers ()
 
 testJobRunOnMainNamespace ()
 
 testJobRunOnPropertyNamespace ()
 
 testJobRunOnRestrictedPool ()
 
 testRunJobOnMockWithOutParameters ($setup, $expected)
 
 testRunJobOnMockWithParameters ($setup, $expected)
 
 subjectDataProvider ()
 
 mockStoreAllPropertySubjectsCallback (DIProperty $property)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 

Protected Attributes

 $expectedProperty
 
 $expectedSubjects
 

Detailed Description

semantic-mediawiki

GNU GPL v2+

Since
1.9
Author
mwjames

Member Function Documentation

SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::mockStoreAllPropertySubjectsCallback ( DIProperty  $property)

Returns an array of DIWikiPage objects if the expected property and the argument property are identical

See also
Store::getAllPropertySubjects
Returns
DIWikiPage[]
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::setUp ( )
protected
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::subjectDataProvider ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::tearDown ( )
protected
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testCanConstruct ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testChunkedJobWithListOnInvalidMembers ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testChunkedJobWithListOnValidMembers ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testJobRunOnMainNamespace ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testJobRunOnPropertyNamespace ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testJobRunOnRestrictedPool ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testPushToJobQueue ( )
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testRunJobOnMockWithOutParameters (   $setup,
  $expected 
)

subjectDataProvider

SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::testRunJobOnMockWithParameters (   $setup,
  $expected 
)

subjectDataProvider

Member Data Documentation

SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::$expectedProperty
protected
SMW\Tests\MediaWiki\Jobs\UpdateDispatcherJobTest::$expectedSubjects
protected

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