From fa206709253d5572d3a66970add968c99881d4ed Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Thu, 14 Jul 2022 22:11:15 +0530 Subject: [PATCH] Removed auto generated tests --- .../shared/ExampleInstrumentedTest.kt | 41 ------------------- .../androidide/shared/ExampleUnitTest.kt | 34 --------------- 2 files changed, 75 deletions(-) delete mode 100644 shared/src/androidTest/java/com/itsaky/androidide/shared/ExampleInstrumentedTest.kt delete mode 100644 shared/src/test/java/com/itsaky/androidide/shared/ExampleUnitTest.kt diff --git a/shared/src/androidTest/java/com/itsaky/androidide/shared/ExampleInstrumentedTest.kt b/shared/src/androidTest/java/com/itsaky/androidide/shared/ExampleInstrumentedTest.kt deleted file mode 100644 index 6551a9150..000000000 --- a/shared/src/androidTest/java/com/itsaky/androidide/shared/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,41 +0,0 @@ -/* - * This file is part of AndroidIDE. - * - * AndroidIDE is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * AndroidIDE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with AndroidIDE. If not, see . - */ - -package com.itsaky.androidide.shared - -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.itsaky.androidide.shared.test", appContext.packageName) - } -} \ No newline at end of file diff --git a/shared/src/test/java/com/itsaky/androidide/shared/ExampleUnitTest.kt b/shared/src/test/java/com/itsaky/androidide/shared/ExampleUnitTest.kt deleted file mode 100644 index 8667d1554..000000000 --- a/shared/src/test/java/com/itsaky/androidide/shared/ExampleUnitTest.kt +++ /dev/null @@ -1,34 +0,0 @@ -/* - * This file is part of AndroidIDE. - * - * AndroidIDE is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * AndroidIDE is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with AndroidIDE. If not, see . - */ - -package com.itsaky.androidide.shared - -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