Searched refs:getCompletionExceptionOrNull (Results 1 – 21 of 21) sorted by relevance
45 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()
249 assertNull(deferred.getCompletionExceptionOrNull()) in <lambda>()263 assertNull(deferred.getCompletionExceptionOrNull()) in <lambda>()
45 assertTrue(parent.getCompletionExceptionOrNull() is TestException) in <lambda>()
91 assertTrue { child.getCompletionExceptionOrNull() is CancellationException } in <lambda>()
73 assertTrue(sharingJob.getCompletionExceptionOrNull() is TestException) in <lambda>()75 assertNull(sharingJob.getCompletionExceptionOrNull()) in <lambda>()
107 assertTrue(sharingJob.getCompletionExceptionOrNull() is TestException) in <lambda>()109 assertNull(sharingJob.getCompletionExceptionOrNull()) in <lambda>()
118 val completionException = deferred.getCompletionExceptionOrNull()!! in testFailedTaskAsDeferred()148 … assertSame(e.cause, deferred.getCompletionExceptionOrNull()) // debug mode stack augmentation in <lambda>()
214 assertTrue(result.getCompletionExceptionOrNull() is TimeoutCancellationException) in <lambda>()296 assertNull(result.getCompletionExceptionOrNull()) in <lambda>()312 val e = result.getCompletionExceptionOrNull() in <lambda>()
84 public fun getCompletionExceptionOrNull(): Throwable? method
1187 public fun getCompletionExceptionOrNull(): Throwable? { in <lambda>() method
374 || deferred.getCompletionExceptionOrNull() is kotlinx.coroutines.CancellationException) in isCancelled()399 val exception = deferred.getCompletionExceptionOrNull() in getInternal()
55 val exception = parent.getCompletionExceptionOrNull() in <lambda>()
61 val exception = d.getCompletionExceptionOrNull() in <lambda>()
38 val e = getCompletionExceptionOrNull() in <lambda>()
53 deferred.getCompletionExceptionOrNull()?.let { in runBlockingTest()
372 assertTrue(asFutureAsDeferred.getCompletionExceptionOrNull() is CancellationException) in <lambda>()395 assertTrue(asDeferred.getCompletionExceptionOrNull() is CancellationException) in <lambda>()422 val completionException = deferred.getCompletionExceptionOrNull()!! in <lambda>()
34 val t = getCompletionExceptionOrNull() in <lambda>()
122 assertTrue(deferred.getCompletionExceptionOrNull() is CancellationException) in testDeferredCancellation()
241 val completionException = deferred.getCompletionExceptionOrNull()!! in <lambda>()
246 public abstract fun getCompletionExceptionOrNull ()Ljava/lang/Throwable;419 public final fun getCompletionExceptionOrNull ()Ljava/lang/Throwable;
890 …* Introduced `Deferred.getCompletionExceptionOrNull` to get not-wrapped exception result of `async…