- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,609 for interaction (0.19 sec)
-
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/AbstractIncompleteFileSystemNodeTest.groovy
1 * snapshot.asFileSystemNode() >> newGrandChild _ * newGrandChild.snapshot >> Optional.of(snapshot) _ * selectedChild.snapshot >> Optional.empty() 1 * snapshot.type >> fileType interaction { noMoreInteractions() } where: vfsSpecWithFileType << [COMMON_PREFIX, [FileType.RegularFile, FileType.Directory]].combinations() vfsSpec = vfsSpecWithFileType[0] as VirtualFileSystemTestSpec
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-runtime/daemon-services/src/main/java/org/gradle/api/internal/tasks/userinput/UserInputHandler.java
return askUser(interaction -> interaction.askYesNoQuestion(question)).getOrNull(); } /** * Ask the user one or more questions to produce a value of type {@link T}. */ <T> Provider<T> askUser(Function<? super UserQuestions, ? extends T> interaction); /** * Return true if the user input has been interrupted, e.g. via Ctrl+C or some interaction with the client UI. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 1.8K bytes - Viewed (0) -
platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/metadata/CompilerMetaDataProviderFactoryTest.groovy
then: interaction compilerShouldBeExecuted when: def secondMetadata = metadataProvider(compiler).getCompilerMetaData([]) { it.executable(secondBinary) } then: interaction compilerShouldBeExecuted firstMetadata != secondMetadata when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 4.5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/DirectoryNodeTest.groovy
resultRoot.children == children removedNodes == [initialRoot.getSnapshot().get()] addedNodes == children.stream().map(ChildMap.Entry::getValue).toList() interaction { noMoreInteractions() } where: vfsSpec << onlyDirectChildren(NO_COMMON_PREFIX) } def "invalidate a single child creates a partial directory node without the child (#vfsSpec)"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 9.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/BuildCacheStepTest.groovy
result == delegateResult interaction { withValidCacheKey() } then: _ * work.allowedToLoadFromCache >> false then: 1 * delegate.execute(work, context) >> delegateResult 1 * delegateResult.execution >> Try.successful(execution) 1 * execution.canStoreOutputsInCache() >> true then: interaction { outputStored {} } 0 * _ }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 10:13:50 UTC 2024 - 10.2K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/snapshot/UnknownFileSystemNodeTest.groovy
then: resultRoot.children == childrenWithSelectedChildRemoved() isSameNodeType(resultRoot) removedNodes == [selectedChild] addedNodes.empty interaction { noMoreInteractions() } where: vfsSpec << (IS_PREFIX_OF_CHILD + SAME_PATH).findAll { it.childPaths.size() > 1 } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 4.2K bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/cache/internal/DefaultFileContentCacheFactoryTest.groovy
and: interaction { snapshotRegularFile(file) } 1 * calculator.calculate(file, true) >> 12 0 * _ when: listenerManager.getBroadcaster(OutputChangeListener).invalidateCachesFor([]) result = cache.get(file) then: result == 12 and: interaction { snapshotRegularFile(file)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 8.4K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/steps/RemovePreviousOutputsStepTest.groovy
outputs.snapshot() outputs.dir.file("some/notOutput1.txt") << "notOutput1" outputs.dir.createDir("some/notOutput2") when: step.execute(work, context) then: interaction { cleanupOverlappingOutputs(outputs) } 1 * delegate.execute(work, context) >> delegateResult 0 * _ !outputs.file.exists()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 8.3K bytes - Viewed (0) -
platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/changes/CachingChangeContainerTest.groovy
then: interaction { receivesChanges(change1, change2, change3) } 0 * _ when: cachingChanges.accept(new CollectingChangeVisitor()) cachingChanges.accept(collectingVisitor) def reported = collectingVisitor.changes then: interaction { receivesChanges(change1, change2, change3)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 3K bytes - Viewed (0) -
test/typeparam/issue51219b.dir/a.go
} type ResolvedData[T ResolvedDataConstraint] map[uint64]T type ResolvedDataConstraint interface { User | Message } type User struct{} type Message struct { Interaction *Interaction[[]byte] `json:"interaction,omitempty"`
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 28 14:59:04 UTC 2022 - 792 bytes - Viewed (0)