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

Public Member Functions

 parametersProvider ()
 
 testRender (array $parameters, $expected=null)
 
 processingProvider ()
 
 testParamProcessing (array $parameters, array $expectedValues)
 

Static Public Member Functions

static setUpBeforeClass ()
 

Protected Member Functions

 getInstance ()
 
 arrayWrap (array $elements)
 

Detailed Description

GNU GPL v2+

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Member Function Documentation

Maps\Test\ParserHookTest::arrayWrap ( array  $elements)
protected
Maps\Test\ParserHookTest::getInstance ( )
abstractprotected
Since
2.0
Returns
Maps\Test\ParserHookTest::parametersProvider ( )
abstract
Since
2.0
Returns
array
Maps\Test\ParserHookTest::processingProvider ( )
static Maps\Test\ParserHookTest::setUpBeforeClass ( )
static
Maps\Test\ParserHookTest::testParamProcessing ( array  $parameters,
array  $expectedValues 
)

processingProvider

Since
3.0
Maps\Test\ParserHookTest::testRender ( array  $parameters,
  $expected = null 
)

Triggers the render process with different sets of parameters to see if no errors or notices are thrown and the result indeed is a string.

parametersProvider

Since
2.0
Parameters
array$parameters
string | null$expected

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