PHP Class Neos\Neos\Tests\Functional\ViewHelpers\Uri\NodeViewHelperTest

Inheritance: extends Neos\Flow\Tests\FunctionalTestCase
Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$contentContext Neos\Neos\Domain\Service\ContentContext
$contextFactory Neos\ContentRepository\Domain\Service\ContextFactoryInterface
$nodeDataRepository Neos\ContentRepository\Domain\Repository\NodeDataRepository
$propertyMapper Neos\Flow\Property\PropertyMapper
$testablePersistenceEnabled
$testableSecurityEnabled
$tsRuntime Neos\Fusion\Core\Runtime
$viewHelper Neos\Neos\ViewHelpers\Uri\NodeViewHelper

Méthodes publiques

Méthode Description
setUp ( )
tearDown ( )
viewHelperCatchesExceptionIfTargetNodeDoesNotExist ( )
viewHelperRendersUriViaAbsoluteNodePathString ( )
viewHelperRendersUriViaContextNodePathString ( ) We empty the TemplateVariableContainer for this test, as it shouldn't be needed for rendering a link to a node identified by ContextNodePath
viewHelperRendersUriViaGivenNodeObject ( )
viewHelperRendersUriViaNodeUriPathString ( )
viewHelperRendersUriViaStringPointingToSubNodes ( )
viewHelperRendersUriViaStringStartingWithTilde ( )
viewHelperRespectsAbsoluteParameter ( )
viewHelperRespectsArgumentsParameter ( )
viewHelperRespectsBaseNodeNameParameter ( )

Méthodes protégées

Méthode Description
assertOutputLinkValid ( $expected, $actual ) A wrapper function for the appropriate assertion for the Link- and its Uri-ViewHelper derivate.

Method Details

assertOutputLinkValid() protected méthode

Is overridden in the FunctionalTest for the LinkViewHelper.
protected assertOutputLinkValid ( $expected, $actual )

setUp() public méthode

public setUp ( )

tearDown() public méthode

public tearDown ( )

viewHelperCatchesExceptionIfTargetNodeDoesNotExist() public méthode

viewHelperRendersUriViaAbsoluteNodePathString() public méthode

viewHelperRendersUriViaContextNodePathString() public méthode

We empty the TemplateVariableContainer for this test, as it shouldn't be needed for rendering a link to a node identified by ContextNodePath

viewHelperRendersUriViaGivenNodeObject() public méthode

viewHelperRendersUriViaNodeUriPathString() public méthode

viewHelperRendersUriViaStringPointingToSubNodes() public méthode

viewHelperRendersUriViaStringStartingWithTilde() public méthode

viewHelperRespectsAbsoluteParameter() public méthode

viewHelperRespectsArgumentsParameter() public méthode

viewHelperRespectsBaseNodeNameParameter() public méthode

Property Details

$contentContext protected_oe property

protected ContentContext,Neos\Neos\Domain\Service $contentContext
Résultat Neos\Neos\Domain\Service\ContentContext

$contextFactory protected_oe property

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
Résultat Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$nodeDataRepository protected_oe property

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
Résultat Neos\ContentRepository\Domain\Repository\NodeDataRepository

$propertyMapper protected_oe property

protected PropertyMapper,Neos\Flow\Property $propertyMapper
Résultat Neos\Flow\Property\PropertyMapper

$testablePersistenceEnabled protected_oe static_oe property

protected static $testablePersistenceEnabled

$testableSecurityEnabled protected_oe property

protected $testableSecurityEnabled

$tsRuntime protected_oe property

protected Runtime,Neos\Fusion\Core $tsRuntime
Résultat Neos\Fusion\Core\Runtime

$viewHelper protected_oe property

protected NodeViewHelper,Neos\Neos\ViewHelpers\Uri $viewHelper
Résultat Neos\Neos\ViewHelpers\Uri\NodeViewHelper