Home
last modified time | relevance | path

Searched refs:shadowIntent (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java115 ShadowActivity.IntentForResult shadowIntent = in create_emptyIntent() local
118 assertThat(shadowIntent).isNull(); in create_emptyIntent()
125 ShadowActivity.IntentForResult shadowIntent = in create_noInputs() local
128 assertThat(shadowIntent).isNull(); in create_noInputs()
138 ShadowActivity.IntentForResult shadowIntent = in create_inputNotFound() local
141 assertThat(shadowIntent).isNull(); in create_inputNotFound()
151 ShadowActivity.IntentForResult shadowIntent = in create_validInput() local
153 assertThat(shadowIntent).isNotNull(); in create_validInput()
154 assertThat(shadowIntent.options).isNull(); in create_validInput()
155 assertThat(shadowIntent.intent.getExtras()).isNotNull(); in create_validInput()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserDetailsSettingsTest.java322 ShadowIntent shadowIntent = shadowOf(startedIntent); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen() local
323 assertThat(shadowIntent.getIntentClass()).isEqualTo(SubSettings.class); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()
558 ShadowIntent shadowIntent = shadowOf(startedIntent); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity() local
559 assertThat(shadowIntent.getIntentClass()).isEqualTo(SubSettings.class); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()
DUserSettingsTest.java629 ShadowIntent shadowIntent = shadowOf(startedIntent); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails() local
630 assertThat(shadowIntent.getIntentClass()).isEqualTo(SubSettings.class); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()