Home
last modified time | relevance | path

Searched refs:expectUnreached (Results 1 – 25 of 142) sorted by relevance

123456

/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/
DChannelUndeliveredElementFailureTest.kt28 expectUnreached() in isElementCancelException()
39 expectUnreached() in <lambda>()
51 expectUnreached() // will be cancelled before it dispatches in <lambda>()
63 expectUnreached() in <lambda>()
66 expectUnreached() // will be cancelled before it dispatches in <lambda>()
77 expectUnreached() // will be cancelled before it dispatches in <lambda>()
89 expectUnreached() in <lambda>()
92 expectUnreached() // will be cancelled before it dispatches in <lambda>()
103 expectUnreached() // will be cancelled before it dispatches in <lambda>()
115 expectUnreached() in testReceiveOrClosedSelectCancelledFail()
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx3/test/
DFlowableExceptionHandlingTest.kt25 private fun cehUnreached() = CoroutineExceptionHandler { _, _ -> expectUnreached() } in <lambda>()
28 fun testException() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
33 expectUnreached() in <lambda>()
46 expectUnreached() in <lambda>()
54 fun testExceptionAsynchronous() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
61 expectUnreached() in <lambda>()
76 expectUnreached() in <lambda>()
96 fun testExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
108 fun testAsynchronousExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
131 }, { expectUnreached() }) in <lambda>()
DObservableExceptionHandlingTest.kt25 private fun cehUnreached() = CoroutineExceptionHandler { _, _ -> expectUnreached() } in <lambda>()
28 fun testException() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
33 expectUnreached() in <lambda>()
46 expectUnreached() in <lambda>()
54 fun testExceptionAsynchronous() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
61 expectUnreached() in <lambda>()
76 expectUnreached() in <lambda>()
96 fun testExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
108 fun testAsynchronousExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
DFlowAsObservableTest.kt42 observable.subscribe({ expectUnreached() }, { error -> in <lambda>()
61 val sub = observable.subscribe({ expectUnreached() }, { expectUnreached() }) in <lambda>()
127 …val disposable = observable.subscribe({ expectUnreached() }, { expectUnreached() }, { expectUnreac… in <lambda>()
140 expectUnreached() in <lambda>()
143 observable.subscribe({ expect(2) }, { expectUnreached() }, { finish(3) }) in <lambda>()
170 expectUnreached() in <lambda>()
204 expectUnreached() in <lambda>()
DCompletableTest.kt39 expectUnreached() in <lambda>()
56 expectUnreached() in <lambda>()
61 expectUnreached() in <lambda>()
63 expectUnreached() in <lambda>()
94 expectUnreached() in <lambda>()
115 expectUnreached() in <lambda>()
146 expectUnreached() in <lambda>()
150 expectUnreached() in <lambda>()
178 }.subscribe({ expectUnreached() }, { expect(1); assertTrue(it is LinkageError) }) in <lambda>()
DMaybeTest.kt67 expectUnreached() in <lambda>()
85 expectUnreached() in <lambda>()
90 expectUnreached() in <lambda>()
92 expectUnreached() in <lambda>()
221 expectUnreached() in <lambda>()
223 expectUnreached() in <lambda>()
245 expectUnreached() in <lambda>()
276 expectUnreached() in <lambda>()
280 expectUnreached() in <lambda>()
284 expectUnreached() in <lambda>()
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-rx2/test/
DFlowableExceptionHandlingTest.kt25 private fun cehUnreached() = CoroutineExceptionHandler { _, _ -> expectUnreached() } in <lambda>()
28 fun testException() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
33 expectUnreached() in <lambda>()
46 expectUnreached() in <lambda>()
54 fun testExceptionAsynchronous() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
61 expectUnreached() in <lambda>()
76 expectUnreached() in <lambda>()
96 fun testExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
108 fun testAsynchronousExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
131 }, { expectUnreached() }) in <lambda>()
DObservableExceptionHandlingTest.kt25 private fun cehUnreached() = CoroutineExceptionHandler { _, _ -> expectUnreached() } in <lambda>()
28 fun testException() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
33 expectUnreached() in <lambda>()
46 expectUnreached() in <lambda>()
54 fun testExceptionAsynchronous() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
61 expectUnreached() in <lambda>()
76 expectUnreached() in <lambda>()
96 fun testExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
108 fun testAsynchronousExceptionFromSubscribe() = withExceptionHandler({ expectUnreached() }) { in <lambda>()
DFlowAsObservableTest.kt42 observable.subscribe({ expectUnreached() }, { error -> in <lambda>()
61 val sub = observable.subscribe({ expectUnreached() }, { expectUnreached() }) in <lambda>()
127 …val disposable = observable.subscribe({ expectUnreached() }, { expectUnreached() }, { expectUnreac… in <lambda>()
140 expectUnreached() in <lambda>()
143 observable.subscribe({ expect(2) }, { expectUnreached() }, { finish(3) }) in <lambda>()
170 expectUnreached() in <lambda>()
204 expectUnreached() in <lambda>()
DCompletableTest.kt39 expectUnreached() in <lambda>()
56 expectUnreached() in <lambda>()
61 expectUnreached() in <lambda>()
63 expectUnreached() in <lambda>()
94 expectUnreached() in <lambda>()
115 expectUnreached() in <lambda>()
146 expectUnreached() in <lambda>()
150 expectUnreached() in <lambda>()
178 }.subscribe({ expectUnreached() }, { expect(1); assertTrue(it is LinkageError) }) in <lambda>()
DMaybeTest.kt67 expectUnreached() in <lambda>()
85 expectUnreached() in <lambda>()
90 expectUnreached() in <lambda>()
92 expectUnreached() in <lambda>()
221 expectUnreached() in <lambda>()
223 expectUnreached() in <lambda>()
245 expectUnreached() in <lambda>()
276 expectUnreached() in <lambda>()
280 expectUnreached() in <lambda>()
284 expectUnreached() in <lambda>()
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/
DCoroutinesTest.kt93 expectUnreached() in <lambda>()
112 expectUnreached() in <lambda>()
159 expectUnreached() in <lambda>()
163 expectUnreached() // because of exception in child in <lambda>()
174 expectUnreached() in <lambda>()
178 expectUnreached() // because of exception in child in <lambda>()
184 expectUnreached() // because of exception in child in <lambda>()
219 expectUnreached() // will get cancelled in <lambda>()
235 expectUnreached() in <lambda>()
246 expectUnreached() in <lambda>()
[all …]
DCancellableContinuationHandlersTest.kt18 c.invokeOnCancellation { expectUnreached() } in <lambda>()
27 c.invokeOnCancellation { expectUnreached() } in <lambda>()
29 assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
39 c.invokeOnCancellation { expectUnreached() } in <lambda>()
41 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
55 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
75 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
110 cont!!.invokeOnCancellation { expectUnreached() } in <lambda>()
124 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
140 … assertFailsWith<IllegalStateException> { c.invokeOnCancellation { expectUnreached() } } in <lambda>()
DCancellableResumeTest.kt20 cont.invokeOnCancellation { expectUnreached() } in <lambda>()
21 cont.resume("OK") { expectUnreached() } in <lambda>()
44 expectUnreached() in <lambda>()
71 expectUnreached() in <lambda>()
90 expectUnreached() in <lambda>()
117 expectUnreached() in <lambda>()
128 cont.invokeOnCancellation { expectUnreached() } in <lambda>()
135 cc.resume("OK") { expectUnreached() } in <lambda>()
151 expectUnreached() in <lambda>()
186 expectUnreached() in <lambda>()
[all …]
DNonCancellableTest.kt22 expectUnreached() in <lambda>()
31 expectUnreached() in <lambda>()
55 expectUnreached() in <lambda>()
64 expectUnreached() in <lambda>()
78 expectUnreached() in <lambda>()
87 expectUnreached() in <lambda>()
97 expectUnreached() in <lambda>()
126 expectUnreached() in <lambda>()
DWithTimeoutOrNullTest.kt110 expectUnreached() // will timeout in <lambda>()
112 expectUnreached() // will timeout in <lambda>()
125 expectUnreached()
161 expectUnreached() in <lambda>()
196 expectUnreached() in <lambda>()
199 expectUnreached() in <lambda>()
211 expectUnreached() in <lambda>()
215 expectUnreached() in <lambda>()
230 expectUnreached() in <lambda>()
DWithTimeoutOrNullDurationTest.kt112 expectUnreached() // will timeout in <lambda>()
114 expectUnreached() // will timeout in <lambda>()
127 expectUnreached()
169 expectUnreached() in equals()
204 expectUnreached() in <lambda>()
207 expectUnreached() in <lambda>()
219 expectUnreached() in <lambda>()
223 expectUnreached() in <lambda>()
238 expectUnreached() in <lambda>()
DWithContextTest.kt94 expectUnreached() in <lambda>()
101 expectUnreached() in <lambda>()
125 expectUnreached() in <lambda>()
132 expectUnreached() in <lambda>()
142 expectUnreached() // will get cancelled in <lambda>()
243 expectUnreached() in <lambda>()
274 expectUnreached() in <lambda>()
333 expectUnreached() in <lambda>()
347 expectUnreached() in <lambda>()
349 expectUnreached() in <lambda>()
[all …]
DExperimentalDispatchModeTest.kt17 expectUnreached() in <lambda>()
31 expectUnreached() in <lambda>()
47 expectUnreached() in <lambda>()
67 expectUnreached() in <lambda>()
83 expectUnreached() in <lambda>()
97 expectUnreached() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/exceptions/
DStackTraceRecoveryWithTimeoutTest.kt29 expectUnreached() in outerWithTimeout()
34 expectUnreached() in suspendForever()
53 expectUnreached() in outerChildWithTimeout()
60 expectUnreached() in withTimeoutInChild()
79 expectUnreached() in outerChild()
86 expectUnreached() in smallWithTimeout()
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-reactive/test/
DPublishTest.kt22 override fun onNext(t: Int?) { expectUnreached() } in <lambda>()
24 override fun onError(t: Throwable?) { expectUnreached() } in <lambda>()
50 override fun onError(t: Throwable?) { expectUnreached() } in <lambda>()
70 override fun onNext(t: Int) { expectUnreached() } in <lambda>()
71 override fun onComplete() { expectUnreached() } in <lambda>()
103 expectUnreached() in <lambda>()
112 expectUnreached() in <lambda>()
116 expectUnreached() in <lambda>()
140 expectUnreached() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/test/
DAtomicCancellationTest.kt19 expectUnreached() // should NOT execute because of cancellation in <lambda>()
40 expectUnreached() // should NOT execute because of cancellation in <lambda>()
56 expectUnreached() // should NOT execute because of cancellation in <lambda>()
78 expectUnreached() // should NOT execute because of cancellation in <lambda>()
105 deferred.onAwait { expectUnreached() } in <lambda>()
107 expectUnreached() // will not execute -- cancelled while dispatched in <lambda>()
134 jobToJoin.onJoin { expectUnreached() } in <lambda>()
136 expectUnreached() // will not execute -- cancelled while dispatched in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/selects/
DSelectRendezvousChannelTest.kt50 expectUnreached() in <lambda>()
62 expectUnreached() in <lambda>()
137 expectUnreached() in <lambda>()
149 expectUnreached() in <lambda>()
196 expectUnreached() in <lambda>()
199 expectUnreached() in <lambda>()
214 expectUnreached() in <lambda>()
217 expectUnreached() in <lambda>()
227 channel.onSend(i) { expectUnreached() } in <lambda>()
241 channel.onReceive { expectUnreached() } in <lambda>()
[all …]
/external/kotlinx.coroutines/reactive/kotlinx-coroutines-jdk9/test/
DPublishTest.kt22 override fun onNext(t: Int?) { expectUnreached() } in <lambda>()
24 override fun onError(t: Throwable?) { expectUnreached() } in <lambda>()
50 override fun onError(t: Throwable?) { expectUnreached() } in <lambda>()
70 override fun onNext(t: Int) { expectUnreached() } in <lambda>()
71 override fun onComplete() { expectUnreached() } in <lambda>()
103 expectUnreached() in <lambda>()
112 expectUnreached() in <lambda>()
116 expectUnreached() in <lambda>()
140 expectUnreached() in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/sharing/
DSharedFlowTest.kt37 else -> expectUnreached() in <lambda>()
40 expectUnreached() // does not complete normally in <lambda>()
59 else -> expectUnreached() in <lambda>()
62 expectUnreached() // does not complete normally in <lambda>()
105 else -> expectUnreached() in <lambda>()
108 expectUnreached() // does not complete normally in <lambda>()
159 else -> expectUnreached() in <lambda>()
162 expectUnreached() // does not complete normally in <lambda>()
178 else -> expectUnreached() in <lambda>()
181 expectUnreached() // does not complete normally in <lambda>()
[all …]

123456