Searched refs:intentArgumentCaptor (Results 1 – 2 of 2) sorted by relevance
248 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceTreeClick_alarmSound() local249 verify(pref, times(1)).onPrepareRingtonePickerIntent(intentArgumentCaptor.capture()); in testOnPreferenceTreeClick_alarmSound()251 intentArgumentCaptor.getValue().getIntExtra( in testOnPreferenceTreeClick_alarmSound()269 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceTreeClick_ringtoneSound() local270 verify(pref, times(1)).onPrepareRingtonePickerIntent(intentArgumentCaptor.capture()); in testOnPreferenceTreeClick_ringtoneSound()272 intentArgumentCaptor.getValue().getIntExtra( in testOnPreferenceTreeClick_ringtoneSound()290 ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in testOnPreferenceTreeClick_otherSound() local291 verify(pref, times(1)).onPrepareRingtonePickerIntent(intentArgumentCaptor.capture()); in testOnPreferenceTreeClick_otherSound()293 intentArgumentCaptor.getValue().getIntExtra( in testOnPreferenceTreeClick_otherSound()
90 final ArgumentCaptor<Intent> intentArgumentCaptor = ArgumentCaptor.forClass(Intent.class); in launch_shouldIncludeAllParams() local98 verify(launcher).launch(intentArgumentCaptor.capture()); in launch_shouldIncludeAllParams()99 final Intent intent = intentArgumentCaptor.getValue(); in launch_shouldIncludeAllParams()