PHP Class Neos\ContentRepository\Tests\Unit\Domain\Service\NodeServiceTest

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

Protected Properties

Свойство Type Description
$subNodeTypesFixture array example node types

Méthodes publiques

Méthode Description
abnormalPaths ( ) : array
cleanUpChildNodesNeverRemoveDocumentNode ( )
cleanUpChildNodesRemoveAllUndeclaredChildNodes ( )
cleanUpPropertiesRemoveAllUndeclaredProperties ( )
createChildNodesTryToCreateAllConfiguredChildNodes ( )
isNodeOfTypeReturnTrueIsTheGivenNodeHasTheSameTypeOfTheGivenType ( )
isNodeOfTypeReturnTrueIsTheGivenNodeIsSubNodeOfTheGivenType ( )
normalizePathReturnsANormalizedAbsolutePath ( string $currentPath, string $relativePath, string $normalizedPath )
normalizePathThrowsInvalidArgumentExceptionOnPathContainingDoubleSlash ( )
setDefaultDateValueOnlyIfTheCurrentPropertyIsNull ( )
setDefaultValueNeverReplaceExistingValue ( )
setDefaultValueOnlyIfTheCurrentPropertyIsNull ( )

Méthodes protégées

Méthode Description
createNodeService ( ) : Neos\ContentRepository\Domain\Service\NodeService
mockNodeType ( string $nodeTypeName ) : mixed

Method Details

abnormalPaths() public méthode

public abnormalPaths ( ) : array
Résultat array

cleanUpChildNodesNeverRemoveDocumentNode() public méthode

cleanUpChildNodesRemoveAllUndeclaredChildNodes() public méthode

cleanUpPropertiesRemoveAllUndeclaredProperties() public méthode

createChildNodesTryToCreateAllConfiguredChildNodes() public méthode

createNodeService() protected méthode

protected createNodeService ( ) : Neos\ContentRepository\Domain\Service\NodeService
Résultat Neos\ContentRepository\Domain\Service\NodeService

isNodeOfTypeReturnTrueIsTheGivenNodeHasTheSameTypeOfTheGivenType() public méthode

isNodeOfTypeReturnTrueIsTheGivenNodeIsSubNodeOfTheGivenType() public méthode

mockNodeType() protected méthode

protected mockNodeType ( string $nodeTypeName ) : mixed
$nodeTypeName string
Résultat mixed

normalizePathReturnsANormalizedAbsolutePath() public méthode

public normalizePathReturnsANormalizedAbsolutePath ( string $currentPath, string $relativePath, string $normalizedPath )
$currentPath string
$relativePath string
$normalizedPath string

normalizePathThrowsInvalidArgumentExceptionOnPathContainingDoubleSlash() public méthode

setDefaultDateValueOnlyIfTheCurrentPropertyIsNull() public méthode

setDefaultValueNeverReplaceExistingValue() public méthode

setDefaultValueOnlyIfTheCurrentPropertyIsNull() public méthode

Property Details

$subNodeTypesFixture protected_oe property

example node types
protected array $subNodeTypesFixture
Résultat array