From ab1a3e3102cc58b2ec756e06b73b5307159e298a Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Tue, 7 May 2024 11:06:23 -0700 Subject: [PATCH] Remove test stub. This obviously isn't used, and it's failing when building the whole samples repo as a group for some reason I don't care to debug. Something something manifest for the test APK is wrong. --- orderfile/app/build.gradle | 2 -- .../orderfiledemo/ExampleInstrumentedTest.kt | 24 ------------------- 2 files changed, 26 deletions(-) delete mode 100644 orderfile/app/src/androidTest/java/com/example/orderfiledemo/ExampleInstrumentedTest.kt diff --git a/orderfile/app/build.gradle b/orderfile/app/build.gradle index 67a66fde5..8b40e6bd8 100644 --- a/orderfile/app/build.gradle +++ b/orderfile/app/build.gradle @@ -55,6 +55,4 @@ dependencies { implementation 'com.google.android.material:material:1.3.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.4' testImplementation 'junit:junit:4.+' - androidTestImplementation 'androidx.test.ext:junit:1.1.2' - androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0' } diff --git a/orderfile/app/src/androidTest/java/com/example/orderfiledemo/ExampleInstrumentedTest.kt b/orderfile/app/src/androidTest/java/com/example/orderfiledemo/ExampleInstrumentedTest.kt deleted file mode 100644 index e1c097197..000000000 --- a/orderfile/app/src/androidTest/java/com/example/orderfiledemo/ExampleInstrumentedTest.kt +++ /dev/null @@ -1,24 +0,0 @@ -package com.example.orderfiledemo - -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.example.orderfiledemo", appContext.packageName) - } -}