From bfe525a3f9cbf54a394cb40b4713c8dfcc85b8f7 Mon Sep 17 00:00:00 2001 From: funkatronics Date: Tue, 28 May 2024 15:49:59 -0600 Subject: [PATCH] remaining testing stuff --- android/fakedapp/build.gradle | 4 ++-- android/fakewallet/build.gradle | 8 ++++---- android/gradle/libs.versions.toml | 7 +++++++ 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/android/fakedapp/build.gradle b/android/fakedapp/build.gradle index adc0f4046..b28c0c370 100644 --- a/android/fakedapp/build.gradle +++ b/android/fakedapp/build.gradle @@ -82,9 +82,9 @@ dependencies { androidTestImplementation libs.core.ktx androidTestImplementation libs.androidx.junit androidTestImplementation libs.androidx.junit.ktx - androidTestImplementation 'androidx.test:runner:1.5.2' + androidTestImplementation libs.androidx.test.runner androidTestImplementation libs.androidx.test.espresso.core - androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.3.0' + androidTestImplementation libs.androidx.test.uiautomator testImplementation libs.androidx.test.core testImplementation libs.androidx.junit diff --git a/android/fakewallet/build.gradle b/android/fakewallet/build.gradle index 7e54f1628..a2ee681c2 100644 --- a/android/fakewallet/build.gradle +++ b/android/fakewallet/build.gradle @@ -87,18 +87,18 @@ android { } dependencies { - androidTestImplementation 'androidx.test:runner:1.5.2' - androidTestUtil 'androidx.test:orchestrator:1.4.2' + androidTestImplementation libs.androidx.test.runner + androidTestUtil libs.androidx.test.orchestrator androidTestImplementation libs.kotlin.stdlib androidTestImplementation libs.androidx.test.core androidTestImplementation libs.core.ktx androidTestImplementation libs.androidx.junit androidTestImplementation libs.androidx.junit.ktx - androidTestImplementation 'androidx.test:runner:1.5.2' + androidTestImplementation libs.androidx.test.runner androidTestImplementation libs.androidx.test.rules androidTestImplementation libs.androidx.test.espresso.core - androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.3.0' + androidTestImplementation libs.androidx.test.uiautomator androidTestImplementation 'com.solanamobile:web3-solana:0.2.3' androidTestImplementation project(path: ':clientlib') diff --git a/android/gradle/libs.versions.toml b/android/gradle/libs.versions.toml index 4fd89d85d..bbfadc46c 100644 --- a/android/gradle/libs.versions.toml +++ b/android/gradle/libs.versions.toml @@ -11,12 +11,15 @@ androidxCoreKtx = "1.13.1" androidxCoreTesting = "2.2.0" androidxJunit = "1.1.5" androidxTest = "1.5.0" +androidxTestRunner = "1.5.2" +androidxTestUiautomator = "2.3.0" annotation = "1.8.0" bouncycastle = "1.78.1" espressoCore = "3.5.1" junit = "4.13.2" kotlinxCoroutines = "1.8.1" kotlinTest = "2.0.0" +androidxTestOrchestrator = "1.4.2" robolectric = "4.12.2" [libraries] @@ -27,11 +30,15 @@ androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "androidx androidx-junit = { module = "androidx.test.ext:junit", version.ref = "androidxJunit" } androidx-junit-ktx = { module = "androidx.test.ext:junit-ktx", version.ref = "androidxJunit" } androidx-navigation-safeArgsGradlePlugin = { module = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "navigationSafeArgsGradlePlugin" } + androidx-test-core = { module = "androidx.test:core", version.ref = "androidxTest" } androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espressoCore" } androidx-test-espresso-intents = { module = "androidx.test.espresso:espresso-intents", version.ref = "espressoCore" } +androidx-test-orchestrator = { module = "androidx.test:orchestrator", version.ref = "androidxTestOrchestrator" } androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidxTest" } +androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidxTestRunner" } androidx-test-truth = { module = "androidx.test.ext:truth", version.ref = "androidxTest" } +androidx-test-uiautomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "androidxTestUiautomator" } bcprov-jdk18on = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncycastle" } core-ktx = { module = "androidx.test:core-ktx", version.ref = "androidxTest" }