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

Public Member Functions

 tearDown ()
 
 testUpdateToSetPredefinedAnnotations ()
 
 testDoUpdateUsingUserdefinedAnnotations ()
 
 testDoUpdateUsingNoAnnotations ($firstRunRevision)
 
 testReparseFirstRevision ($firstRunRevision)
 
- Public Member Functions inherited from SMW\Tests\MwDBaseUnitTestCase
 run (\PHPUnit_Framework_TestResult $result=null)
 

Protected Member Functions

 setUp ()
 
- Protected Member Functions inherited from SMW\Tests\MwDBaseUnitTestCase
 setUp ()
 
 tearDown ()
 
 removeDatabaseTypeFromTest ($databaseToBeExcluded)
 
 destroyDatabaseTablesAfterRun ()
 
 getStore ()
 
 setStoresToBeExcluded (array $storesToBeExcluded)
 
 skipTestForMediaWikiVersionLowerThan ($version, $message= '')
 
 skipTestForDatabase ($excludedDatabase, $message= '')
 
 skipTestForStore ($excludeStore)
 
 getDBConnection ()
 
 getDBConnectionProvider ()
 
 isUsableUnitTestDatabase ()
 
 checkIfDatabaseCanBeUsedOtherwiseSkipTest ()
 
 checkIfStoreCanBeUsedOtherwiseSkipTest ()
 

Protected Attributes

 $destroyDatabaseTablesBeforeRun = true
 
- Protected Attributes inherited from SMW\Tests\MwDBaseUnitTestCase
 $testEnvironment
 
 $mwDatabaseTableBuilder = null
 
 $databaseToBeExcluded = null
 
 $storesToBeExcluded = null
 
 $destroyDatabaseTablesBeforeRun = false
 
 $destroyDatabaseTablesAfterRun = false
 
 $isUsableUnitTestDatabase = true
 

Detailed Description

semantic-mediawiki medium

GNU GPL v2+

Since
1.9.1
Author
mwjames

Member Function Documentation

SMW\Tests\Integration\MediaWiki\LinksUpdateTest::setUp ( )
protected
SMW\Tests\Integration\MediaWiki\LinksUpdateTest::tearDown ( )
SMW\Tests\Integration\MediaWiki\LinksUpdateTest::testDoUpdateUsingNoAnnotations (   $firstRunRevision)

testDoUpdateUsingUserdefinedAnnotations

SMW\Tests\Integration\MediaWiki\LinksUpdateTest::testDoUpdateUsingUserdefinedAnnotations ( )

testUpdateToSetPredefinedAnnotations

See #347 and LinksUpdateConstructed

Asserts that before and after the update, the SemanticData container holds the same amount of properties despite the fact that the ParserOutput was invoked empty

SMW\Tests\Integration\MediaWiki\LinksUpdateTest::testReparseFirstRevision (   $firstRunRevision)

testDoUpdateUsingNoAnnotations

SMW\Tests\Integration\MediaWiki\LinksUpdateTest::testUpdateToSetPredefinedAnnotations ( )

Member Data Documentation

SMW\Tests\Integration\MediaWiki\LinksUpdateTest::$destroyDatabaseTablesBeforeRun = true
protected

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