/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/channels/ |
D | ChannelUndeliveredElementFailureTest.kt | 28 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/ |
D | FlowableExceptionHandlingTest.kt | 25 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>()
|
D | ObservableExceptionHandlingTest.kt | 25 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>()
|
D | FlowAsObservableTest.kt | 42 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>()
|
D | CompletableTest.kt | 39 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>()
|
D | MaybeTest.kt | 67 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/ |
D | FlowableExceptionHandlingTest.kt | 25 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>()
|
D | ObservableExceptionHandlingTest.kt | 25 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>()
|
D | FlowAsObservableTest.kt | 42 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>()
|
D | CompletableTest.kt | 39 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>()
|
D | MaybeTest.kt | 67 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/ |
D | CoroutinesTest.kt | 93 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 …]
|
D | CancellableContinuationHandlersTest.kt | 18 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>()
|
D | CancellableResumeTest.kt | 20 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 …]
|
D | NonCancellableTest.kt | 22 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>()
|
D | WithTimeoutOrNullTest.kt | 110 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>()
|
D | WithTimeoutOrNullDurationTest.kt | 112 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>()
|
D | WithContextTest.kt | 94 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 …]
|
D | ExperimentalDispatchModeTest.kt | 17 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/ |
D | StackTraceRecoveryWithTimeoutTest.kt | 29 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/ |
D | PublishTest.kt | 22 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/ |
D | AtomicCancellationTest.kt | 19 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/ |
D | SelectRendezvousChannelTest.kt | 50 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/ |
D | PublishTest.kt | 22 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/ |
D | SharedFlowTest.kt | 37 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 …]
|