PHP Class Neos\Neos\Tests\Functional\TypoScript\RenderingTest

Show file Open project: neos/neos-development-collection

Public Methods

Method Description
additionalProcessorInPrototype ( )
additionalProcessorInPrototype2 ( )
assertSelectEquals ( string $selector, string $content, integer | boolean $count, mixed $actual, string $message = '', boolean $isHtml = true ) Helper function for setting assertions
basicRenderingWorks ( )
classesAreAppendedAsExpected ( )
contentCollectionsAndWrappedContentElementsCanBeRenderedWithCustomTagsAndAttributes ( )
debugModeSettingWorks ( )
menuIsRenderedAsExpected ( )
menuWithNegativeEntryLevelIsRenderedAsExpected ( )
overriddenValueInNestedPrototype ( )
overriddenValueInNestedPrototype2 ( )
overriddenValueInPrototype ( )
prototypeInheritance ( )
replaceElementRenderingCompletelyBasedOnAdvancedCondition ( )
replaceElementRenderingCompletelyInSidebar ( )

Protected Methods

Method Description
assertMainContentConformsToBasicRendering ( string $output ) Helper function for setting assertions
assertSidebarConformsToBasicRendering ( string $output ) Helper function for setting assertions
assertTeaserConformsToBasicRendering ( string $output ) Helper function for setting assertions
buildMockControllerContext ( ) : ControllerContext
createRuntimeWithFixtures ( string $additionalTypoScriptFile = null ) : Runtime Create a TypoScript runtime with the test base TypoScript and an optional additional fixture
simulateRendering ( string $additionalTypoScriptFile = null, boolean $debugMode = false ) : string Simulate the rendering

Method Details

additionalProcessorInPrototype() public method

additionalProcessorInPrototype2() public method

assertMainContentConformsToBasicRendering() protected method

Helper function for setting assertions

assertSelectEquals() public static method

Helper function for setting assertions
public static assertSelectEquals ( string $selector, string $content, integer | boolean $count, mixed $actual, string $message = '', boolean $isHtml = true )
$selector string
$content string
$count integer | boolean assert specific number of elements, assert any elements exist if true, assert no elements exist if false
$actual mixed
$message string
$isHtml boolean

assertSidebarConformsToBasicRendering() protected method

Helper function for setting assertions
protected assertSidebarConformsToBasicRendering ( string $output )
$output string

assertTeaserConformsToBasicRendering() protected method

Helper function for setting assertions
protected assertTeaserConformsToBasicRendering ( string $output )
$output string

basicRenderingWorks() public method

public basicRenderingWorks ( )

buildMockControllerContext() protected method

protected buildMockControllerContext ( ) : ControllerContext
return Neos\Flow\Mvc\Controller\ControllerContext

classesAreAppendedAsExpected() public method

contentCollectionsAndWrappedContentElementsCanBeRenderedWithCustomTagsAndAttributes() public method

createRuntimeWithFixtures() protected method

Create a TypoScript runtime with the test base TypoScript and an optional additional fixture
protected createRuntimeWithFixtures ( string $additionalTypoScriptFile = null ) : Runtime
$additionalTypoScriptFile string
return Neos\Fusion\Core\Runtime

debugModeSettingWorks() public method

menuIsRenderedAsExpected() public method

menuWithNegativeEntryLevelIsRenderedAsExpected() public method

overriddenValueInNestedPrototype() public method

overriddenValueInNestedPrototype2() public method

overriddenValueInPrototype() public method

prototypeInheritance() public method

replaceElementRenderingCompletelyBasedOnAdvancedCondition() public method

replaceElementRenderingCompletelyInSidebar() public method

simulateRendering() protected method

Simulate the rendering
protected simulateRendering ( string $additionalTypoScriptFile = null, boolean $debugMode = false ) : string
$additionalTypoScriptFile string
$debugMode boolean
return string