/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
D | AudioFragmentTest.java | 23 import static androidx.test.espresso.matcher.ViewMatchers.withId; 86 onView(allOf(withId(R.id.card_view), isDescendantOfA(withId(R.id.bottom_card)))) in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 91 onView(allOf(withId(R.id.card_background), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 92 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 93 onView(allOf(withId(R.id.card_background_image), is(instanceOf(CrossfadeImageView.class)), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 94 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 95 onView(allOf(withId(R.id.media_layout), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 96 isDescendantOfA(withId(R.id.bottom_card)))).check(matches(isDisplayed())); in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 97 onView(allOf(withId(R.id.primary_text), withText(AUDIO_VIEW_TITLE), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() 98 isDescendantOfA(withId(R.id.media_layout)), in updateContentAndHeaderView_audioContentNoControls_showsMediaPlaybackControlsBar() [all …]
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/ |
D | HomeCardFragmentTest.java | 23 import static androidx.test.espresso.matcher.ViewMatchers.withId; 73 onView(allOf(withId(R.id.descriptive_text_layout), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 74 isDescendantOfA(withId(R.id.top_card)))).check( in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 76 onView(allOf(withId(R.id.primary_text), withText(DESCRIPTIVE_TEXT_TITLE), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 77 isDescendantOfA(withId(R.id.descriptive_text_layout)), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 78 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 79 onView(allOf(withId(R.id.secondary_text), withText(DESCRIPTIVE_TEXT_SUBTITLE), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 80 isDescendantOfA(withId(R.id.descriptive_text_layout)), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 81 isDescendantOfA(withId(R.id.top_card)))).check(matches(isDisplayed())); in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() 82 onView(allOf(withId(R.id.tap_for_more_text), withText(DESCRIPTIVE_TEXT_FOOTER), in updateContentView_descriptiveTextWithFooter_displaysTapForMoreView() [all …]
|
/packages/apps/Car/DebuggingRestrictionController/app/src/androidTest/java/com/android/car/debuggingrestrictioncontroller/ |
D | LoginTest.java | 31 import static androidx.test.espresso.matcher.ViewMatchers.withId; 94 onView(withId(R.id.username)).perform(typeText(INVALID_EMAIL), ViewActions.closeSoftKeyboard()); in invalidEmail() 95 onView(withId(R.id.username)) in invalidEmail() 97 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidEmail() 103 onView(withId(R.id.username)).perform(typeText(TEST_EMAIL), ViewActions.closeSoftKeyboard()); in invalidPassword() 104 onView(withId(R.id.password)) in invalidPassword() 106 onView(withId(R.id.password)) in invalidPassword() 108 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in invalidPassword() 113 onView(withId(R.id.login)).check(matches(isDisplayed())); in initialButtonStates() 114 onView(withId(R.id.login)).check(matches(not(isEnabled()))); in initialButtonStates() [all …]
|
D | TokenTest.java | 24 import static androidx.test.espresso.matcher.ViewMatchers.withId; 79 onView(withId(R.id.agreement)).check(matches(isDisplayed())); in initialButtonStates() 80 onView(withId(R.id.agree)).check(matches(isDisplayed())); in initialButtonStates() 81 onView(withId(R.id.agree)).check(matches(isEnabled())); in initialButtonStates() 82 onView(withId(R.id.disagree)).check(matches(isDisplayed())); in initialButtonStates() 87 onView(withId(R.id.agree)).check(matches(isEnabled())); in agree() 88 onView(withId(R.id.agree)).perform(click()); in agree() 96 onView(withId(R.id.disagree)).check(matches(isEnabled())); in disagree() 97 onView(withId(R.id.disagree)).perform(click()); in disagree() 106 onView(withId(R.id.agree)).perform(click()); in userNotSignedIn()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | CarUiListItemTest.java | 26 import static androidx.test.espresso.matcher.ViewMatchers.withId; 109 onView(withId(R.id.car_ui_list_item_title)).check(matches(isDisplayed())); in testItemVisibility_withTitle() 110 onView(withId(R.id.car_ui_list_item_body)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle() 111 onView(withId(R.id.car_ui_list_item_icon_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle() 112 onView(withId(R.id.car_ui_list_item_action_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withTitle() 126 onView(withId(R.id.car_ui_list_item_body)).check(matches(isDisplayed())); in testItemVisibility_withBody() 127 onView(withId(R.id.car_ui_list_item_body)).check(matches(isEnabled())); in testItemVisibility_withBody() 128 onView(withId(R.id.car_ui_list_item_body)).check(matches(not(isActivated()))); in testItemVisibility_withBody() 129 onView(withId(R.id.car_ui_list_item_title)).check(matches(not(isDisplayed()))); in testItemVisibility_withBody() 130 onView(withId(R.id.car_ui_list_item_icon_container)).check(matches(not(isDisplayed()))); in testItemVisibility_withBody() [all …]
|
D | CarUiRecyclerViewTest.java | 41 import static androidx.test.espresso.matcher.ViewMatchers.withId; 165 onView(withId(R.id.car_ui_scroll_bar)).check(matches(isDisplayed())); in testIsScrollbarPresent_scrollbarEnabled() 178 onView(withId(R.id.car_ui_scroll_bar)).check(doesNotExist()); in testIsScrollbarPresent_scrollbarDisabled() 288 onView(withId(R.id.list)).check(matches(isDisplayed())); in testLayoutManagerSetInXml() 348 onView(withId(R.id.list)).check(matches(not(isDisplayed()))); in testVisibility_goneAtInflationWithChangeToVisible() 369 onView(withId(R.id.list)).check(matches(not(isDisplayed()))); in testVisibility_invisibleAtInflationWithChangeToVisible() 389 onView(withId(R.id.list)).check(matches(isDisplayed())); in testFirstItemAtTop_onInitialLoad() 407 onView(withId(R.id.list)).check(matches(isDisplayed())); in testPageUpAndDownMoveSameDistance() 430 onView(withId(R.id.car_ui_scrollbar_page_down)).perform(click()); in testPageUpAndDownMoveSameDistance() 435 onView(withId(R.id.car_ui_scrollbar_page_down)).perform(click()); in testPageUpAndDownMoveSameDistance() [all …]
|
D | ContentLimitingAdapterUiTest.java | 24 import static androidx.test.espresso.matcher.ViewMatchers.withId; 56 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_toLowerThanTotalItems() 64 onView(withId(R.id.list)).perform(scrollToPosition(20)); in setMaxItem_toLowerThanTotalItems() 66 onView(withId(com.android.car.ui.R.id.car_ui_list_limiting_message)) in setMaxItem_toLowerThanTotalItems() 74 onView(withId(com.android.car.ui.R.id.car_ui_list_limiting_message)).check(doesNotExist()); in setMaxItem_toLowerThanTotalItems() 79 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_toOne() 87 onView(withId(com.android.car.ui.R.id.car_ui_list_limiting_message)) in setMaxItem_toOne() 95 onView(withId(com.android.car.ui.R.id.car_ui_list_limiting_message)).check(doesNotExist()); in setMaxItem_toOne() 100 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_toZero() 107 onView(withId(com.android.car.ui.R.id.car_ui_list_limiting_message)) in setMaxItem_toZero() [all …]
|
D | DelegatingContentLimitingAdapterTest.java | 21 import static androidx.test.espresso.matcher.ViewMatchers.withId; 68 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_noScrolling_noContentLimiting() 95 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_noScrolling() 122 onView(withId(R.id.list)).check(matches(isDisplayed())); in setMaxItem_withScrolling() 144 onView(withId(R.id.list)).check(matches(isDisplayed())); in testChangeItem_callsObservers() 167 onView(withId(R.id.list)).check(matches(isDisplayed())); in testInsertItem_callsObservers() 190 onView(withId(R.id.list)).check(matches(isDisplayed())); in testRemoveItem_callsObservers() 213 onView(withId(R.id.list)).check(matches(isDisplayed())); in testMoveItem_callsObservers() 236 onView(withId(R.id.list)).check(matches(isDisplayed())); in testChangeDataSet_callsObservers()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/preference/ |
D | PreferenceTest.java | 28 import static androidx.test.espresso.matcher.ViewMatchers.withId; 103 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 1)) in testListPreference() 105 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 2)) in testListPreference() 111 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 0)) in testListPreference() 113 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 1)) in testListPreference() 115 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 2)) in testListPreference() 126 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 0)) in testListPreference() 128 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 1)) in testListPreference() 130 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 2)) in testListPreference() 136 onView(withIndex(withId(R.id.car_ui_list_item_radio_button_widget), 0)) in testListPreference() [all …]
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/ |
D | ProvisioningActivityTest.java | 32 import static androidx.test.espresso.matcher.ViewMatchers.withId; 317 onView(withId(android.R.id.button2)) in testCancelDeviceOwner() 331 onView(withId(android.R.id.button1)) in testCancelDeviceOwner() 354 onView(withId(R.id.provisioning_progress)); in testSuccess() 393 onView(withId(R.id.provisioning_progress)); in testSuccess_Nfc() 404 onView(withId(R.id.provisioning_progress)) in testInitializeUi_profileOwner() 408 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_profileOwner() 418 onView(withId(R.id.provisioning_progress)).check( in testInitializeUi_deviceOwner() 422 onView(withId(R.id.animation)).check(matches(isDisplayed())); in testInitializeUi_deviceOwner() 441 onView(withId(R.id.provisioning_progress)).check( in testInitializeUi_deviceOwnerPermissionGrantOptOut() [all …]
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/imewidescreen/ |
D | CarUiImeWideScreenControllerTest.java | 26 import static androidx.test.espresso.matcher.ViewMatchers.withId; 167 onView(withId(R.id.car_ui_wideScreenDescriptionTitle)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 168 onView(withId(R.id.car_ui_wideScreenDescription)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 169 onView(withId(R.id.car_ui_inputExtractActionAutomotive)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 170 onView(withId(R.id.car_ui_wideScreenSearchResultList)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 171 onView(withId(R.id.car_ui_wideScreenErrorMessage)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 172 onView(withId(R.id.car_ui_wideScreenError)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 173 onView(withId(R.id.car_ui_contentAreaAutomotive)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 174 onView(withId(R.id.car_ui_ime_surface)).check(matches(not(isDisplayed()))); in createWideScreenImeView_shouldWrapTheViewInTemplate() 176 onView(withId(R.id.car_ui_wideScreenExtractedTextIcon)).check(matches(isDisplayed())); in createWideScreenImeView_shouldWrapTheViewInTemplate() [all …]
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragmentTest.java | 27 import static androidx.test.espresso.matcher.ViewMatchers.withId; 104 onView(withId(R.id.mute_button)).check(matches(isClickable())).check( in testMuteButton() 108 onView(withId(R.id.mute_button)).perform(selfClick()).check(matches(isActivated(true))); in testMuteButton() 110 onView(withId(R.id.mute_button)).perform(selfClick()).check(matches(isActivated(false))); in testMuteButton() 118 onView(withId(R.id.toggle_dialpad_button)).check(matches(isClickable())).check( in testDialpadButton() 122 onView(withId(R.id.toggle_dialpad_button)).perform(selfClick()).check( in testDialpadButton() 126 onView(withId(R.id.toggle_dialpad_button)).perform(selfClick()).check( in testDialpadButton() 135 onView(withId(R.id.end_call_button)).check(matches(isClickable())); in testEndCallButton() 137 onView(withId(R.id.end_call_button)).perform(selfClick()); in testEndCallButton() 145 onView(withId(R.id.voice_channel_view)).check(matches(isNotClickable())); in testAudioRouteButton_withOneAudioRoute() [all …]
|
D | OngoingCallFragmentTest.java | 22 import static androidx.test.espresso.matcher.ViewMatchers.withId; 70 onView(withId(R.id.incall_dialpad_fragment)) in testOnCreateView() 72 onView(withId(R.id.user_profile_container)) in testOnCreateView() 82 onView(withId(R.id.incall_dialpad_fragment)) in testOnOpenDialpad() 84 onView(withId(R.id.user_profile_container)) in testOnOpenDialpad() 94 onView(withId(R.id.incall_dialpad_fragment)) in testOnCloseDialpad() 96 onView(withId(R.id.user_profile_container)) in testOnCloseDialpad()
|
D | RingingCallControllerBarFragmentTest.java | 23 import static androidx.test.espresso.matcher.ViewMatchers.withId; 74 onView(withId(R.id.answer_call_button)).check(matches(isDisplayed())).check( in testAnswerCallButton() 82 onView(withId(R.id.answer_call_text)).check(matches(isDisplayed())).check( in testAnswerCallText() 90 onView(withId(R.id.end_call_button)).check(matches(isDisplayed())).check( in testEndCallButton() 98 onView(withId(R.id.end_call_text)).check(matches(isDisplayed())).check( in testEndCallText()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/individual/ |
D | IndividualPickerActivityTest.java | 28 import static androidx.test.espresso.matcher.ViewMatchers.withId; 188 onView(withId(R.id.action_rotation)).perform(click()); in testClickDailyRefreshAction_ShowsStartRotationDialog() 190 onView(withId(R.id.start_rotation_wifi_only_checkbox)) in testClickDailyRefreshAction_ShowsStartRotationDialog() 193 onView(withId(R.id.start_rotation_wifi_only_checkbox)) in testClickDailyRefreshAction_ShowsStartRotationDialog() 203 onView(withId(R.id.action_rotation)).perform(click()); in testStartRotationDialogUiComponents() 210 onView(withId(R.id.start_rotation_wifi_only_checkbox)) in testStartRotationDialogUiComponents() 212 onView(withId(R.id.start_rotation_wifi_only_checkbox)) in testStartRotationDialogUiComponents() 234 onView(withId(R.id.action_rotation)).perform(click()); in testShowStartRotationDialog_WifiOnly_ClickOK_StartsRotation() 259 onView(withId(R.id.action_rotation)).perform(click()); in testShowStartRotationDialog_WifiOnly_ClickOK_Fails_ShowsErrorDialog() 284 onView(withId(R.id.action_rotation)).perform(click()); in testStartRotation_WifiOnly_FailOnce_Retry() [all …]
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/ |
D | PreviewActivityTest.java | 24 import static androidx.test.espresso.matcher.ViewMatchers.withId; 150 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_Success_HomeScreen() 178 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_Success_LockScreen() 207 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_Success_BothHomeAndLockScreen() 240 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog() 279 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog() 319 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog() 358 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_CropsAndScalesWallpaper() 383 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_FailsCroppingAndScalingWallpaper_ShowsErrorDialog() 399 onView(withId(R.id.action_apply)).perform(click()); in testClickSetWallpaper_ShowsDestinationDialog() [all …]
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/contact/ |
D | ContactDetailsFragmentTest.java | 25 import static androidx.test.espresso.matcher.ViewMatchers.withId; 133 onView(withId(R.id.list_view)) in testCreateWithContact() 136 allOf(withId(R.id.title), withText(DISPLAY_NAME)))))) in testCreateWithContact() 161 onView(withId(R.id.list_view)) in verifyPhoneNumber() 164 allOf(withId(R.id.title), withText(RAW_NUMBERS[position - 1])))))) in verifyPhoneNumber() 166 allOf(withId(R.id.call_action_id), isClickable()))))); in verifyPhoneNumber() 169 withId(R.id.call_action_id), in verifyPhoneNumber() 175 withId(R.id.contact_details_favorite_button), hasSibling(callActionViewMatcher))) in verifyPhoneNumber()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsActivityTest.java | 26 import static androidx.test.espresso.matcher.ViewMatchers.withId; 162 onView(withId(R.id.disclaimer_content)).check(isNotDisplayed()); in expanderTest() 184 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); in expanderTest() 216 onView(withId(R.id.terms_container)).perform( in expanderTest_automotive() 222 onView(withId(R.id.terms_container)).perform( in expanderTest_automotive() 225 onView(withId(R.id.disclaimer_content)).check(isNotDisplayed()); in expanderTest_automotive() 233 onView(withId(R.id.terms_container)).perform( in expanderTest_automotive() 246 onView(withId(R.id.terms_container)).perform( in expanderTest_automotive() 256 onView(withId(R.id.disclaimer_content)).check(matches(withText("item1\nitem2\n"))); in expanderTest_automotive()
|
/packages/apps/Car/Dialer/tests/instrutests/src/com/android/car/dialer/integration/ |
D | RecentCallLogTest.java | 27 import static androidx.test.espresso.matcher.ViewMatchers.withId; 136 onView(allOf(withText(HEADER), withId(R.id.title))).check(matches(isDisplayed())); in verifyRecentCallScreen() 137 onView(allOf(withText(PHONE_NUMBER), withId(R.id.title))).check(matches(isDisplayed())); in verifyRecentCallScreen() 138 onView(allOf(withText(RELATIVE_TIME), withId(R.id.text))).check(matches(isDisplayed())); in verifyRecentCallScreen() 140 onView(withId(R.id.call_type_icons)) in verifyRecentCallScreen() 146 onView(withId(R.id.call_action_id)).perform(click()); in verifyRecentCallScreen() 158 onView(allOf(withText("Unknown"), withId(R.id.title))).check(matches(isDisplayed())); in emptyPhoneNumber_showAsUnknownCall()
|
D | NoHfpFragmentTest.java | 25 import static androidx.test.espresso.matcher.ViewMatchers.withId; 80 onView(withId(R.id.error_string)).check( in bluetoothDisabled_displayErrorMsg() 89 onView(withId(R.id.error_string)).check( in noPairedDevices_displayErrorMsg() 95 onView(withId(R.id.connect_bluetooth_button)).check(matches(isDisplayed())); in clickButton_navigateToBluetoothSettings() 100 onView(withId(R.id.connect_bluetooth_button)).perform(swipeLeft()); in clickButton_navigateToBluetoothSettings()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/ |
D | UiBot.java | 25 import static androidx.test.espresso.matcher.ViewMatchers.withId; 76 withId(R.id.toolbar)); 190 onView(withId(id)).perform(click()); in clickToolbarItem() 213 onView(withId(android.R.id.button1)).perform(click()); in clickSaveButton() 262 onView(withId(android.R.id.button1)).check(matches(hasFocus())); in assertDialogOkButtonFocused() 269 onView(withId(android.R.id.button1)).perform(click()); in clickDialogOkButton() 276 onView(withId(android.R.id.button2)).perform(click()); in clickDialogCancelButton()
|
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/ |
D | CarLauncherTest.java | 22 import static androidx.test.espresso.matcher.ViewMatchers.withId; 57 onView(withId(R.id.maps_card)).check(matches(isDisplayed())); in onResume_mapsCard_isVisible() 65 onView(withId(R.id.top_card)).check(matches(isDisplayed())); in onResume_assistiveCard_isVisible() 73 onView(withId(R.id.bottom_card)).check(matches(isDisplayed())); in onResume_audioCard_isVisible()
|
/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteFragmentTest.java | 21 import static androidx.test.espresso.matcher.ViewMatchers.withId; 105 onView(withId(R.id.list_view)).perform( in testOnItemClick_contactHasPrimaryNumber_placeCall() 118 onView(withId(R.id.list_view)).perform( in testOnItemClick_contactHasOnlyOneNumber_placeCall() 133 onView(withId(R.id.list_view)).perform( in testOnItemClick_contactHasMultiNumbers_notPlaceCall()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/password/ |
D | SetupChooseLockPasswordAppTest.java | 26 import static androidx.test.espresso.matcher.ViewMatchers.withId; 99 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsNotShown_when_nothingEntered() 110 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm() 113 onView(withId(R.id.password_entry)).perform(ViewActions.typeText("1234")) in clearIsShown_when_somethingEnteredToConfirm()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/settings/ |
D | SettingsActivityTest.java | 31 import static androidx.test.espresso.matcher.ViewMatchers.withId; 80 onView(withId(R.id.recycler_view)).perform( in testSettings_aboutTap_launchesActivity() 94 onView(withId(R.id.recycler_view)).perform( in testSettings_developerOptionsTap_launchesActivityWithFragment() 123 onView(withId(R.id.filter_box)).check(matches(isDisplayed())); in testSettings_developerOptionsFragmentIntent()
|