Skip to content

Commit be467e3

Browse files
committed
Move coroutine scope resources to android-unit-test project
Fixes #1131
1 parent 504c876 commit be467e3

File tree

4 files changed

+1
-19
lines changed

4 files changed

+1
-19
lines changed

kotlinx-coroutines-core/jvm/test/internal/FastServiceLoaderTest.kt

+1-8
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,6 @@ import kotlinx.coroutines.Delay
55
import kotlin.test.*
66

77
class FastServiceLoaderTest {
8-
@Test
9-
fun testLoadingSameModuleService() {
10-
val providers = Delay::class.java.let { FastServiceLoader.loadProviders(it, it.classLoader) }
11-
assertEquals(1, providers.size)
12-
assertEquals("kotlinx.coroutines.android.DelayImpl", providers[0].javaClass.name)
13-
}
14-
158
@Test
169
fun testCrossModuleService() {
1710
val providers = CoroutineScope::class.java.let { FastServiceLoader.loadProviders(it, it.classLoader) }
@@ -21,4 +14,4 @@ class FastServiceLoaderTest {
2114
assert(providers[i - 1].javaClass.name == "$className$i")
2215
}
2316
}
24-
}
17+
}

ui/kotlinx-coroutines-android/android-unit-tests/resources/META-INF/services/kotlinx.coroutines.Delay

-1
This file was deleted.

ui/kotlinx-coroutines-android/android-unit-tests/src/DelayImpl.kt

-10
This file was deleted.

0 commit comments

Comments
 (0)