From 85118ab3d63eb30cd46b93cc34fa97575ca5c21f Mon Sep 17 00:00:00 2001 From: Ruben Sousa Date: Mon, 16 Sep 2024 02:52:47 +0200 Subject: [PATCH] Remove example tests --- .../report/coroutines/ExampleInstrumentedTest.kt | 14 +------------- .../ExampleInstrumentedTestInstrumentedStage.kt | 13 ------------- 2 files changed, 1 insertion(+), 26 deletions(-) diff --git a/carioca-android/report-coroutines/src/androidTest/java/com/rubensousa/carioca/android/report/coroutines/ExampleInstrumentedTest.kt b/carioca-android/report-coroutines/src/androidTest/java/com/rubensousa/carioca/android/report/coroutines/ExampleInstrumentedTest.kt index b9254e4a..01cb69a5 100644 --- a/carioca-android/report-coroutines/src/androidTest/java/com/rubensousa/carioca/android/report/coroutines/ExampleInstrumentedTest.kt +++ b/carioca-android/report-coroutines/src/androidTest/java/com/rubensousa/carioca/android/report/coroutines/ExampleInstrumentedTest.kt @@ -1,22 +1,10 @@ package com.rubensousa.carioca.android.report.coroutines -import androidx.test.ext.junit.runners.AndroidJUnit4 -import androidx.test.platform.app.InstrumentationRegistry -import org.junit.Assert.assertEquals -import org.junit.Test -import org.junit.runner.RunWith - /** * 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("com.rubensousa.carioca.android.report.coroutines.test", appContext.packageName) - } + } \ No newline at end of file diff --git a/carioca-android/report/src/androidTest/java/com/rubensousa/carioca/core/ExampleInstrumentedTestInstrumentedStage.kt b/carioca-android/report/src/androidTest/java/com/rubensousa/carioca/core/ExampleInstrumentedTestInstrumentedStage.kt index 7816a7d5..32c4007b 100644 --- a/carioca-android/report/src/androidTest/java/com/rubensousa/carioca/core/ExampleInstrumentedTestInstrumentedStage.kt +++ b/carioca-android/report/src/androidTest/java/com/rubensousa/carioca/core/ExampleInstrumentedTestInstrumentedStage.kt @@ -16,25 +16,12 @@ package com.rubensousa.carioca.core -import androidx.test.ext.junit.runners.AndroidJUnit4 -import androidx.test.platform.app.InstrumentationRegistry -import org.junit.Assert.assertEquals -import org.junit.Test -import org.junit.runner.RunWith - /** * Instrumented test, which will execute on an Android device. * * See [testing documentation](http://d.android.com/tools/testing). */ -@RunWith(AndroidJUnit4::class) class ExampleInstrumentedBlockingTestStageReportInterface { - @Test - fun useAppContext() { - // Context of the app under test. - val appContext = InstrumentationRegistry.getInstrumentation().targetContext - assertEquals("com.rubensousa.carioca.core.test", appContext.packageName) - } }