Semantic MediaWiki and related extensions
Public Member Functions | List of all members
SMW\Test\SpecialsTest Class Reference
Collaboration diagram for SMW\Test\SpecialsTest:
Collaboration graph
[legend]

Public Member Functions

 getClass ()
 
 testSpecial (SpecialPage $specialPage)
 
 testSpecialAliasesContLang (SpecialPage $specialPage)
 
 specialPageProvider ()
 
- Public Member Functions inherited from SMW\Test\SemanticMediaWikiTestCase
 getClass ()
 
 newMockBuilder ()
 
 newDependencyBuilder (DependencyContainer $dependencyContainer=null)
 
 newReflector ($class=null)
 

Additional Inherited Members

- Protected Member Functions inherited from SMW\Test\SemanticMediaWikiTestCase
 newTitle ($namespace=NS_MAIN, $text=null)
 
 getUser ()
 
 newMockUser ()
 
 getLanguage ($langCode= 'en')
 
 newContext ($request=array())
 
 getSubject ($namespace=NS_MAIN)
 
 newSubject (Title $title=null)
 
 newSettings (array $settings=array())
 
 newRandomString ($length=10, $prefix=null)
 
 runOnlyOnSQLStore ($store=null)
 
 getStore ()
 
 arrayWrap (array $elements)
 

Detailed Description

SMWAskPage

Note
Test base was borrowed from the EducationProgram extension

SMW SMWExtension medium

Member Function Documentation

SMW\Test\SpecialsTest::getClass ( )

Returns the name of the class to be tested

Returns
string|false
SMW\Test\SpecialsTest::specialPageProvider ( )

Provides special pages

Returns
array
SMW\Test\SpecialsTest::testSpecial ( SpecialPage  $specialPage)

specialPageProvider

Parameters
$specialPage
SMW\Test\SpecialsTest::testSpecialAliasesContLang ( SpecialPage  $specialPage)
Test:
SpecialPageFactory::getLocalNameFor specialPageProvider

Test created in response to bug 44191

Parameters
$specialPage

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