PHP Class Neos\FluidAdaptor\Tests\Functional\View\StandaloneViewTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$standaloneViewNonce string

Public Methods

Method Description
explicitLayoutPathIsUsed ( )
explicitPartialPathIsUsed ( )
inlineTemplateIsEvaluatedCorrectly ( )
interceptorsWorkInPartialRenderedInStandaloneSection ( ) Tests the wrong interceptor behavior described in ticket FLOW-430 Basically the rendering should be consistent regardless of cache flushes, but due to the way the interceptor configuration was build the second second rendering was bound to fail, this should never happen.
layoutWithDefaultLocationIsUsedIfNoLayoutPathIsSetExplicitly ( )
partialWithDefaultLocationIsUsedIfNoPartialPathIsSetExplicitly ( )
renderSectionIsEvaluatedCorrectly ( )
renderThrowsExceptionIfNeitherTemplateSourceNorTemplatePathAndFilenameAreSpecified ( )
renderThrowsExceptionIfSpecifiedTemplatePathAndFilenamePointsToADirectory ( )
renderThrowsExceptionSpecifiedTemplatePathAndFilenameDoesNotExist ( )
runBare ( ) Every testcase should run *twice*. First, it is run in *uncached* way, second, it is run *cached*. To make sure that the first run is always uncached, the $standaloneViewNonce is initialized to some random value which is used inside an overridden version of StandaloneView::createIdentifierForFile.
templatePathAndFilenameIsLoaded ( )
variablesAreEscapedByDefault ( )
variablesAreNotEscapedIfEscapingIsDisabled ( )
viewThrowsExceptionWhenUnknownViewHelperIsCalled ( )
xmlNamespacesCanBeIgnored ( )

Method Details

explicitLayoutPathIsUsed() public method

explicitPartialPathIsUsed() public method

inlineTemplateIsEvaluatedCorrectly() public method

interceptorsWorkInPartialRenderedInStandaloneSection() public method

Tests the wrong interceptor behavior described in ticket FLOW-430 Basically the rendering should be consistent regardless of cache flushes, but due to the way the interceptor configuration was build the second second rendering was bound to fail, this should never happen.

layoutWithDefaultLocationIsUsedIfNoLayoutPathIsSetExplicitly() public method

partialWithDefaultLocationIsUsedIfNoPartialPathIsSetExplicitly() public method

renderSectionIsEvaluatedCorrectly() public method

renderThrowsExceptionIfNeitherTemplateSourceNorTemplatePathAndFilenameAreSpecified() public method

renderThrowsExceptionIfSpecifiedTemplatePathAndFilenamePointsToADirectory() public method

renderThrowsExceptionSpecifiedTemplatePathAndFilenameDoesNotExist() public method

runBare() public method

Every testcase should run *twice*. First, it is run in *uncached* way, second, it is run *cached*. To make sure that the first run is always uncached, the $standaloneViewNonce is initialized to some random value which is used inside an overridden version of StandaloneView::createIdentifierForFile.
public runBare ( )

templatePathAndFilenameIsLoaded() public method

variablesAreEscapedByDefault() public method

variablesAreNotEscapedIfEscapingIsDisabled() public method

viewThrowsExceptionWhenUnknownViewHelperIsCalled() public method

xmlNamespacesCanBeIgnored() public method

Property Details

$standaloneViewNonce protected property

protected string $standaloneViewNonce
return string