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

Public Member Functions

 getClass ()
 
 testCanConstruct ()
 
 testCanParseOnInstance ()
 
 testRunParseOnText ()
 
 testRunParseOnTitle ( $setup, $expected, $withContentHandler=false)
 
 testRunParseOnTitleWithContentHandler ( $setup, $expected)
 
 titleRevisionDataProvider ()
 
 contentDataProvider ()
 
- Public Member Functions inherited from SMW\Test\SemanticMediaWikiTestCase
 getClass ()
 
 newMockBuilder ()
 
 newDependencyBuilder (DependencyContainer $dependencyContainer=null)
 
 newReflector ( $class=null)
 

Protected Member Functions

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

Detailed Description

SMW SMWExtension

GNU GPL v2+

Since
1.9
Author
mwjames

Member Function Documentation

◆ contentDataProvider()

SMW\Test\ContentParserTest::contentDataProvider ( )
Returns
array

◆ testCanParseOnInstance()

SMW\Test\ContentParserTest::testCanParseOnInstance ( )

testCanConstruct

◆ testRunParseOnText()

SMW\Test\ContentParserTest::testRunParseOnText ( )

testCanParseOnInstance

◆ testRunParseOnTitle()

SMW\Test\ContentParserTest::testRunParseOnTitle (   $setup,
  $expected,
  $withContentHandler = false 
)

titleRevisionDataProvider

◆ testRunParseOnTitleWithContentHandler()

SMW\Test\ContentParserTest::testRunParseOnTitleWithContentHandler (   $setup,
  $expected 
)

contentDataProvider

Since
1.9

◆ titleRevisionDataProvider()

SMW\Test\ContentParserTest::titleRevisionDataProvider ( )
Returns
array

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

About | General disclaimer | Privacy policy