- Sort Score
- Result 10 results
- Languages All
Results 61 - 67 of 67 for cancellationToken (0.16 sec)
-
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ConcurrentToolingApiIntegrationSpec.groovy
def o = progressLoggerFactory.newOperation("mock") operation(o) o.started() o.completed() return delegate.getToolingImplementationClasspath(progressLoggerFactory, progressListener, connectionParameters, cancellationToken) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 13.7K bytes - Viewed (0) -
platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy
launchTests(testDescriptors("example.MyTest", null, ":secondTest")) when: withConnection { connection -> withCancellation { cancellationToken -> launchTests(connection, new TestResultHandler(), cancellationToken) { TestLauncher launcher -> def testsToLaunch = testDescriptors("example.MyTest", null, ":secondTest") launcher
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Mar 06 06:59:43 UTC 2024 - 22.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonStateCoordinatorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sun May 05 22:24:02 UTC 2024 - 16.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultModelBuilderTest.groovy
assert params.javaHome == null assert params.jvmArguments == null assert params.arguments == null assert params.progressListener != null assert params.cancellationToken != null assert params.tasks == null return result } when: adaptedHandler.onComplete(result) then: 1 * handler.onComplete(result)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/ide/tooling-api/src/main/java/org/gradle/tooling/LongRunningOperation.java
* * <p>Supported by Gradle 2.1 or later. Ignored for older versions.</p> * * @since 2.1 */ LongRunningOperation withCancellationToken(CancellationToken cancellationToken);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 14K bytes - Viewed (0) -
subprojects/composite-builds/src/test/groovy/org/gradle/composite/internal/DefaultIncludedBuildTaskGraphParallelTest.groovy
@Rule RedirectStdOutAndErr stdout = new RedirectStdOutAndErr() // Use a reasonable number of workers to catch issues with contention @Shared def manyWorkers = 10 def cancellationToken = new DefaultBuildCancellationToken() def preparer = Stub(BuildTreeWorkGraphPreparer) def "does nothing when nothing scheduled"() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 16:29:26 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/DefaultBuildLauncherTest.groovy
assert params.javaHome == null assert params.jvmArguments == null assert params.arguments == null assert params.progressListener != null assert params.cancellationToken != null return null } 1 * handler.onComplete(null) 0 * asyncConnection._ 0 * handler._ } def "can configure the operation"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 11.4K bytes - Viewed (0)