summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTacoTheDank <SkytkRSfan3895@gmail.com>2021-07-22 16:49:29 -0400
committerTacoTheDank <SkytkRSfan3895@gmail.com>2021-07-22 16:49:29 -0400
commitfdaf5394d93ff4f9a31109f1161e48ffe1bc7ec7 (patch)
tree944f136fbf3b43c0bfc4e21c60d4dad7d0f6abac
parentba34bea7462a9f6c0b4fcc91bde302b21ca1c67b (diff)
downloadAntennaPod-fdaf5394d93ff4f9a31109f1161e48ffe1bc7ec7.zip
Fix IgnoreWithoutReason code lint errors
-rw-r--r--app/src/androidTest/java/de/test/antennapod/gpodnet/GPodnetServiceTest.java2
-rw-r--r--app/src/androidTest/java/de/test/antennapod/ui/VideoplayerActivityTest.java36
2 files changed, 1 insertions, 37 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/gpodnet/GPodnetServiceTest.java b/app/src/androidTest/java/de/test/antennapod/gpodnet/GPodnetServiceTest.java
index f1d71b07a..32ad5a694 100644
--- a/app/src/androidTest/java/de/test/antennapod/gpodnet/GPodnetServiceTest.java
+++ b/app/src/androidTest/java/de/test/antennapod/gpodnet/GPodnetServiceTest.java
@@ -20,7 +20,7 @@ import static java.util.Collections.singletonList;
/**
* Test class for GpodnetService
*/
-@Ignore
+@Ignore("Needs valid credentials to run")
@RunWith(AndroidJUnit4.class)
public class GPodnetServiceTest {
diff --git a/app/src/androidTest/java/de/test/antennapod/ui/VideoplayerActivityTest.java b/app/src/androidTest/java/de/test/antennapod/ui/VideoplayerActivityTest.java
deleted file mode 100644
index 0dae22db1..000000000
--- a/app/src/androidTest/java/de/test/antennapod/ui/VideoplayerActivityTest.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package de.test.antennapod.ui;
-
-import android.content.Intent;
-import androidx.test.filters.MediumTest;
-import androidx.test.rule.ActivityTestRule;
-
-import de.danoeh.antennapod.R;
-import de.danoeh.antennapod.activity.VideoplayerActivity;
-import org.junit.Ignore;
-import org.junit.Rule;
-import org.junit.Test;
-
-import static androidx.test.espresso.Espresso.onView;
-import static androidx.test.espresso.assertion.ViewAssertions.matches;
-import static androidx.test.espresso.matcher.ViewMatchers.isDisplayed;
-import static androidx.test.espresso.matcher.ViewMatchers.withId;
-
-/**
- * Test class for VideoplayerActivity
- */
-@MediumTest
-@Ignore
-public class VideoplayerActivityTest {
-
- @Rule
- public ActivityTestRule<VideoplayerActivity> activityTestRule = new ActivityTestRule<>(VideoplayerActivity.class, false, false);
-
- /**
- * Test if activity can be started.
- */
- @Test
- public void testStartActivity() throws Exception {
- activityTestRule.launchActivity(new Intent());
- onView(withId(R.id.videoPlayerContainer)).check(matches(isDisplayed()));
- }
-}