Home
last modified time | relevance | path

Searched refs:completionException (Results 1 – 4 of 4) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/concurrent/test/
DConcurrentExceptionsStressTest.kt48 val completionException = deferred.getCompletionExceptionOrNull() in <lambda>() constant
49 val cause = completionException as? StressException in <lambda>()
50 ?: unexpectedException("completion", completionException) in <lambda>()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-play-services/test/
DTaskTest.kt118 val completionException = deferred.getCompletionExceptionOrNull()!! in <lambda>() constant
119 assertTrue(completionException is TestException) in <lambda>()
120 assertEquals("something went wrong", completionException.message) in <lambda>()
232 val completionException = deferred.getCompletionExceptionOrNull()!! in <lambda>() constant
233 assertTrue(completionException is TestException) in <lambda>()
234 assertEquals("something went wrong", completionException.message) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/jdk8/future/
DFutureTest.kt241 val completionException = deferred.getCompletionExceptionOrNull()!! in testFailedFutureAsDeferred() constant
242 assertTrue(completionException is TestException) in testFailedFutureAsDeferred()
243 assertEquals("something went wrong", completionException.message) in testFailedFutureAsDeferred()
/external/kotlinx.coroutines/integration/kotlinx-coroutines-guava/test/
DListenableFutureTest.kt449 val completionException = deferred.getCompletionExceptionOrNull()!! in testFailedFutureAsDeferred() constant
450 assertTrue(completionException is TestException) in testFailedFutureAsDeferred()