diff options
Diffstat (limited to 'tests/src/com/android/dialer/onboard/DefaultDialerOnboardScreenTest.java')
-rw-r--r-- | tests/src/com/android/dialer/onboard/DefaultDialerOnboardScreenTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/src/com/android/dialer/onboard/DefaultDialerOnboardScreenTest.java b/tests/src/com/android/dialer/onboard/DefaultDialerOnboardScreenTest.java index f9724c14b..26e513f4b 100644 --- a/tests/src/com/android/dialer/onboard/DefaultDialerOnboardScreenTest.java +++ b/tests/src/com/android/dialer/onboard/DefaultDialerOnboardScreenTest.java @@ -36,17 +36,17 @@ public class DefaultDialerOnboardScreenTest extends AndroidTestCase { } public void testNeverRequestedForDefaultDialer_shouldShowScreen() { - when(mPermissionsChecker.previouslyRequestedDefaultDialer()).thenReturn(false); + when(mPermissionsChecker.hasAlreadyRequestedDefaultDialer()).thenReturn(false); assertTrue(mScreen.shouldShowScreen()); } public void testAlreadyAskedForDefaultDialer_shouldNotShowScreen() { - when(mPermissionsChecker.previouslyRequestedDefaultDialer()).thenReturn(true); + when(mPermissionsChecker.hasAlreadyRequestedDefaultDialer()).thenReturn(true); assertFalse(mScreen.shouldShowScreen()); } public void testAlreadySetAsDefaultDialer_shouldNotShowScreen() { - when(mPermissionsChecker.previouslyRequestedDefaultDialer()).thenReturn(false); + when(mPermissionsChecker.hasAlreadyRequestedDefaultDialer()).thenReturn(false); when(mPermissionsChecker.isDefaultOrSystemDialer()).thenReturn(true); assertFalse(mScreen.shouldShowScreen()); } |