Home
last modified time | relevance | path

Searched refs:TestException1 (Results 1 – 9 of 9) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DSupervisorTest.kt16 { it -> it is TestException1 } in <lambda>()
25 throw TestException1() in <lambda>()
42 { it -> it is TestException1 }, in <lambda>()
48 throw TestException1() in <lambda>()
126 throw TestException1() in <lambda>()
128 } catch (e: TestException1) { in <lambda>()
154 throw TestException1() in <lambda>()
156 } catch (e: TestException1) { in <lambda>()
170 parent.completeExceptionally(TestException1()) in <lambda>()
176 assertTrue(cause is TestException1) in <lambda>()
[all …]
DCoroutineScopeTest.kt72 throw TestException1() in <lambda>()
75 } catch (e: TestException1) { in <lambda>()
89 throw TestException1() in <lambda>()
94 } catch (e: TestException1) { in <lambda>()
145 } catch (e: TestException1) { in <lambda>()
154 throw TestException1() in <lambda>()
175 } catch (e: TestException1) { in testAsyncCancellationSecond()
193 throw TestException1() in <lambda>()
215 throw TestException1() in <lambda>()
224 } catch (e: TestException1) { in <lambda>()
[all …]
DAbstractCoroutineTest.kt62 assertTrue(cause is TestException1) in <lambda>()
71 assertTrue(cause is TestException1) in <lambda>()
77 assertTrue(it is TestException1) in <lambda>()
82 assertTrue(it is TestException1) in <lambda>()
89 coroutine.cancelCoroutine(TestException1()) in <lambda>()
DTestBase.common.kt82 public class TestException1(message: String? = null, private val data: Any? = null) : Throwable(mes… class
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DChannelReceiveCatchingTest.kt15 channel.send(TestException1()) in <lambda>()
20 assertTrue(element.getOrThrow() is TestException1) in <lambda>()
21 assertTrue(element.getOrNull() is TestException1) in <lambda>()
117 channel.send(ChannelResult.closed(TestException1())) in <lambda>()
127 assertTrue(closeCauseResult.getOrThrow().exceptionOrNull() is TestException1) in <lambda>()
139 channel.close(TestException1("OK")) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DWithContextCancellationStressTest.kt43 throw TestException1() in testConcurrentFailure()
67 is TestException1 -> { in testConcurrentFailure()
101 … assertTrue(suppressed.any { it is TestException1 }, "TestException1 should be present: $this") in Throwable()
DJobExceptionsStressTest.kt35 throw TestException1() in testMultipleChildrenThrows()
51 TestException1::class, in testMultipleChildrenThrows()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DJoinStressTest.kt73 } catch (e: TestException1) { in <lambda>()
81 (exceptionalJob as AbstractCoroutine<*>).cancelInternal(TestException1()) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/jdk8/future/
DFutureTest.kt354 launch(start = CoroutineStart.ATOMIC) { throw TestException1("FAIL") } in <lambda>()
358 result.checkFutureException<TestException>(TestException1::class, TestException2::class) in <lambda>()