Home
last modified time | relevance | path

Searched refs:expectedTitle (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/
DBatterySaverScheduleSeekBarControllerTest.java46 final CharSequence expectedTitle = "50%"; in onPreferenceChange_updatesSettingsGlobal() local
52 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() local
74 assertThat(mController.mSeekBarPreference.getTitle()).isEqualTo(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()
75 verify(mController.mSeekBarPreference).overrideSeekBarStateDescription(expectedTitle); in updateSeekBar_percentageMode_hasCorrectProperties()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java167 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText() local
173 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedHighComplexityText()
183 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText() local
189 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedMediumComplexityText()
199 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText() local
205 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedLowComplexityText()
215 CharSequence expectedTitle = in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText() local
221 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_footerPreferenceAddedNoneComplexityText()
438 CharSequence expectedTitle = in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher() local
441 assertThat(footer.getTitle()).isEqualTo(expectedTitle); in updatePreferencesOrFinish_ComplexityIsMergedWithDPM_AppIsHigher()
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DCaCertsCurrentUserPreferenceControllerTest.java73 private void assertUpdateState(boolean isCompMode, String expectedTitle) { in assertUpdateState() argument
80 assertThat(preference.getTitle()).isEqualTo(expectedTitle); in assertUpdateState()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DDeviceAdminAddPoliciesPreferenceControllerTest.java144 CharSequence expectedTitle = mRealContext in updateStateTest() local
148 .isEqualTo(expectedTitle); in updateStateTest()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkNotificationManagerTest.java422 final String expectedTitle = "title " + expectedTitleArg; in doNotificationTextTest() local
424 doReturn(expectedTitle).when(mResources).getString(expectedTitleRes, expectedTitleArg); in doNotificationTextTest()
434 assertEquals(expectedTitle, notif.extras.getString(Notification.EXTRA_TITLE)); in doNotificationTextTest()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountListPreferenceControllerTest.java122 String expectedTitle = ResourceTestUtils.getString(mContext, "account_list_title", in onCreate_preferenceCategoryTitleShouldBeSet() local
124 assertThat(mPreference.getTitle().toString()).isEqualTo(expectedTitle); in onCreate_preferenceCategoryTitleShouldBeSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothDetailsProfilesControllerTest.java212 String expectedTitle = in verifyProfileSwitchTitles() local
214 assertThat(switches.get(i).getTitle()).isEqualTo(expectedTitle); in verifyProfileSwitchTitles()