diff options
author | Daniel Bowman <daniel@danielbowman.co.uk> | 2018-11-22 10:26:19 +0000 |
---|---|---|
committer | Daniel Bowman <daniel@danielbowman.co.uk> | 2018-11-22 10:26:19 +0000 |
commit | 01a5e5e69f7b6bc65ba4529c71f2c332a03db8ed (patch) | |
tree | 108d0b7ac797d639a429b384395a21b3440bd8a4 /app/src | |
parent | 800b2ba177fea614d4363857714698123265ab22 (diff) | |
download | dsub-01a5e5e69f7b6bc65ba4529c71f2c332a03db8ed.tar.gz dsub-01a5e5e69f7b6bc65ba4529c71f2c332a03db8ed.tar.bz2 dsub-01a5e5e69f7b6bc65ba4529c71f2c332a03db8ed.zip |
Fix failing test #916
Testing previous relies on the player state. The test in it's
current form relies on too many side effects for a good unit
test. Setting the player state manually for now.
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/androidTest/java/github/daneren2005/dsub/service/DownloadServiceTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/src/androidTest/java/github/daneren2005/dsub/service/DownloadServiceTest.java b/app/src/androidTest/java/github/daneren2005/dsub/service/DownloadServiceTest.java index 37e91642..2e10b977 100644 --- a/app/src/androidTest/java/github/daneren2005/dsub/service/DownloadServiceTest.java +++ b/app/src/androidTest/java/github/daneren2005/dsub/service/DownloadServiceTest.java @@ -132,6 +132,7 @@ public class DownloadServiceTest extends // Do a next before the previous downloadService.next(); + downloadService.setPlayerState(STARTED); // Do the previous downloadService.previous(); |