- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for waitUntilBlocked (0.16 sec)
-
testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServerTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 46.1K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java
} } public interface ThreadHandle { ThreadHandle waitFor(); boolean waitUntil(Date expiry); boolean isCurrentThread(); void waitUntilBlocked(); } public interface ClockTick { ClockTick hasParticipants(int count); } private static class ClockTickImpl implements ClockTick { private final int number;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 23.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/integTest/groovy/org/gradle/integtests/tooling/ToolingApiRemoteIntegrationTest.groovy
.forTasks("help") .withCancellationToken(tokenSource.token()) .addProgressListener(events) .run(handler) downloadHandle.waitUntilBlocked() tokenSource.cancel() handler.finished() downloadHandle.release() } then: handler.assertFailedWith(BuildCancelledException)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 10.9K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/BlockingHttpServer.java
*/ public interface BlockingRequest extends ExpectedRequest { /** * Waits for the request to be received and blocked. */ void waitUntilBlocked(); /** * Unblock the request. */ void release(); } /** * Allows the test to synchronise with and unblock requests. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 21.7K bytes - Viewed (0)