mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2025-01-31 10:54:50 +01:00
Fix IgnoreWithoutReason code lint errors
This commit is contained in:
parent
ba34bea746
commit
fdaf5394d9
@ -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 {
|
||||
|
||||
|
@ -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()));
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user