TreeCollectionNodeTest
package |
TreeHelperTest |
---|---|
subpackage |
Tree |
childrenProvider() : array
array
isEqualsProvider() : array
array
jsonSerializeProvider() : \testJsonSerialize
\testJsonSerialize
nodesProvider() : array
array
setUp()
testAddChildrens(\TreeCollectionNode $Node, array<mixed,\TreeCollectionNode> $Childrens)
dataProvider |
childrenProvider |
---|---|
\TreeCollectionNode
array<mixed,\TreeCollectionNode>
testCreate(mixed $Element, \TreeCollection $Childrens = null, \TreeCollectionNode $Parent = null)
dataProvider |
nodesProvider |
---|---|
mixed
\TreeCollection
\TreeCollectionNode
testIsEquals(\TreeCollectionNode $Node1, \TreeCollectionNode $Node2, boolean $equals)
dataProvider |
isEqualsProvider |
---|---|
\TreeCollectionNode
\TreeCollectionNode
boolean
testJsonSerialize(\TreeCollectionNode $Node, array $output)
testRemoveChildrens(\TreeCollectionNode $Node, array<mixed,\TreeCollectionNode> $Childrens)
dataProvider |
childrenProvider |
---|---|
\TreeCollectionNode
array<mixed,\TreeCollectionNode>
testSet(mixed $Element, \TreeCollection $Childrens = null, \TreeCollectionNode $Parent = null)
dataProvider |
nodesProvider |
---|---|
mixed
\TreeCollection
\TreeCollectionNode