From 2711884eaab9f6afecbda1414b4185a1a686367b Mon Sep 17 00:00:00 2001 From: xufulong <839789740@qq.com> Date: Sat, 5 Sep 2020 18:09:58 +0800 Subject: [PATCH] remove unuse test file remove unuse test file --- .../frank/live/ExampleInstrumentedTest.java | 26 ------------------- .../java/com/frank/live/ExampleUnitTest.java | 17 ------------ .../living/media/example/ApplicationTest.java | 13 ---------- .../com/frank/ExampleInstrumentedTest.java | 26 ------------------- .../test/java/com/frank/ExampleUnitTest.java | 17 ------------ 5 files changed, 99 deletions(-) delete mode 100644 Live/src/androidTest/java/com/frank/live/ExampleInstrumentedTest.java delete mode 100644 Live/src/test/java/com/frank/live/ExampleUnitTest.java delete mode 100644 OnLive/src/androidTest/java/tv/frank/living/media/example/ApplicationTest.java delete mode 100644 app/src/androidTest/java/com/frank/ExampleInstrumentedTest.java delete mode 100644 app/src/test/java/com/frank/ExampleUnitTest.java diff --git a/Live/src/androidTest/java/com/frank/live/ExampleInstrumentedTest.java b/Live/src/androidTest/java/com/frank/live/ExampleInstrumentedTest.java deleted file mode 100644 index 68f66e2..0000000 --- a/Live/src/androidTest/java/com/frank/live/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.frank.live; - -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.*; - -/** - * Instrumentation test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("com.frank.pusher", appContext.getPackageName()); - } -} diff --git a/Live/src/test/java/com/frank/live/ExampleUnitTest.java b/Live/src/test/java/com/frank/live/ExampleUnitTest.java deleted file mode 100644 index f08de73..0000000 --- a/Live/src/test/java/com/frank/live/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.frank.live; - -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() throws Exception { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file diff --git a/OnLive/src/androidTest/java/tv/frank/living/media/example/ApplicationTest.java b/OnLive/src/androidTest/java/tv/frank/living/media/example/ApplicationTest.java deleted file mode 100644 index 3840263..0000000 --- a/OnLive/src/androidTest/java/tv/frank/living/media/example/ApplicationTest.java +++ /dev/null @@ -1,13 +0,0 @@ -package tv.frank.living.media.example; - -import android.app.Application; -import android.test.ApplicationTestCase; - -/** - * Testing Fundamentals - */ -public class ApplicationTest extends ApplicationTestCase { - public ApplicationTest() { - super(Application.class); - } -} \ No newline at end of file diff --git a/app/src/androidTest/java/com/frank/ExampleInstrumentedTest.java b/app/src/androidTest/java/com/frank/ExampleInstrumentedTest.java deleted file mode 100644 index 0b689d4..0000000 --- a/app/src/androidTest/java/com/frank/ExampleInstrumentedTest.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.frank; - -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.*; - -/** - * Instrumentation test, which will execute on an Android device. - * - * @see Testing documentation - */ -@RunWith(AndroidJUnit4.class) -public class ExampleInstrumentedTest { - @Test - public void useAppContext() throws Exception { - // Context of the app under test. - Context appContext = InstrumentationRegistry.getTargetContext(); - - assertEquals("codepig.ffmpegcldemo", appContext.getPackageName()); - } -} diff --git a/app/src/test/java/com/frank/ExampleUnitTest.java b/app/src/test/java/com/frank/ExampleUnitTest.java deleted file mode 100644 index 33105da..0000000 --- a/app/src/test/java/com/frank/ExampleUnitTest.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.frank; - -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() throws Exception { - assertEquals(4, 2 + 2); - } -} \ No newline at end of file