PHP Класс Neos\FluidAdaptor\Tests\Functional\View\StandaloneViewTest

Наследование: extends Neos\Flow\Tests\FunctionalTestCase
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$standaloneViewNonce string

Открытые методы

Метод Описание
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 ( )

Описание методов

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.
public runBare ( )

templatePathAndFilenameIsLoaded() публичный Метод

variablesAreEscapedByDefault() публичный Метод

variablesAreNotEscapedIfEscapingIsDisabled() публичный Метод

viewThrowsExceptionWhenUnknownViewHelperIsCalled() публичный Метод

xmlNamespacesCanBeIgnored() публичный Метод

Описание свойств

$standaloneViewNonce защищенное свойство

protected string $standaloneViewNonce
Результат string