PHP Class Neos\Neos\Tests\Unit\ViewHelpers\EditableViewHelperTest

Afficher le fichier Open project: neos/neos-development-collection

Protected Properties

Свойство Type Description
$editableViewHelper Neos\Neos\ViewHelpers\ContentElement\EditableViewHelper
$mockContentContext Neos\Neos\Domain\Service\ContentContext
$mockContentElementEditableService Neos\Neos\Service\ContentElementEditableService
$mockNode Neos\ContentRepository\Domain\Model\NodeInterface
$mockNodeAuthorizationService Neos\ContentRepository\Service\AuthorizationService
$mockPrivilegeManager Neos\Flow\Security\Authorization\PrivilegeManagerInterface
$mockTemplateImplementation Neos\Fusion\TypoScriptObjects\TemplateImplementation
$mockTsContext array
$mockTsRuntime Neos\Fusion\Core\Runtime
$mockView Neos\Fusion\TypoScriptObjects\Helpers\FluidView
$templateVariables array

Méthodes publiques

Méthode Description
renderCallsContentElementEditableServiceForAugmentation ( )
renderSetsTheChildNodesAsTagContentIfTheyAreSet ( )
renderSetsThePropertyValueAsTagContentIfItExists ( )
renderThrowsExceptionIfTheGivenPropertyIsNotAccessible ( )
renderThrowsExceptionIfTheTsTemplateObjectIsNotSet ( )
renderUsesTheNodeArgumentIfSet ( )
setUp ( )

Méthodes protégées

Méthode Description
injectDependenciesIntoViewHelper ( AbstractViewHelper $viewHelper ) : void
injectTypoScriptObject ( ) Mocks access to the TypoScriptObject

Method Details

injectDependenciesIntoViewHelper() protected méthode

protected injectDependenciesIntoViewHelper ( AbstractViewHelper $viewHelper ) : void
$viewHelper Neos\FluidAdaptor\Core\ViewHelper\AbstractViewHelper
Résultat void

injectTypoScriptObject() protected méthode

Mocks access to the TypoScriptObject
protected injectTypoScriptObject ( )

renderCallsContentElementEditableServiceForAugmentation() public méthode

renderSetsTheChildNodesAsTagContentIfTheyAreSet() public méthode

renderSetsThePropertyValueAsTagContentIfItExists() public méthode

renderThrowsExceptionIfTheGivenPropertyIsNotAccessible() public méthode

renderThrowsExceptionIfTheTsTemplateObjectIsNotSet() public méthode

renderUsesTheNodeArgumentIfSet() public méthode

setUp() public méthode

public setUp ( )

Property Details

$editableViewHelper protected_oe property

protected EditableViewHelper,Neos\Neos\ViewHelpers\ContentElement $editableViewHelper
Résultat Neos\Neos\ViewHelpers\ContentElement\EditableViewHelper

$mockContentContext protected_oe property

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

$mockContentElementEditableService protected_oe property

protected ContentElementEditableService,Neos\Neos\Service $mockContentElementEditableService
Résultat Neos\Neos\Service\ContentElementEditableService

$mockNode protected_oe property

protected NodeInterface,Neos\ContentRepository\Domain\Model $mockNode
Résultat Neos\ContentRepository\Domain\Model\NodeInterface

$mockNodeAuthorizationService protected_oe property

protected AuthorizationService,Neos\ContentRepository\Service $mockNodeAuthorizationService
Résultat Neos\ContentRepository\Service\AuthorizationService

$mockPrivilegeManager protected_oe property

protected PrivilegeManagerInterface,Neos\Flow\Security\Authorization $mockPrivilegeManager
Résultat Neos\Flow\Security\Authorization\PrivilegeManagerInterface

$mockTemplateImplementation protected_oe property

protected TemplateImplementation,Neos\Fusion\TypoScriptObjects $mockTemplateImplementation
Résultat Neos\Fusion\TypoScriptObjects\TemplateImplementation

$mockTsContext protected_oe property

protected array $mockTsContext
Résultat array

$mockTsRuntime protected_oe property

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

$mockView protected_oe property

protected FluidView,Neos\Fusion\TypoScriptObjects\Helpers $mockView
Résultat Neos\Fusion\TypoScriptObjects\Helpers\FluidView

$templateVariables protected_oe property

protected array $templateVariables
Résultat array