summaryrefslogtreecommitdiff
path: root/app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java
diff options
context:
space:
mode:
authorH. Lehmann <ByteHamster@users.noreply.github.com>2020-03-25 23:47:05 +0100
committerGitHub <noreply@github.com>2020-03-25 23:47:05 +0100
commitb4b2b45247a92e7f7e43ab224598ef646608c7be (patch)
tree303440037b109eaf407696603c32b7e5add9888b /app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java
parentb5836650d18aa611b2fe2ca73d41ed58342c1e94 (diff)
parent902215c18d7afa29a0207ca7600770f583a6c0df (diff)
downloadAntennaPod-b4b2b45247a92e7f7e43ab224598ef646608c7be.zip
Merge pull request #3962 from ByteHamster/cleanup-lint
Cleaned up some Lint warnings
Diffstat (limited to 'app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java')
-rw-r--r--app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java b/app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java
index b7f062223..c5fec66b7 100644
--- a/app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java
+++ b/app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java
@@ -45,13 +45,10 @@ import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
/**
- * @see HttpDownloaderTest for the test of actual download (and saving the file)
+ * @see HttpDownloaderTest for the test of actual download (and saving the file).
*/
@RunWith(AndroidJUnit4.class)
public class DownloadServiceTest {
-
- private CountDownLatch latch = null;
- private Feed testFeed = null;
private FeedMedia testMedia11 = null;
private DownloaderFactory origFactory = null;
@@ -61,7 +58,7 @@ public class DownloadServiceTest {
EspressoTestUtils.clearDatabase();
EspressoTestUtils.clearPreferences();
origFactory = DownloadService.getDownloaderFactory();
- testFeed = setUpTestFeeds();
+ Feed testFeed = setUpTestFeeds();
testMedia11 = testFeed.getItemAtIndex(0).getMedia();
}