diff options
Diffstat (limited to 'coroutine-utils-testing')
-rw-r--r-- | coroutine-utils-testing/build.gradle.kts | 4 | ||||
-rw-r--r-- | coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/coroutine-utils-testing/build.gradle.kts b/coroutine-utils-testing/build.gradle.kts index 49683422..6b1c3d81 100644 --- a/coroutine-utils-testing/build.gradle.kts +++ b/coroutine-utils-testing/build.gradle.kts @@ -2,9 +2,7 @@ * Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved. * SPDX-License-Identifier: GPL-3.0-only */ -plugins { - id("com.github.android-password-store.kotlin-jvm-library") -} +plugins { id("com.github.android-password-store.kotlin-jvm-library") } dependencies { implementation(projects.coroutineUtils) diff --git a/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt b/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt index 785d438f..e5e01ba9 100644 --- a/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt +++ b/coroutine-utils-testing/src/main/kotlin/app/passwordstore/test/CoroutineTestRule.kt @@ -28,8 +28,11 @@ public class CoroutineTestRule( public val testDispatcherProvider: DispatcherProvider = object : DispatcherProvider { override fun default(): CoroutineDispatcher = testDispatcher + override fun io(): CoroutineDispatcher = testDispatcher + override fun main(): CoroutineDispatcher = testDispatcher + override fun unconfined(): CoroutineDispatcher = testDispatcher } |