Lines Matching refs:StandardTestDispatcher
46 * Both a simple `StandardTestDispatcher` that is always paused, and unconfined `UnconfinedTestDispa…
102 ## Replace usages of `pauseDispatcher` and `resumeDispatcher` with a `StandardTestDispatcher`
105 `withContext(StandardTestDispatcher(testScheduler))`
114 or pass a `StandardTestDispatcher` as an argument to `runBlockingTest`.
115 …This will lead to the test using a `StandardTestDispatcher`, which does not allow pausing and resu…
119 …a `withContext(StandardTestDispatcher(testScheduler))` block, or try using some other combinations…
120 …`StandardTestDispatcher` (where dispatches are needed) and `UnconfinedTestDispatcher` (where it is…
145 ### It uses `StandardTestDispatcher` by default, not `TestCoroutineDispatcher`.
170 If the `TestCoroutineDispatcher()` is simply removed, `StandardTestDispatcher()` will be used, whic…
388 ## Replace `TestCoroutineDispatcher` with `UnconfinedTestDispatcher` and `StandardTestDispatcher`
392 * ("paused") Behaving like a `StandardTestDispatcher`.
394 In one of the earlier steps, we replaced `pauseDispatcher` with `StandardTestDispatcher` usage, and…
405 val dispatcher = StandardTestDispatcher()
432 Dispatchers.setMain(StandardTestDispatcher())