- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for waitsForAsyncActionToComplete (0.27 sec)
-
subprojects/core/src/test/groovy/org/gradle/util/ConcurrentSpecificationTest.groovy
waitsForAsyncCallback().callbackLater { } } def "can check that an action blocks until an asynchronous action is finished"() { Runnable action = Mock() def operation = waitsForAsyncActionToComplete() def latch = new CountDownLatch(1) when: operation.start { start { action.run() } latch.await() } finished()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 07 08:18:50 UTC 2021 - 10.5K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/ConcurrentTestUtil.groovy
return new WaitForAsyncCallback(this) } /** * Creates a new action which waits until an async. action is complete. */ WaitForAsyncAction waitsForAsyncActionToComplete() { return new WaitForAsyncAction(this) } /** * Returns a composite participant, which you can use to perform atomic operations on. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 22.9K bytes - Viewed (0)