From 86312c7e17bdf09798b1afad383528bb94110715 Mon Sep 17 00:00:00 2001 From: Lucas Lima Date: Thu, 31 Dec 2020 18:16:48 -0300 Subject: [PATCH] Removed template tests --- .../purchases/ExampleInstrumentedTest.kt | 24 ------------------- .../antimine/purchases/ExampleUnitTest.kt | 17 ------------- 2 files changed, 41 deletions(-) delete mode 100644 purchases/src/androidTest/java/dev/lucasnlm/antimine/purchases/ExampleInstrumentedTest.kt delete mode 100644 purchases/src/test/java/dev/lucasnlm/antimine/purchases/ExampleUnitTest.kt diff --git a/purchases/src/androidTest/java/dev/lucasnlm/antimine/purchases/ExampleInstrumentedTest.kt b/purchases/src/androidTest/java/dev/lucasnlm/antimine/purchases/ExampleInstrumentedTest.kt deleted file mode 100644 index 0fc0a75d..00000000 --- a/purchases/src/androidTest/java/dev/lucasnlm/antimine/purchases/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,24 +0,0 @@ -package dev.lucasnlm.antimine.purchases - -import androidx.test.platform.app.InstrumentationRegistry -import androidx.test.ext.junit.runners.AndroidJUnit4 - -import org.junit.Test -import org.junit.runner.RunWith - -import org.junit.Assert.* - -/** - * Instrumented test, which will execute on an Android device. - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -@RunWith(AndroidJUnit4::class) -class ExampleInstrumentedTest { - @Test - fun useAppContext() { - // Context of the app under test. - val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("dev.lucasnlm.antimine.purchases.test", appContext.packageName) - } -} diff --git a/purchases/src/test/java/dev/lucasnlm/antimine/purchases/ExampleUnitTest.kt b/purchases/src/test/java/dev/lucasnlm/antimine/purchases/ExampleUnitTest.kt deleted file mode 100644 index 6d9b0d58..00000000 --- a/purchases/src/test/java/dev/lucasnlm/antimine/purchases/ExampleUnitTest.kt +++ /dev/null @@ -1,17 +0,0 @@ -package dev.lucasnlm.antimine.purchases - -import org.junit.Test - -import org.junit.Assert.* - -/** - * Example local unit test, which will execute on the development machine (host). - * - * See [testing documentation](http://d.android.com/tools/testing). - */ -class ExampleUnitTest { - @Test - fun addition_isCorrect() { - assertEquals(4, 2 + 2) - } -}