From 19d7c576e89e2c3b5ba75f41b59b924026969a4c Mon Sep 17 00:00:00 2001 From: "Merlin (they/them)" <124289716+merlinpaypal@users.noreply.github.com> Date: Wed, 18 Oct 2023 10:06:19 -0400 Subject: [PATCH] Update tests --- .../java/com/paypal/messages/io/LocalStorageTest.kt | 4 ++-- .../java/com/paypal/messages/totest/ActionTest.kt | 13 ------------- .../java/com/paypal/messages/totest/ApiTest.kt | 4 ++-- .../java/com/paypal/messages/totest/LoggerTest.kt | 4 ++-- .../com/paypal/messages/totest/ModalFragmentTest.kt | 4 ++-- .../paypal/messages/totest/PayPalMessageViewTest.kt | 4 ++-- .../paypal/messages/totest/RoundedWebViewTest.kt | 4 ++-- 7 files changed, 12 insertions(+), 25 deletions(-) delete mode 100644 library/src/androidTest/java/com/paypal/messages/totest/ActionTest.kt diff --git a/library/src/androidTest/java/com/paypal/messages/io/LocalStorageTest.kt b/library/src/androidTest/java/com/paypal/messages/io/LocalStorageTest.kt index 59d07953..442abd5e 100644 --- a/library/src/androidTest/java/com/paypal/messages/io/LocalStorageTest.kt +++ b/library/src/androidTest/java/com/paypal/messages/io/LocalStorageTest.kt @@ -1,12 +1,12 @@ package com.paypal.messages.io +import androidx.test.ext.junit.runners.AndroidJUnit4 import androidx.test.platform.app.InstrumentationRegistry import org.junit.jupiter.api.Assertions.assertEquals import org.junit.jupiter.api.Test -import org.junit.platform.runner.JUnitPlatform import org.junit.runner.RunWith -@RunWith(JUnitPlatform::class) +@RunWith(AndroidJUnit4::class) class LocalStorageTest { @Test fun testLocalStorage() { diff --git a/library/src/androidTest/java/com/paypal/messages/totest/ActionTest.kt b/library/src/androidTest/java/com/paypal/messages/totest/ActionTest.kt deleted file mode 100644 index 22ec39f3..00000000 --- a/library/src/androidTest/java/com/paypal/messages/totest/ActionTest.kt +++ /dev/null @@ -1,13 +0,0 @@ -package com.paypal.messages.totest - -import org.junit.jupiter.api.Test -import org.junit.platform.runner.JUnitPlatform -import org.junit.runner.RunWith - -@RunWith(JUnitPlatform::class) -class ActionTest { - @Test - fun testSomething() { - // - } -} diff --git a/library/src/androidTest/java/com/paypal/messages/totest/ApiTest.kt b/library/src/androidTest/java/com/paypal/messages/totest/ApiTest.kt index 8ed5b84a..7947ec12 100644 --- a/library/src/androidTest/java/com/paypal/messages/totest/ApiTest.kt +++ b/library/src/androidTest/java/com/paypal/messages/totest/ApiTest.kt @@ -1,10 +1,10 @@ package com.paypal.messages.totest +import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.jupiter.api.Test -import org.junit.platform.runner.JUnitPlatform import org.junit.runner.RunWith -@RunWith(JUnitPlatform::class) +@RunWith(AndroidJUnit4::class) class ApiTest { @Test fun testSomething() { diff --git a/library/src/androidTest/java/com/paypal/messages/totest/LoggerTest.kt b/library/src/androidTest/java/com/paypal/messages/totest/LoggerTest.kt index 252fc915..c4c1fa65 100644 --- a/library/src/androidTest/java/com/paypal/messages/totest/LoggerTest.kt +++ b/library/src/androidTest/java/com/paypal/messages/totest/LoggerTest.kt @@ -1,10 +1,10 @@ package com.paypal.messages.totest +import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.jupiter.api.Test -import org.junit.platform.runner.JUnitPlatform import org.junit.runner.RunWith -@RunWith(JUnitPlatform::class) +@RunWith(AndroidJUnit4::class) class LoggerTest { @Test fun testSomething() { diff --git a/library/src/androidTest/java/com/paypal/messages/totest/ModalFragmentTest.kt b/library/src/androidTest/java/com/paypal/messages/totest/ModalFragmentTest.kt index ee7bed19..46b29e04 100644 --- a/library/src/androidTest/java/com/paypal/messages/totest/ModalFragmentTest.kt +++ b/library/src/androidTest/java/com/paypal/messages/totest/ModalFragmentTest.kt @@ -1,10 +1,10 @@ package com.paypal.messages.totest +import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.jupiter.api.Test -import org.junit.platform.runner.JUnitPlatform import org.junit.runner.RunWith -@RunWith(JUnitPlatform::class) +@RunWith(AndroidJUnit4::class) class ModalFragmentTest { @Test fun testSomething() { diff --git a/library/src/androidTest/java/com/paypal/messages/totest/PayPalMessageViewTest.kt b/library/src/androidTest/java/com/paypal/messages/totest/PayPalMessageViewTest.kt index c062242a..5addb9a1 100644 --- a/library/src/androidTest/java/com/paypal/messages/totest/PayPalMessageViewTest.kt +++ b/library/src/androidTest/java/com/paypal/messages/totest/PayPalMessageViewTest.kt @@ -1,10 +1,10 @@ package com.paypal.messages.totest +import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.jupiter.api.Test -import org.junit.platform.runner.JUnitPlatform import org.junit.runner.RunWith -@RunWith(JUnitPlatform::class) +@RunWith(AndroidJUnit4::class) class PayPalMessageViewTest { @Test fun testSomething() { diff --git a/library/src/androidTest/java/com/paypal/messages/totest/RoundedWebViewTest.kt b/library/src/androidTest/java/com/paypal/messages/totest/RoundedWebViewTest.kt index ba09abfb..30c7c2aa 100644 --- a/library/src/androidTest/java/com/paypal/messages/totest/RoundedWebViewTest.kt +++ b/library/src/androidTest/java/com/paypal/messages/totest/RoundedWebViewTest.kt @@ -1,10 +1,10 @@ package com.paypal.messages.totest +import androidx.test.ext.junit.runners.AndroidJUnit4 import org.junit.jupiter.api.Test -import org.junit.platform.runner.JUnitPlatform import org.junit.runner.RunWith -@RunWith(JUnitPlatform::class) +@RunWith(AndroidJUnit4::class) class RoundedWebViewTest { @Test fun testSomething() {