From 070a04b64c741b891ebc656cebbc2ae70652dd1c Mon Sep 17 00:00:00 2001 From: flash159483 Date: Mon, 15 Jul 2024 22:00:20 +0900 Subject: [PATCH] =?UTF-8?q?[CHORE]#29:=20Test=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../navigation/ExampleInstrumentedTest.kt | 24 ------------------- .../danggeun/navigation/ExampleUnitTest.kt | 17 ------------- 2 files changed, 41 deletions(-) delete mode 100644 core/navigation/src/androidTest/java/com/danggeun/navigation/ExampleInstrumentedTest.kt delete mode 100644 core/navigation/src/test/java/com/danggeun/navigation/ExampleUnitTest.kt diff --git a/core/navigation/src/androidTest/java/com/danggeun/navigation/ExampleInstrumentedTest.kt b/core/navigation/src/androidTest/java/com/danggeun/navigation/ExampleInstrumentedTest.kt deleted file mode 100644 index dcd2d135..00000000 --- a/core/navigation/src/androidTest/java/com/danggeun/navigation/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,24 +0,0 @@ -package com.danggeun.navigation - -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("com.danggeun.navigation.test", appContext.packageName) - } -} \ No newline at end of file diff --git a/core/navigation/src/test/java/com/danggeun/navigation/ExampleUnitTest.kt b/core/navigation/src/test/java/com/danggeun/navigation/ExampleUnitTest.kt deleted file mode 100644 index 4958aff8..00000000 --- a/core/navigation/src/test/java/com/danggeun/navigation/ExampleUnitTest.kt +++ /dev/null @@ -1,17 +0,0 @@ -package com.danggeun.navigation - -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) - } -} \ No newline at end of file