- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getNodeWithIndexOfSelectedChild (0.35 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy
def newGrandChild = Mock(FileSystemNode) when: def resultRoot = initialRoot.store(searchedPath, CASE_SENSITIVE, snapshot, diffListener) AbstractIncompleteFileSystemNode newChild = getNodeWithIndexOfSelectedChild(resultRoot.children) as AbstractIncompleteFileSystemNode then: resultRoot.children == childrenWithSelectedChildReplacedBy(commonPrefix, newChild) newChild.children == sortedChildren(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 13.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy
def newEntries = childEntries() newEntries.remove(indexOfSelectedChild) return ChildMapFactory.childMapFromSorted(newEntries) } CHILD getNodeWithIndexOfSelectedChild(ChildMap<CHILD> newChildren) { int index = indexOfSelectedChild return childEntries(newChildren).get(index).value } String getCommonPrefix() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.3K bytes - Viewed (0)