Home
last modified time | relevance | path

Searched refs:getCompleted (Results 1 – 13 of 13) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCompletableDeferredTest.kt23 assertEquals("OK", c.getCompleted()) in testComplete()
26 assertEquals("OK", c.getCompleted()) in testComplete()
36 assertTrue(c.getCompleted() is Incomplete) in testCompleteWithIncompleteResult()
44 assertThrows<IllegalStateException> { c.getCompleted() } in checkFresh()
60 assertThrows<CancellationException> { c.getCompleted() } in checkCancel()
78 assertThrows<TestException> { c.getCompleted() } in checkCancelWithException()
87 assertEquals("OK", c.getCompleted()) in testCompleteWithResultOK()
90 assertEquals("OK", c.getCompleted()) in testCompleteWithResultOK()
113 assertThrows<CancellationException> { c.getCompleted() } in testParentCancelsChild()
DAsyncTest.kt248 assertTrue(deferred.getCompleted() is DisposableHandle) in <lambda>()
262 assertTrue(deferred.getCompleted() is DisposableHandle) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/test/
DTestCoroutineContextTest.kt123 deferred.getCompleted() in <lambda>()
130 assertEquals(expectedValue, deferred.getCompleted()) in <lambda>()
168 deferred.getCompleted() in <lambda>()
176 assertEquals(expectedValue, deferred.getCompleted()) in <lambda>()
199 assertEquals(expectedValue, result.getCompleted()) in <lambda>()
297 assertEquals(expectedValue, result.getCompleted()) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/test/
DTestBuildersTest.kt78 assertEquals(3, deferred.getCompleted()) in scopeRunBlocking_disablesImmedateOnExit()
100 assertEquals(3, deferred.getCompleted()) in whenInAsync_runBlocking_nestsProperly()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DDeferred.kt71 public fun getCompleted(): T method
DCompletableDeferred.kt85 override fun getCompleted(): T = getCompletedInternal() as T method
DAwait.kt122 continuation.resume(deferreds.map { it.getCompleted() }) in toString()
DBuilders.common.kt100 override fun getCompleted(): T = getCompletedInternal() as T in getCompleted() method
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DPromise.kt42 resolve(getCompleted()) in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/src/
DTasks.kt36 source.setResult(getCompleted()) in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/src/future/
DFuture.kt77 future.complete(getCompleted()) in asCompletableFuture()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/src/
DListenableFuture.kt406 return deferred.getCompleted() in getInternal()
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api245 public abstract fun getCompleted ()Ljava/lang/Object;