Semantic MediaWiki and related extensions
Public Member Functions | Protected Member Functions | List of all members
SMW\Test\ContentParserTest Class Reference
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=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

SMW SMWExtension

GNU GPL v2+

Since
1.9
Author
mwjames

Member Function Documentation

SMW\Test\ContentParserTest::assertError (   $instance)
protected
SMW\Test\ContentParserTest::assertInstanceAfterParse (   $expected,
  $instance 
)
protected
SMW\Test\ContentParserTest::assertParserOutput (   $text,
  $instance 
)
protected
SMW\Test\ContentParserTest::contentDataProvider ( )
Returns
array
SMW\Test\ContentParserTest::getClass ( )
SMW\Test\ContentParserTest::testCanConstruct ( )
SMW\Test\ContentParserTest::testCanParseOnInstance ( )

testCanConstruct

SMW\Test\ContentParserTest::testRunParseOnText ( )

testCanParseOnInstance

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

titleRevisionDataProvider

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

contentDataProvider

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

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