diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2019-10-31 09:23:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 09:23:47 +0100 |
commit | 2a2ced1631ebd9dc84f3e91339d2706b30a850b5 (patch) | |
tree | 23937c7821f3d551d684804259072fdebe3b1d55 /app/src/androidTest/java/de/test/antennapod/service | |
parent | e7367e218d868967f7c1c45438c85c5c0958e56b (diff) | |
parent | 69f3a1210fcbd199cd24c4060da4518e0dda2146 (diff) | |
download | AntennaPod-2a2ced1631ebd9dc84f3e91339d2706b30a850b5.zip |
Merge pull request #3572 from ByteHamster/downloadservice-refactoring
DownloadService refactoring
Diffstat (limited to 'app/src/androidTest/java/de/test/antennapod/service')
-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 |