diff --git a/app/src/androidTest/java/com/xypower/mpapp/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/xypower/mpapp/ExampleInstrumentedTest.java deleted file mode 100644 index 6fb2269b..00000000 --- a/app/src/androidTest/java/com/xypower/mpapp/ExampleInstrumentedTest.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.xypower.mpapp; - -import android.content.Context; -import androidx.test.platform.app.InstrumentationRegistry; -import androidx.test.ext.junit.runners.AndroidJUnit4; - -import org.junit.Test; -import org.junit.runner.RunWith; - -import static org.junit.Assert.*; - -/** - * Instrumented test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); - assertEquals("com.xinyingpower.microphoto", appContext.getPackageName()); - } -} \ No newline at end of file diff --git a/app/src/test/java/com/xypower/mpapp/ExampleUnitTest.java b/app/src/test/java/com/xypower/mpapp/ExampleUnitTest.java deleted file mode 100644 index 61348fbe..00000000 --- a/app/src/test/java/com/xypower/mpapp/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.xypower.mpapp; - -import org.junit.Test; - -import static org.junit.Assert.*; - -/** - * Example local unit test, which will execute on the development machine (host). - * - * @see Testing documentation - */ -public class ExampleUnitTest { - @Test - public void addition_isCorrect() { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file