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

Public Member Functions

 testPageImportToCreateRedirect ()
 
- Public Member Functions inherited from SMW\Tests\MwDBaseUnitTestCase
 run (\PHPUnit_Framework_TestResult $result=null)
 

Protected Member Functions

 setUp ()
 
 tearDown ()
 
 assertThatCategoriesAreSet ($expectedCategoryAsWikiValue, $semanticDataBatches)
 
 assertThatPropertiesAreSet ($expectedSomeProperties, $semanticDataBatches)
 
 assertThatSemanticDataValuesForPropertyAreSet ($expected, $semanticData)
 
 createPageWithRedirectFor ($source, $target)
 
 movePageToTargetRedirect ($page, $target)
 
- 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

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

Detailed Description

SMW SMWExtension semantic-mediawiki-import mediawiki-database medium

GNU GPL v2+

Since
1.9.2
Author
mwjames

Member Function Documentation

SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::assertThatCategoriesAreSet (   $expectedCategoryAsWikiValue,
  $semanticDataBatches 
)
protected
SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::assertThatPropertiesAreSet (   $expectedSomeProperties,
  $semanticDataBatches 
)
protected
SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::assertThatSemanticDataValuesForPropertyAreSet (   $expected,
  $semanticData 
)
protected
SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::createPageWithRedirectFor (   $source,
  $target 
)
protected
SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::movePageToTargetRedirect (   $page,
  $target 
)
protected
SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::setUp ( )
protected
SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::tearDown ( )
protected
SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::testPageImportToCreateRedirect ( )

Member Data Documentation

SMW\Tests\Integration\MediaWiki\Import\RedirectPageTest::$destroyDatabaseTablesAfterRun = true
protected

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