diff options
author | ByteHamster <info@bytehamster.com> | 2019-10-30 18:11:01 +0100 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2019-10-30 18:16:26 +0100 |
commit | ea6b41116ff4894981182bd6305df2f5c094ab57 (patch) | |
tree | 57d43262482b12ed978297bbc83ba4d9afcffb84 /app | |
parent | 8f168948add874c7f55f2ad9fcfc6d15f7b17f9b (diff) | |
download | AntennaPod-ea6b41116ff4894981182bd6305df2f5c094ab57.zip |
Extracted DownloaderFactory to new class
Diffstat (limited to 'app')
-rw-r--r-- | app/src/androidTest/java/de/test/antennapod/service/download/DownloadServiceTest.java | 5 |
1 files changed, 3 insertions, 2 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 cb099cc85..3b5b35946 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 @@ -5,6 +5,7 @@ import androidx.annotation.Nullable; import androidx.test.InstrumentationRegistry; import androidx.test.runner.AndroidJUnit4; +import de.danoeh.antennapod.core.service.download.DownloaderFactory; import org.awaitility.Awaitility; import org.awaitility.core.ConditionTimeoutException; import org.junit.After; @@ -47,7 +48,7 @@ public class DownloadServiceTest { private Feed testFeed = null; private FeedMedia testMedia11 = null; - private DownloadService.DownloaderFactory origFactory = null; + private DownloaderFactory origFactory = null; @Before public void setUp() throws Exception { @@ -106,7 +107,7 @@ public class DownloadServiceTest { }); } - private static class StubDownloaderFactory implements DownloadService.DownloaderFactory { + private static class StubDownloaderFactory implements DownloaderFactory { private final long downloadTime; @NonNull |