Searched refs:expectedTitle (Results 1 – 7 of 7) sorted by relevance
46 final CharSequence expectedTitle = "50%"; in onPreferenceChange_updatesSettingsGlobal() local52 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in onPreferenceChange_updatesSettingsGlobal()53 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in onPreferenceChange_updatesSettingsGlobal()67 final CharSequence expectedTitle = "5%"; in updateSeekBar_percentageMode_hasCorrectProperties() local74 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()75 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()
167 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText() local173 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText()183 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText() local189 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText()199 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText() local205 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText()215 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText() local221 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText()438 CharSequence expectedTitle = in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher() local441 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher()
73 private void assertUpdateState(boolean isCompMode, String expectedTitle) { in assertUpdateState() argument80 assertThat(preference.getTitle()).isEqualTo(expectedTitle); in assertUpdateState()
144 CharSequence expectedTitle = mRealContext in updateStateTest() local148 .isEqualTo(expectedTitle); in updateStateTest()
422 final String expectedTitle = "title " + expectedTitleArg; in doNotificationTextTest() local424 doReturn(expectedTitle).when(mResources).getString(expectedTitleRes, expectedTitleArg); in doNotificationTextTest()434 assertEquals(expectedTitle, notif.extras.getString(Notification.EXTRA_TITLE)); in doNotificationTextTest()
122 String expectedTitle = ResourceTestUtils.getString(mContext, "account_list_title", in onCreate_preferenceCategoryTitleShouldBeSet() local124 assertThat(mPreference.getTitle().toString()).isEqualTo(expectedTitle); in onCreate_preferenceCategoryTitleShouldBeSet()
212 String expectedTitle = in verifyProfileSwitchTitles() local214 assertThat(switches.get(i).getTitle()).isEqualTo(expectedTitle); in verifyProfileSwitchTitles()