Home
last modified time | relevance | path

Searched refs:setMain (Results 1 – 11 of 11) sorted by relevance

/external/kotlinx.coroutines/kotlinx-coroutines-test/test/
DTestDispatchersTest.kt22 Dispatchers.setMain(Dispatchers.Main) in <lambda>()
28 Dispatchers.setMain(Dispatchers.Unconfined) in <lambda>()
34 Dispatchers.setMain(threadPool) in <lambda>()
45 Dispatchers.setMain(Dispatchers.Unconfined) in <lambda>()
55 Dispatchers.setMain(ImmediateDispatcher()) in <lambda>()
61 Dispatchers.setMain(RegularDispatcher()) in <lambda>()
/external/kotlinx.coroutines/kotlinx-coroutines-test/
DREADME.md20 `Dispatchers.setMain` will override the `Main` dispatcher in test situations. This is helpful when …
28 You can override the `Main` implementation using [setMain][setMain] method with any [CoroutineDispa…
38 Dispatchers.setMain(mainThreadSurrogate)
55 Calling `setMain` or `resetMain` immediately changes the `Main` dispatcher globally. The testable v…
56 …chers.Main` installed by the `ServiceLoader` will delegate to the dispatcher provided by `setMain`.
239 …sier to provide a [TestCoroutineDispatcher]. For example [Dispatchers.setMain][setMain] will accept
311 [Dispatchers.setMain][setMain] then expose [TestCoroutineScope] for use in tests.
316 …re it is easier to provide a [TestCoroutineDispatcher]. For example [Dispatchers.setMain][setMain]
339 Dispatchers.setMain(testDispatcher)
357 // launch will use the testDispatcher provided by setMain
[all …]
/external/kotlinx.coroutines/kotlinx-coroutines-test/src/
DTestDispatchers.kt19 public fun Dispatchers.setMain(dispatcher: CoroutineDispatcher) { in setMain() method
/external/kotlinx.coroutines/ui/kotlinx-coroutines-android/android-unit-tests/test/ordered/tests/
DFirstMockedMainTest.kt18 Dispatchers.setMain(Dispatchers.Unconfined) in setUp()
DCustomizedRobolectricTest.kt41 Dispatchers.setMain(Dispatchers.Unconfined) in testComponentAfterReset()
DFirstRobolectricTest.kt30 Dispatchers.setMain(Dispatchers.Unconfined) in testComponentAfterReset()
/external/kotlinx.coroutines/kotlinx-coroutines-test/api/
Dkotlinx-coroutines-test.api55 …public static final fun setMain (Lkotlinx/coroutines/Dispatchers;Lkotlinx/coroutines/CoroutineDisp…
/external/kotlinc/lib/
Dkotlin-ant.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/kotlin-ant. ...
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...
/external/kotlinx.coroutines/
DREADME.md43 * [Dispatchers.setMain] to override [Dispatchers.Main] in tests;
256 [Dispatchers.setMain]: https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.…
/external/cldr/tools/java/org/unicode/cldr/util/props/
DUnicodeProperty.java1285 public BaseProperty setMain(String alias, String shortAlias, in setMain() method in UnicodeProperty.BaseProperty