diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2020-12-20 18:51:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 18:51:46 +0100 |
commit | dcd40d4caca55b5fb85e4a9e8f958f3cc490448a (patch) | |
tree | 67009a121b90d00c199efaa16e7702ea81c5ad14 /core/src | |
parent | 72f4296150e565061a0816c7685fae9daaf30e2c (diff) | |
parent | f6c39ad0fea242e7d53c12d0b09d6c8ab7944968 (diff) | |
download | AntennaPod-dcd40d4caca55b5fb85e4a9e8f958f3cc490448a.zip |
Merge pull request #4774 from damoasda/robolectric-DownloadRequestTest
Run DownloadRequestTest with Robolectric
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/test/java/de/danoeh/antennapod/core/service/download/DownloadRequestTest.java (renamed from core/src/androidTest/java/de/danoeh/antennapod/core/service/download/DownloadRequestTest.java) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/androidTest/java/de/danoeh/antennapod/core/service/download/DownloadRequestTest.java b/core/src/test/java/de/danoeh/antennapod/core/service/download/DownloadRequestTest.java index fc7e26820..8c7ecbc52 100644 --- a/core/src/androidTest/java/de/danoeh/antennapod/core/service/download/DownloadRequestTest.java +++ b/core/src/test/java/de/danoeh/antennapod/core/service/download/DownloadRequestTest.java @@ -3,9 +3,9 @@ package de.danoeh.antennapod.core.service.download; import android.os.Bundle; import android.os.Parcel; -import androidx.test.filters.SmallTest; - import org.junit.Test; +import org.junit.runner.RunWith; +import org.robolectric.RobolectricTestRunner; import java.util.ArrayList; @@ -13,7 +13,7 @@ import de.danoeh.antennapod.core.feed.FeedFile; import static org.junit.Assert.assertEquals; -@SmallTest +@RunWith(RobolectricTestRunner.class) public class DownloadRequestTest { @Test |