PHP Class Neos\Fusion\Tests\Functional\TypoScriptObjects\AbstractTypoScriptObjectTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Exibir arquivo Open project: neos/neos-development-collection Class Usage Examples

Protected Properties

Property Type Description
$controllerContext Neos\Flow\Mvc\Controller\ControllerContext

Protected Methods

Method Description
assertMultipleTypoScriptPaths ( string $expected, string $basePath ) Used for TypoScript objects / Eel and plain value interoperability testing.
assertTypoScriptPath ( string $expected, string $path ) Renders the given TypoScript path and asserts that the result is the same es the given expected.
buildView ( ) : FusionView Helper to build a Fusion view object

Method Details

assertMultipleTypoScriptPaths() protected method

Renders TypoScripts in the following paths and expects given $expected as result each time: $basePath . 'TypoScript' $basePath . 'Eel' $basePath . 'PlainValue'
protected assertMultipleTypoScriptPaths ( string $expected, string $basePath )
$expected string
$basePath string

assertTypoScriptPath() protected method

Renders the given TypoScript path and asserts that the result is the same es the given expected.
protected assertTypoScriptPath ( string $expected, string $path )
$expected string
$path string

buildView() protected method

Helper to build a Fusion view object
protected buildView ( ) : FusionView
return Neos\Fusion\View\FusionView

Property Details

$controllerContext protected_oe property

protected ControllerContext,Neos\Flow\Mvc\Controller $controllerContext
return Neos\Flow\Mvc\Controller\ControllerContext