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

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

Protected Properties

Property 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\Link\NodeViewHelper

Public Methods

Method Description
setUp ( )
tearDown ( )
viewHelperAssignsLinkedNodeToNodeVariableName ( )
viewHelperCatchesExceptionExceptionIfTargetNodeDoesNotExist ( )
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 ( )
viewHelperResolvesLinksToChildNodeShortcutPages ( )
viewHelperResolvesLinksToParentNodeShortcutPages ( )
viewHelperResolvesLinksToTargetNodeShortcutPages ( )
viewHelperResolvesLinksToUriShortcutPages ( )
viewHelperRespectsAbsoluteParameter ( )
viewHelperRespectsArgumentsParameter ( )
viewHelperRespectsBaseNodeNameParameter ( )
viewHelperUsesNodeTitleIfEmpty ( )

Method Details

setUp() public method

public setUp ( )

tearDown() public method

public tearDown ( )

viewHelperAssignsLinkedNodeToNodeVariableName() public method

viewHelperCatchesExceptionExceptionIfTargetNodeDoesNotExist() public method

viewHelperRendersUriViaAbsoluteNodePathString() public method

viewHelperRendersUriViaContextNodePathString() public method

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 method

viewHelperRendersUriViaNodeUriPathString() public method

viewHelperRendersUriViaStringPointingToSubNodes() public method

viewHelperRendersUriViaStringStartingWithTilde() public method

viewHelperResolvesLinksToChildNodeShortcutPages() public method

viewHelperResolvesLinksToParentNodeShortcutPages() public method

viewHelperResolvesLinksToTargetNodeShortcutPages() public method

viewHelperResolvesLinksToUriShortcutPages() public method

viewHelperRespectsAbsoluteParameter() public method

viewHelperRespectsArgumentsParameter() public method

viewHelperRespectsBaseNodeNameParameter() public method

viewHelperUsesNodeTitleIfEmpty() public method

Property Details

$contentContext protected property

protected ContentContext,Neos\Neos\Domain\Service $contentContext
return Neos\Neos\Domain\Service\ContentContext

$contextFactory protected property

protected ContextFactoryInterface,Neos\ContentRepository\Domain\Service $contextFactory
return Neos\ContentRepository\Domain\Service\ContextFactoryInterface

$nodeDataRepository protected property

protected NodeDataRepository,Neos\ContentRepository\Domain\Repository $nodeDataRepository
return Neos\ContentRepository\Domain\Repository\NodeDataRepository

$propertyMapper protected property

protected PropertyMapper,Neos\Flow\Property $propertyMapper
return Neos\Flow\Property\PropertyMapper

$testablePersistenceEnabled protected static property

protected static $testablePersistenceEnabled

$testableSecurityEnabled protected property

protected $testableSecurityEnabled

$tsRuntime protected property

protected Runtime,Neos\Fusion\Core $tsRuntime
return Neos\Fusion\Core\Runtime

$viewHelper protected property

protected NodeViewHelper,Neos\Neos\ViewHelpers\Link $viewHelper
return Neos\Neos\ViewHelpers\Link\NodeViewHelper