Skip to content

Commit

Permalink
Simplify android test
Browse files Browse the repository at this point in the history
  • Loading branch information
hfhbd committed Jun 28, 2024
1 parent d84f6bb commit 6c2734f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 2 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ slf4j = { module = "org.slf4j:slf4j-simple", version = "2.0.13" }

sqldelight-runtime = { module = "app.cash.sqldelight:runtime", version = "2.0.2" }

androidx.test.runner = { module = "androidx.test:runner", version = "1.6.1" }

[plugins]
kotlin-jvm = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
Expand Down
3 changes: 1 addition & 2 deletions kotlinx-uuid-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,7 @@ kotlin {
sourceSets {
named("androidInstrumentedTest") {
dependencies {
implementation("androidx.test:runner:1.6.1")
implementation("androidx.test.ext:junit-ktx:1.2.1")
implementation(libs.androidx.test.runner)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
package kotlinx.uuid.internal

import android.os.Parcel
import androidx.test.ext.junit.runners.*
import kotlinx.parcelize.parcelableCreator
import kotlinx.uuid.*
import org.junit.runner.*
import kotlin.test.*

@RunWith(AndroidJUnit4::class)
class ParcelableTest {
@Test
fun testParcelable() {
Expand Down

0 comments on commit 6c2734f

Please sign in to comment.