Home
last modified time | relevance | path

Searched refs:getCompletionExceptionOrNull (Results 1 – 21 of 21) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCompletableDeferredTest.kt45 assertThrows<IllegalStateException> { c.getCompletionExceptionOrNull() } in checkFresh()
53 assertNull(c.getCompletionExceptionOrNull()) in checkCompleteOk()
61 assertTrue(c.getCompletionExceptionOrNull() is CancellationException) in checkCancel()
79 assertTrue(c.getCompletionExceptionOrNull() is TestException) in checkCancelWithException()
114 assertTrue(c.getCompletionExceptionOrNull() is CancellationException) in testParentCancelsChild()
DAsyncTest.kt249 assertNull(deferred.getCompletionExceptionOrNull()) in <lambda>()
263 assertNull(deferred.getCompletionExceptionOrNull()) in <lambda>()
DCoroutineExceptionHandlerTest.kt45 assertTrue(parent.getCompletionExceptionOrNull() is TestException) in <lambda>()
DCompletableJobTest.kt91 assertTrue { child.getCompletionExceptionOrNull() is CancellationException } in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/
DStateInTest.kt73 assertTrue(sharingJob.getCompletionExceptionOrNull() is TestException) in <lambda>()
75 assertNull(sharingJob.getCompletionExceptionOrNull()) in <lambda>()
DShareInTest.kt107 assertTrue(sharingJob.getCompletionExceptionOrNull() is TestException) in <lambda>()
109 assertNull(sharingJob.getCompletionExceptionOrNull()) in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/test/
DTaskTest.kt118 val completionException = deferred.getCompletionExceptionOrNull()!! in testFailedTaskAsDeferred()
148 … assertSame(e.cause, deferred.getCompletionExceptionOrNull()) // debug mode stack augmentation in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/test/
DTestCoroutineContextTest.kt214 assertTrue(result.getCompletionExceptionOrNull() is TimeoutCancellationException) in <lambda>()
296 assertNull(result.getCompletionExceptionOrNull()) in <lambda>()
312 val e = result.getCompletionExceptionOrNull() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/
DDeferred.kt84 public fun getCompletionExceptionOrNull(): Throwable? method
DJobSupport.kt1187 public fun getCompletionExceptionOrNull(): Throwable? { in <lambda>() method
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/src/
DListenableFuture.kt374 || deferred.getCompletionExceptionOrNull() is kotlinx.coroutines.CancellationException) in isCancelled()
399 val exception = deferred.getCompletionExceptionOrNull() in getInternal()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DJobChildStressTest.kt55 val exception = parent.getCompletionExceptionOrNull() in <lambda>()
DJobActivationStressTest.kt61 val exception = d.getCompletionExceptionOrNull() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/js/src/
DPromise.kt38 val e = getCompletionExceptionOrNull() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestBuilders.kt53 deferred.getCompletionExceptionOrNull()?.let { in runBlockingTest()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/
DListenableFutureTest.kt372 assertTrue(asFutureAsDeferred.getCompletionExceptionOrNull() is CancellationException) in <lambda>()
395 assertTrue(asDeferred.getCompletionExceptionOrNull() is CancellationException) in <lambda>()
422 val completionException = deferred.getCompletionExceptionOrNull()!! in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/src/
DTasks.kt34 val t = getCompletionExceptionOrNull() in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-jdk8/test/future/
DAsFutureTest.kt122 assertTrue(deferred.getCompletionExceptionOrNull() is CancellationException) in testDeferredCancellation()
DFutureTest.kt241 val completionException = deferred.getCompletionExceptionOrNull()!! in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/api/
Dkotlinx-coroutines-core.api246 public abstract fun getCompletionExceptionOrNull ()Ljava/lang/Throwable;
419 public final fun getCompletionExceptionOrNull ()Ljava/lang/Throwable;
/external/kotlinx.coroutines/
DCHANGES.md890 …* Introduced `Deferred.getCompletionExceptionOrNull` to get not-wrapped exception result of `async…