- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for childrenWithSelectedChildReplacedBy (0.49 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy
AbstractIncompleteFileSystemNode newChild = getNodeWithIndexOfSelectedChild(resultRoot.children) as AbstractIncompleteFileSystemNode then: resultRoot.children == childrenWithSelectedChildReplacedBy(commonPrefix, newChild) newChild.children == sortedChildren( newGrandChildPath, newGrandChild, selectedChildPathFromCommonPrefix, selectedChild )
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
.collect(Collectors.toList())) } ChildMap<CHILD> childrenWithSelectedChildReplacedBy(CHILD replacement) { childrenWithSelectedChildReplacedBy(selectedChildPath, replacement) } ChildMap<CHILD> childrenWithSelectedChildReplacedBy(String replacementPath, CHILD replacement) { def newChildren = childEntries()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.3K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/PartialDirectoryNodeTest.groovy
def invalidatedChild = mockChild() when: def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get() then: resultRoot.children == childrenWithSelectedChildReplacedBy(invalidatedChild) isSameNodeType(resultRoot) removedNodes.empty addedNodes.empty interaction { invalidateDescendantOfSelectedChild(invalidatedChild)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/UnknownFileSystemNodeTest.groovy
def invalidatedChild = mockChild() when: def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get() then: resultRoot.children == childrenWithSelectedChildReplacedBy(invalidatedChild) isSameNodeType(resultRoot) removedNodes.empty addedNodes.empty interaction { invalidateDescendantOfSelectedChild(invalidatedChild)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy
when: def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get() then: resultRoot instanceof PartialDirectoryNode resultRoot.children == childrenWithSelectedChildReplacedBy(invalidatedChild) removedNodes == [initialRoot.getSnapshot().get()] addedNodes == childrenWithSelectedChildRemoved().stream().map(ChildMap.Entry::getValue).toList() interaction {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.2K bytes - Viewed (0)