Home
last modified time | relevance | path

Searched refs:expectedSummary (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DCaptioningAppearancePreferenceControllerTest.java66 final String expectedSummary = in getSummary_noScale_shouldReturnDefaultSummary() local
68 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_noScale_shouldReturnDefaultSummary()
77 final String expectedSummary = in getSummary_smallestScale_shouldReturnExpectedSummary() local
79 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallestScale_shouldReturnExpectedSummary()
88 final String expectedSummary = in getSummary_smallScale_shouldReturnExpectedSummary() local
90 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_smallScale_shouldReturnExpectedSummary()
99 final String expectedSummary = in getSummary_mediumScale_shouldReturnExpectedSummary() local
101 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_mediumScale_shouldReturnExpectedSummary()
110 final String expectedSummary = in getSummary_largeScale_shouldReturnExpectedSummary() local
112 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_largeScale_shouldReturnExpectedSummary()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/shortcuts/
DFloatingButtonShortcutOptionControllerTest.java77 String expectedSummary = mContext.getString( in getSummary_inSuw_verifySummary() local
81 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_inSuw_verifySummary()
86 String expectedSummary = mContext.getText( in getSummary_notInSuw_verifySummary() local
93 assertThat(mController.getSummary().toString()).isEqualTo(expectedSummary); in getSummary_notInSuw_verifySummary()
DEditShortcutsPreferenceFragmentTest.java313 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 3, in fragmentResumed_enableTouchExploration_gestureShortcutOptionSummaryUpdated() local
328 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentResumed_enableTouchExploration_gestureShortcutOptionSummaryUpdated()
334 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 2, in fragmentPaused_enableTouchExploration_gestureShortcutOptionSummaryNotUpdated() local
349 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentPaused_enableTouchExploration_gestureShortcutOptionSummaryNotUpdated()
356 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 2, in fragmentResumed_enableTouchExploration_qsShortcutOptionSummaryUpdated() local
369 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentResumed_enableTouchExploration_qsShortcutOptionSummaryUpdated()
376 String expectedSummary = StringUtil.getIcuPluralsString(mContext, 1, in fragmentPaused_enableTouchExploration_qsShortcutOptionSummaryNotUpdated() local
389 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in fragmentPaused_enableTouchExploration_qsShortcutOptionSummaryNotUpdated()
DTwoFingerDoubleTapShortcutOptionControllerTest.java86 String expectedSummary = mContext.getString( in displayPreference_verifyScreenTextSet() local
92 assertThat(mShortcutOptionPreference.getSummary().toString()).isEqualTo(expectedSummary); in displayPreference_verifyScreenTextSet()
DTripleTapShortcutOptionControllerTest.java88 String expectedSummary = mContext.getString( in displayPreference_verifyTitleSummaryText() local
94 assertThat(mShortcutOptionPreference.getSummary().toString()).isEqualTo(expectedSummary); in displayPreference_verifyTitleSummaryText()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionZonePreferenceControllerTest.java57 String expectedSummary = "Los Angeles (GMT-08:00)"; in updateState_matchTimeZoneName() local
58 assertThat(controller.getSummary().toString()).isEqualTo(expectedSummary); in updateState_matchTimeZoneName()
59 assertThat(preference.getSummary().toString()).isEqualTo(expectedSummary); in updateState_matchTimeZoneName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothSummaryUpdaterTest.java285 final String expectedSummary = in getConnectedDeviceSummary_hasConnectedDevice_returnOneDeviceSummary() local
288 assertThat(mSummaryUpdater.getConnectedDeviceSummary()).isEqualTo(expectedSummary); in getConnectedDeviceSummary_hasConnectedDevice_returnOneDeviceSummary()
299 final String expectedSummary = in getConnectedDeviceSummary_multipleDevices_returnMultipleDevicesSummary() local
302 assertThat(mSummaryUpdater.getConnectedDeviceSummary()).isEqualTo(expectedSummary); in getConnectedDeviceSummary_multipleDevices_returnMultipleDevicesSummary()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/enterprise/
DFailedPasswordWipeCurrentUserPreferenceControllerTest.java121 String expectedSummary = mRealContext.getResources().getQuantityString( in testUpdateState_set() local
124 verifyPreferenceSummarySet(mPreference, expectedSummary); in testUpdateState_set()
DEnterpriseSetDefaultAppsListPreferenceControllerTest.java279 CharSequence expectedSummary = getSummary(expectedApps); in assertPreference() local
283 + " expectedSummary: " + expectedSummary); in assertPreference()
288 .isEqualTo(expectedSummary); in assertPreference()
DBaseEnterprisePrivacyPreferenceControllerTestCase.java99 String expectedSummary = mRealContext.getResources().getQuantityString(
102 verifyPreferenceSummarySet(preference, expectedSummary);
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/safetycenter/ui/model/
DStatusUiDataTest.kt102 val expectedSummary = "a quick settings summary" in getSummary_withPendingActions_returnsQsSummary() constant
104 .thenReturn(expectedSummary) in getSummary_withPendingActions_returnsQsSummary()
108 assertThat(actualSummary).isEqualTo(expectedSummary) in getSummary_withPendingActions_returnsQsSummary()
/packages/apps/Settings/tests/unit/src/com/android/settings/safetycenter/
DBiometricsSafetySourceTest.java691 private void assertSafetySourceDisabledDataSet(String expectedTitle, String expectedSummary) { in assertSafetySourceDisabledDataSet() argument
703 assertThat(safetySourceStatus.getSummary().toString()).isEqualTo(expectedSummary); in assertSafetySourceDisabledDataSet()
714 String expectedTitle, String expectedSummary, String expectedSettingsClassName) { in assertSafetySourceEnabledDataSet() argument
726 assertThat(safetySourceStatus.getSummary().toString()).isEqualTo(expectedSummary); in assertSafetySourceEnabledDataSet()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DInternetPreferenceControllerTest.java273 final String expectedSummary = in updateCellularSummary_getActiveSubscriptionInfo_cbrs() local
277 assertThat(mPreference.getSummary()).isEqualTo(expectedSummary); in updateCellularSummary_getActiveSubscriptionInfo_cbrs()
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/privacysources/
DNotificationListenerCheckInternalTest.kt475 val expectedSummary = context.getString(R.string.notification_listener_warning_card_content) in createSafetySourceIssue() constant
513 assertThat(safetySourceIssue.summary).isEqualTo(expectedSummary) in createSafetySourceIssue()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/details2/
DWifiDetailPreferenceController2Test.java573 final String expectedSummary = mContext.getString(R.string.wifi_time_remaining, in entityHeader_shouldShowShortRemainingTime() local
580 inOrder.verify(mMockHeaderController).setSecondSummary(expectedSummary); in entityHeader_shouldShowShortRemainingTime()
593 final String expectedSummary = mContext.getString( in entityHeader_shouldShowExpiryDate() local
598 inOrder.verify(mMockHeaderController).setSecondSummary(expectedSummary); in entityHeader_shouldShowExpiryDate()