- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for selectedChildPath (0.27 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/VirtualFileSystemTestSpec.groovy
final String selectedChildPath VirtualFileSystemTestSpec(List<String> childPaths, String relativeSearchedPath, @Nullable String selectedChildPath) { this.childPaths = childPaths this.searchedPath = VfsRelativePath.of("${ABSOLUTE_PATH_PREFIX}/${relativeSearchedPath}").pathFromChild(VfsRelativePath.of(ABSOLUTE_PATH_PREFIX).asString) this.selectedChildPath = selectedChildPath } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 1.4K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractFileSystemNodeWithChildrenTest.groovy
this.children = createChildren(spec.childPaths) this.initialRoot = createInitialRootNode(children) this.searchedPath = spec.searchedPath this.selectedChildPath = spec.selectedChildPath if (selectedChildPath != null) { def selectedChildIndex = indexOfSelectedChild this.selectedChild = selectedChildIndex == -1 ? null : childEntries().get(selectedChildIndex).value }
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
node instanceof PartialDirectoryNode } @Override boolean isAllowEmptyChildren() { return true } def "invalidate #vfsSpec.searchedPath removes child #vfsSpec.selectedChildPath (#vfsSpec)"() { setupTest(vfsSpec) when: def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get() then:
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/AbstractIncompleteFileSystemNodeTest.groovy
where: vfsSpec << NO_COMMON_PREFIX.findAll { allowEmptyChildren || !it.childPaths.empty } } def "store parent #vfsSpec.searchedPath replaces child #vfsSpec.selectedChildPath (#vfsSpec)"() { setupTest(vfsSpec) def newChildPath = searchedPath.asString def snapshot = Mock(MetadataSnapshot) def parent = mockChild() when:
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/UnknownFileSystemNodeTest.groovy
return node instanceof UnknownFileSystemNode } @Override boolean isAllowEmptyChildren() { return false } def "invalidate #vfsSpec.searchedPath removes child #vfsSpec.selectedChildPath (#vfsSpec)"() { setupTest(vfsSpec) when: def resultRoot = initialRoot.invalidate(searchedPath, CASE_SENSITIVE, diffListener).get() then:
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
interaction { noMoreInteractions() } where: vfsSpec << onlyDirectChildren(SAME_PATH) } def "invalidate descendant #vfsSpec.searchedPath of child #vfsSpec.selectedChildPath creates a partial directory node with the invalidated child (#vfsSpec)"() { setupTest(vfsSpec) def invalidatedChild = mockChild() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.2K bytes - Viewed (0)