PHP Class Redaxscript\Tests\ParserTest

Since: 2.1.0
Author: Henry Ruhs
Inheritance: extends TestCaseAbstract
Show file Open project: redaxmedia/redaxscript

Protected Properties

Property Type Description
$_language object instance of the language class
$_registry object instance of the registry class

Public Methods

Method Description
providerBlockcode ( ) : array providerBlockcode
providerLanguage ( ) : array providerLanguage
providerModule ( ) : array providerModule
providerReadmore ( ) : array providerReadmore
providerRegistry ( ) : array providerRegistry
providerTemplate ( ) : array providerTemplate
setUp ( ) setUp
testBlockcode ( string $content = null, string $expect = null ) testBlockcode
testLanguage ( string $language = null, string $content = null, string $expect = null ) testLanguage
testModule ( string $content = null, string $expect = null ) testModule
testReadmore ( array $registryArray = [], string $content = null, array $optionArray = [], string $expect = null ) testReadmore
testRegistry ( array $registryArray = [], string $content = null, string $expect = null ) testRegistry
testTemplate ( string $content = null, string $expect = null ) testTemplate

Method Details

providerBlockcode() public method

providerBlockcode
Since: 2.5.0
public providerBlockcode ( ) : array
return array

providerLanguage() public method

providerLanguage
Since: 2.5.0
public providerLanguage ( ) : array
return array

providerModule() public method

providerModule
Since: 2.5.0
public providerModule ( ) : array
return array

providerReadmore() public method

providerReadmore
Since: 2.5.0
public providerReadmore ( ) : array
return array

providerRegistry() public method

providerRegistry
Since: 2.5.0
public providerRegistry ( ) : array
return array

providerTemplate() public method

providerTemplate
Since: 3.0.0
public providerTemplate ( ) : array
return array

setUp() public method

setUp
Since: 2.1.0
public setUp ( )

testBlockcode() public method

testBlockcode
Since: 2.5.0
public testBlockcode ( string $content = null, string $expect = null )
$content string
$expect string

testLanguage() public method

testLanguage
Since: 2.5.0
public testLanguage ( string $language = null, string $content = null, string $expect = null )
$language string
$content string
$expect string

testModule() public method

testModule
Since: 2.5.0
public testModule ( string $content = null, string $expect = null )
$content string
$expect string

testReadmore() public method

testReadmore
Since: 2.5.0
public testReadmore ( array $registryArray = [], string $content = null, array $optionArray = [], string $expect = null )
$registryArray array
$content string
$optionArray array
$expect string

testRegistry() public method

testRegistry
Since: 2.5.0
public testRegistry ( array $registryArray = [], string $content = null, string $expect = null )
$registryArray array
$content string
$expect string

testTemplate() public method

testTemplate
Since: 3.0.0
public testTemplate ( string $content = null, string $expect = null )
$content string
$expect string

Property Details

$_language protected property

instance of the language class
protected object $_language
return object

$_registry protected property

instance of the registry class
protected object $_registry
return object