Searched refs:TestCancellationException (Results 1 – 14 of 14) sorted by relevance
46 val cancellationCause = TestCancellationException() in <lambda>()62 val cancellationCause = TestCancellationException() in <lambda>()64 assertTrue(e is TestCancellationException) in <lambda>()78 val cancellationCause = TestCancellationException() in <lambda>()111 val cancellationCause = TestCancellationException() in <lambda>()127 val cancellationCause = TestCancellationException() in <lambda>()143 val cancellationCause = TestCancellationException() in <lambda>()144 val thrown = TestCancellationException() in <lambda>()154 val thrown = TestCancellationException() in <lambda>()163 val thrown = TestCancellationException() in <lambda>()[all …]
101 channel!!.cancel(TestCancellationException()) in <lambda>()105 } catch (e: TestCancellationException) { in <lambda>()115 } catch (e: TestCancellationException) { in <lambda>()
157 job.cancel(TestCancellationException()) in <lambda>()161 assertTrue(cause is TestCancellationException) in <lambda>()192 job.cancel(TestCancellationException()) in <lambda>()196 assertTrue(cause is TestCancellationException) in <lambda>()215 assertTrue(cause is TestCancellationException) in <lambda>()228 assertTrue(cause is TestCancellationException) in <lambda>()231 job.cancel(TestCancellationException()) // cancel while execution is dispatched in <lambda>()255 assertTrue(cause is TestCancellationException) in <lambda>()269 assertTrue(cause is TestCancellationException) in <lambda>()273 job.cancel(TestCancellationException()) // cancel while execution is dispatched in <lambda>()
59 deferred.cancel(TestCancellationException("TEST")) in <lambda>()65 } catch (e: TestCancellationException) { in <lambda>()
62 d.cancel(TestCancellationException("TEST")) in <lambda>()65 } catch (e: TestCancellationException) { in <lambda>()
66 public class TestCancellationException(message: String? = null, private val data: Any? = null) : Ca… class
328 d.cancel(TestCancellationException()) in <lambda>()
69 check(e is TestCancellationException) in <lambda>()77 c.cancel(TestCancellationException()) in <lambda>()81 } catch (e: TestCancellationException) { in <lambda>()
38 fun testCancelWithCause() = runTest({ it is TestCancellationException }) { in <lambda>()40 channel.cancel(TestCancellationException())
90 fun testCancelWithCause() = runTest({ it is TestCancellationException }) { in <lambda>()92 channel.cancel(TestCancellationException())
142 fun testCancelWithCause() = runTest({ it is TestCancellationException }) { in <lambda>()144 channel.cancel(TestCancellationException())
195 fun testCancelWithCause() = runTest({ it is TestCancellationException }) { in <lambda>()198 subscription.cancel(TestCancellationException())
274 fun testCancelWithCause() = runTest({ it is TestCancellationException }) { in <lambda>()276 channel.cancel(TestCancellationException())
46 fun testAwaitWithCancellation() = runTest(expected = {it is TestCancellationException}) { in <lambda>()54 deferred.cancel(TestCancellationException()) in <lambda>()