From b9a3d678244add2bacca8a18786ad0b49a60a08b Mon Sep 17 00:00:00 2001 From: Job Getabu Date: Tue, 12 Feb 2019 16:08:42 +0300 Subject: [PATCH] rebuild test --- .../com/droidapp/ExampleInstrumentedTest.java | 26 ------------------- .../java/com/droidapp/ExampleUnitTest.java | 17 ------------ 2 files changed, 43 deletions(-) delete mode 100644 droidnet/src/androidTest/java/com/droidapp/ExampleInstrumentedTest.java delete mode 100644 droidnet/src/test/java/com/droidapp/ExampleUnitTest.java diff --git a/droidnet/src/androidTest/java/com/droidapp/ExampleInstrumentedTest.java b/droidnet/src/androidTest/java/com/droidapp/ExampleInstrumentedTest.java deleted file mode 100644 index b33bbfd..0000000 --- a/droidnet/src/androidTest/java/com/droidapp/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.droidnet; - -import android.content.Context; -import android.support.test.InstrumentationRegistry; -import android.support.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.droidnet.test", appContext.getPackageName()); - } -} diff --git a/droidnet/src/test/java/com/droidapp/ExampleUnitTest.java b/droidnet/src/test/java/com/droidapp/ExampleUnitTest.java deleted file mode 100644 index c3cbcb7..0000000 --- a/droidnet/src/test/java/com/droidapp/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.droidnet; - -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