Home
last modified time | relevance | path

Searched refs:UncompletedCoroutinesError (Results 1 – 12 of 12) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-test/common/test/
DRunTestTest.kt81 assertIs<UncompletedCoroutinesError>(e) in <lambda>()
102 assertIs<UncompletedCoroutinesError>(e) in <lambda>()
122 assertIs<UncompletedCoroutinesError>(e) in <lambda>()
147 } catch (e: UncompletedCoroutinesError) { in <lambda>()
168 } catch (e: UncompletedCoroutinesError) { in <lambda>()
209 } catch (e: UncompletedCoroutinesError) { in <lambda>()
DTestScopeTest.kt99 … assertFailsWith<UncompletedCoroutinesError> { scope.asSpecificImplementation().legacyLeave() } in <lambda>()
115 … assertFailsWith<UncompletedCoroutinesError> { scope.asSpecificImplementation().legacyLeave() } in <lambda>()
132 … assertFailsWith<UncompletedCoroutinesError> { scope.asSpecificImplementation().legacyLeave() } in <lambda>()
377 } catch (_: UncompletedCoroutinesError) { in <lambda>()
407 } catch (_: UncompletedCoroutinesError) { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/common/src/
DTestBuilders.kt349 timeoutError = UncompletedCoroutinesError(message) in runTest()
515 } catch (e: UncompletedCoroutinesError) { in runTestCoroutineLegacy()
535 } catch (e: UncompletedCoroutinesError) { in handleTimeout()
552 val error = UncompletedCoroutinesError(message) in handleTimeout()
DTestScope.kt270 throw UncompletedCoroutinesError( in legacyLeave()
276 throw UncompletedCoroutinesError( in legacyLeave()
325 internal class UncompletedCoroutinesError(message: String) : AssertionError(message) class
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/src/migration/
DTestBuildersDeprecated.kt103 } catch (e: UncompletedCoroutinesError) { in runBlockingTestOnTestScope()
112 … throw UncompletedCoroutinesError("Some jobs were not completed at the end of the test: $jobs") in runBlockingTestOnTestScope()
183 } catch (e: UncompletedCoroutinesError) { in runBlockingTest()
DTestCoroutineScope.kt96 } catch (e: UncompletedCoroutinesError) { in cleanupTestCoroutines()
114 throw UncompletedCoroutinesError( in cleanupTestCoroutines()
120 throw UncompletedCoroutinesError("Test finished with active jobs: $jobs") in cleanupTestCoroutines()
DDelayController.kt203 throw UncompletedCoroutinesError( in advanceTimeBy()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/migration/
DRunTestLegacyScopeTest.kt71 assertFailsWith<UncompletedCoroutinesError> { fn() } in <lambda>()
94 } catch (e: UncompletedCoroutinesError) { in <lambda>()
DTestCoroutineDispatcherTest.kt74 assertFailsWith<UncompletedCoroutinesError> { subject.cleanupTestCoroutines() } in whenDispatcherHasUncompletedCoroutines_itThrowsErrorInCleanup()
DTestCoroutineScopeTest.kt205 } catch (e: UncompletedCoroutinesError) { in <lambda>()
DTestRunBlockingTest.kt293 assertFailsWith<UncompletedCoroutinesError> { in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/jvm/test/
DDumpOnTimeoutTest.kt30 } catch (e: UncompletedCoroutinesError) { in testDumpOnTimeout()