PHP Class Neos\Neos\Tests\Functional\Fusion\RenderingTest

Afficher le fichier Open project: neos/neos

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode 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 méthode

additionalProcessorInPrototype2() public méthode

assertMainContentConformsToBasicRendering() protected méthode

Helper function for setting assertions

assertSelectEquals() public static méthode

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 méthode

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

assertTeaserConformsToBasicRendering() protected méthode

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

basicRenderingWorks() public méthode

public basicRenderingWorks ( )

buildMockControllerContext() protected méthode

protected buildMockControllerContext ( ) : ControllerContext
Résultat Neos\Flow\Mvc\Controller\ControllerContext

classesAreAppendedAsExpected() public méthode

contentCollectionsAndWrappedContentElementsCanBeRenderedWithCustomTagsAndAttributes() public méthode

createRuntimeWithFixtures() protected méthode

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

debugModeSettingWorks() public méthode

menuIsRenderedAsExpected() public méthode

menuWithNegativeEntryLevelIsRenderedAsExpected() public méthode

overriddenValueInNestedPrototype() public méthode

overriddenValueInNestedPrototype2() public méthode

overriddenValueInPrototype() public méthode

prototypeInheritance() public méthode

replaceElementRenderingCompletelyBasedOnAdvancedCondition() public méthode

replaceElementRenderingCompletelyInSidebar() public méthode

simulateRendering() protected méthode

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