From 577f400a367a2187150e6af0db40b93f35569457 Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Sat, 26 May 2018 23:08:16 +0200 Subject: [PATCH] Fixed some of the preference tests --- .../test/antennapod/ui/PreferencesTest.java | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/app/src/androidTest/java/de/test/antennapod/ui/PreferencesTest.java b/app/src/androidTest/java/de/test/antennapod/ui/PreferencesTest.java index fb74378c7..a82dff257 100644 --- a/app/src/androidTest/java/de/test/antennapod/ui/PreferencesTest.java +++ b/app/src/androidTest/java/de/test/antennapod/ui/PreferencesTest.java @@ -55,6 +55,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 priority != UserPreferences.getNotifyPriority(), Timeout.getLargeTimeout())); @@ -84,6 +87,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 persistNotify != UserPreferences.isPersistNotify(), Timeout.getLargeTimeout())); @@ -92,6 +96,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 enqueueAtFront != UserPreferences.enqueueAtFront(), Timeout.getLargeTimeout())); @@ -124,6 +130,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 pauseOnHeadsetDisconnect != UserPreferences.isPauseOnHeadsetDisconnect(), Timeout.getLargeTimeout())); @@ -132,6 +139,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 continuousPlayback != UserPreferences.isFollowQueue(), Timeout.getLargeTimeout())); @@ -164,6 +174,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 autoDelete != UserPreferences.isAutoDelete(), Timeout.getLargeTimeout())); @@ -172,6 +183,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 pauseForFocusLoss != UserPreferences.shouldPauseForFocusLoss(), Timeout.getLargeTimeout())); @@ -188,6 +201,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 mobileUpdates != UserPreferences.isAllowMobileUpdate(), Timeout.getLargeTimeout())); @@ -215,6 +231,7 @@ public class PreferencesTest extends ActivityInstrumentationTestCase2 0; i--) { // repeat twice to catch any error where fastforward is tracking rewind int seconds = UserPreferences.getFastForwardSecs(); int deltas[] = res.getIntArray(R.array.seek_delta_values);