From ea9739a19a3799e2c811c57406d13ad396ecae33 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Mon, 3 Aug 2020 23:23:31 +0200 Subject: [PATCH] Delete :api sample tests --- .../readrops/api/ExampleInstrumentedTest.java | 26 ------------------- .../com/readrops/api/ExampleUnitTest.java | 17 ------------ 2 files changed, 43 deletions(-) delete mode 100644 api/src/androidTest/java/com/readrops/api/ExampleInstrumentedTest.java delete mode 100644 api/src/test/java/com/readrops/api/ExampleUnitTest.java diff --git a/api/src/androidTest/java/com/readrops/api/ExampleInstrumentedTest.java b/api/src/androidTest/java/com/readrops/api/ExampleInstrumentedTest.java deleted file mode 100644 index 3c0ef7cf..00000000 --- a/api/src/androidTest/java/com/readrops/api/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.readrops.api; - -import android.content.Context; -import androidx.test.InstrumentationRegistry; -import androidx.test.runner.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.getTargetContext(); - - assertEquals("com.readrops.api.test", appContext.getPackageName()); - } -} diff --git a/api/src/test/java/com/readrops/api/ExampleUnitTest.java b/api/src/test/java/com/readrops/api/ExampleUnitTest.java deleted file mode 100644 index 79e5f257..00000000 --- a/api/src/test/java/com/readrops/api/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.readrops.api; - -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