- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for expectBlocksUntil (0.19 sec)
-
subprojects/core/src/test/groovy/org/gradle/util/internal/DisconnectableInputStreamTest.groovy
syncAt(1) return expected.length } def instr = new DisconnectableInputStream(source, toActionExecuter(executorFactory)) run { expectBlocksUntil(1) { assertReads(instr, "some text") } } instr.close() } @Test void readBlocksUntilInputStreamIsClosed() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:46 UTC 2021 - 8.5K bytes - Viewed (0) -
subprojects/core/src/testFixtures/groovy/org/gradle/util/internal/MultithreadedTestRule.java
* * <p>Provides an {@link java.util.concurrent.Executor} implementation, which uses test threads to execute any tasks * submitted to it.</p> * * <p>You can use {@link #syncAt(int)} and {@link #expectBlocksUntil(int, groovy.lang.Closure)} to synchronise between * test threads.</p> */ public class MultithreadedTestRule extends ExternalResource {
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/core-runtime/messaging/src/test/groovy/org/gradle/internal/dispatch/AsyncDispatchTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 6.5K bytes - Viewed (0)