NodeTraversalTrait
trait NodeTraversalTrait (View source)
The feature trait to test the subgraph traversal API
Traits
The node creation trait for behavioral tests
Properties
| protected ContentRepository|null | $currentContentRepository | from CRTestSuiteRuntimeVariables | |
| protected WorkspaceName|null | $currentWorkspaceName | from CRTestSuiteRuntimeVariables | |
| protected DimensionSpacePoint|null | $currentDimensionSpacePoint | from CRTestSuiteRuntimeVariables | |
| protected VisibilityConstraints|null | $currentVisibilityConstraints | from CRTestSuiteRuntimeVariables | |
| protected NodeAggregateId|null | $currentRootNodeAggregateId | from CRTestSuiteRuntimeVariables | |
| protected Exception|null | $lastCommandException | from CRTestSuiteRuntimeVariables | |
| protected Node|null | $currentNode | from CRTestSuiteRuntimeVariables | |
| protected NodeAggregate|null | $currentNodeAggregate | from CRTestSuiteRuntimeVariables | |
| protected NodeAggregateId> | $rememberedNodeAggregateIds | from CRTestSuiteRuntimeVariables |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
void
iAmInContentRepository(string $contentRepositoryId)
No description
abstract protected ContentRepository
getContentRepository(ContentRepositoryId $id)
No description
void
iAmUserIdentifiedBy(string $userId)
No description
void
theCurrentDateAndTimeIs(string $timestamp)
No description
void
iAmInWorkspace(string $workspaceName)
No description
void
iAmInDimensionSpacePoint(string $dimensionSpacePoint)
No description
void
iAmInWorkspaceAndDimensionSpacePoint(string $workspaceName, string $dimensionSpacePoint)
No description
void
visibilityConstraintsAreSetTo(string $restrictionType)
No description
ContentSubgraphInterface
getCurrentSubgraph()
No description
void
iRememberNodeAggregateIdOfNodesChildAs(string $parentNodeAggregateId, string $childNodeName, string $indexName)
No description
protected NodeAggregateId|null
getCurrentNodeAggregateId()
No description
void
iExecuteTheFindChildNodesQueryIExpectTheFollowingNodes(string $parentNodeIdSerialized, string $filterSerialized = '', string $expectedNodeIdsSerialized = '', int|null $expectedTotalCount = null)
No description
void
iExecuteTheFindReferencesQueryIExpectTheFollowingReferences(string $nodeIdSerialized, string|null $filterSerialized = null, string|null $referencesSerialized = null, int|null $expectedTotalCount = null)
No description
void
iExecuteTheFindBackReferencesQueryIExpectTheFollowingReferences(string $nodeIdSerialized, string|null $filterSerialized = null, string|null $referencesSerialized = null, int|null $expectedTotalCount = null)
No description
void
iExecuteTheFindNodeByIdQueryIExpectTheFollowingNodes(string $nodeIdSerialized, string|null $expectedNodeIdSerialized = null)
No description
void
iExecuteTheFindNodeByIdsQueryIExpectTheFollowingNodes(string $entryNodeIdsSerialized, string $expectedNodeIdsSerialized)
No description
void
iExecuteTheFindNodeAggregateByIdQueryIExpectTheFollowingNodes(string $entryNodeIdSerialized, TableNode $expectedNodes)
No description
void
iExecuteTheFindNodeAggregatesByIdsByIdsQueryIExpectTheFollowingNodes(string $entryNodeIdsSerialized, TableNode $expectedNodes)
No description
void
iExecuteTheFindParentNodeQueryIExpectTheFollowingNodes(string $nodeIdSerialized, string|null $expectedNodeIdSerialized = null)
No description
void
iExecuteTheFindParentNodeAggregatesQueryIExpectTheFollowingNodes(string $entryNodeIdSerialized, TableNode $expectedNodes)
No description
void
iExecuteTheFindNodeByPathQueryIExpectTheFollowingNodes(string $pathSerialized, string $startingNodeIdSerialized, string|null $expectedNodeIdSerialized = null)
No description
void
iExecuteTheFindNodeByAbsolutePathQueryIExpectTheFollowingNodes(string $pathSerialized, string|null $expectedNodeIdSerialized = null)
No description
void
iExecuteTheFindChildNodeByNodeNameQueryIExpectTheFollowingNodes(string $parentNodeIdSerialized, string $edgeNameSerialized, string|null $expectedNodeIdSerialized = null)
No description
void
iExecuteTheFindSucceedingSiblingNodesQueryIExpectTheFollowingNodes(string $siblingNodeIdSerialized, string|null $filterSerialized = null, string|null $expectedNodeIdsSerialized = null)
No description
void
iExecuteTheFindPrecedingSiblingNodesQueryIExpectTheFollowingNodes(string $siblingNodeIdSerialized, string|null $filterSerialized = null, string|null $expectedNodeIdsSerialized = null)
No description
void
iExecuteTheRetrieveNodePathQueryIExpectTheFollowingNodes(string $nodeIdSerialized, string|null $expectedPathSerialized = null, string|null $expectedExceptionMessage = null)
No description
void
iExecuteTheFindSubtreeQueryIExpectTheFollowingTrees(string $entryNodeIdSerialized, string|null $filterSerialized = null, PyStringNode|null $expectedTree = null, string|null $withTags = null)
No description
void
iExecuteTheFindDescendantNodesQueryIExpectTheFollowingNodes(string $entryNodeIdSerialized, string $filterSerialized = '', string $expectedNodeIdsSerialized = '', int|null $expectedTotalCount = null)
No description
void
iExecuteTheFindAncestorNodesQueryIExpectTheFollowingNodes(string $entryNodeIdSerialized, string $filterSerialized = '', string $expectedNodeIdsSerialized = '', int|null $expectedTotalCount = null)
No description
void
iExecuteTheFindAncestorNodeAggregateIdsQueryIExpectTheFollowingNodes(string $entryNodeIdSerialized, string $expectedNodeIdsSerialized = '')
No description
void
iExecuteTheFindClosestNodeQueryIExpectTheFollowingNodes(string $entryNodeIdSerialized, string $filterSerialized = '', string|null $expectedNodeId = null)
No description
void
iExecuteTheCountNodesQueryIExpectTheFollowingResult(int $expectedResult)
No description
void
iExpectTheNodeToHaveTheFollowingTimestamps(string $nodeIdSerialized, TableNode $expectedTimestampsTable)
No description
void
iExecuteTheFindNodeAggregatesTaggedByQueryIExpectTheFollowingNodes(string $subtreeTag, TableNode $expectedNodes)
No description
void
iExecuteTheFindRootNodeByTypeQueryIExpectTheFollowingNodes(string $serializedNodeTypeName, string|null $serializedExpectedNodeId = null)
No description