Searched refs:shadowDialog (Results 1 – 8 of 8) sorted by relevance
143 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_highUsageTip_fireHighUsageDialog()157 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict app?"); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()158 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()179 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict 2 apps?"); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()180 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()185 assertThat(shadowDialog.getView()).isNotNull(); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()210 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()229 assertThat(shadowDialog.getMessage()) in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()244 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_summaryTip_fireDialog()260 assertThat(shadowDialog.getTitle()).isEqualTo( in testOnCreateDialog_defenderTip_fireDialog()[all …]
84 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_forceStopDialog() local86 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_forceStopDialog()88 assertThat(shadowDialog.getTitle()).isEqualTo( in testOnCreateDialog_forceStopDialog()105 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_disableDialog() local107 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_disableDialog()125 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_specialDisableDialog() local127 assertThat(shadowDialog.getMessage()).isEqualTo( in testOnCreateDialog_specialDisableDialog()
82 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation() local84 assertThat(shadowDialog.getMessage()).isEqualTo( in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation()86 assertThat(shadowDialog.getTitle()).isEqualTo( in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation()
115 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in showRemoveLocaleWarningDialog_allLocaleSelected_shouldShowErrorDialog() local117 assertThat(shadowDialog.getTitle()).isEqualTo( in showRemoveLocaleWarningDialog_allLocaleSelected_shouldShowErrorDialog()137 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in showRemoveLocaleWarningDialog_mainLocaleSelected_shouldShowLocaleChangeDialog() local139 assertThat(shadowDialog.getMessage()).isEqualTo( in showRemoveLocaleWarningDialog_mainLocaleSelected_shouldShowLocaleChangeDialog()159 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in showRemoveLocaleWarningDialog_mainLocaleNotSelected_shouldShowConfirmDialog() local161 assertThat(shadowDialog.getMessage()).isNull(); in showRemoveLocaleWarningDialog_mainLocaleNotSelected_shouldShowConfirmDialog()
83 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in onCreateDialog_twoSimsSelectFirst_correctMessage() local84 final String message = (String) shadowDialog.getMessage(); in onCreateDialog_twoSimsSelectFirst_correctMessage()96 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in onCreateDialog_twoSimsSelectSecond_correctMessage() local97 final String message = (String) shadowDialog.getMessage(); in onCreateDialog_twoSimsSelectSecond_correctMessage()
174 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialogFragment_toRestrict_createRestrictDialog() local175 assertThat(shadowDialog.getTitle()).isEqualTo("Restrict app?"); in createDialogFragment_toRestrict_createRestrictDialog()187 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialogFragment_toUnrestrict_createUnrestrictDialog() local188 assertThat(shadowDialog.getTitle()).isEqualTo("Remove restriction?"); in createDialogFragment_toUnrestrict_createUnrestrictDialog()
109 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialog_normalDevice_showNormalMessage() local111 assertThat(shadowDialog.getMessage()).isEqualTo( in createDialog_normalDevice_showNormalMessage()
203 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() local204 assertThat(shadowDialog.getTitle()).isEqualTo( in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog()206 assertThat(shadowDialog.getMessage()).isEqualTo( in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog()