Home
last modified time | relevance | path

Searched refs:withText (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/support/viewpager/src/androidTest/java/androidx/viewpager/widget/
DViewPagerWithTitleStripTest.java22 import static android.support.test.espresso.matcher.ViewMatchers.withText;
49 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
53 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
59 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
63 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
67 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click()); in assertStripInteraction()
DViewPagerWithTabStripTest.java22 import static android.support.test.espresso.matcher.ViewMatchers.withText;
48 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
52 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
56 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Red"))).perform(click()); in assertStripInteraction()
63 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Green"))).perform(click()); in assertStripInteraction()
67 onView(allOf(isDescendantOfA(withId(R.id.titles)), withText("Blue"))).perform(click()); in assertStripInteraction()
DBaseViewPagerTest.java32 import static android.support.test.espresso.matcher.ViewMatchers.withText;
507 withText("Body 0")))); in verifyAdapterChange()
521 withText("Body 1")))); in verifyAdapterChange()
535 withText("Body 2")))); in verifyAdapterChange()
549 withText("Body 3")))); in verifyAdapterChange()
590 allOf(withText(expectedStartTitle), isDisplayed(), startAlignedToParent())))); in verifyTitleStripLayout()
595 allOf(withText(expectedSelectedTitle), isDisplayed(), centerAlignedInParent())))); in verifyTitleStripLayout()
600 allOf(withText(expectedEndTitle), isDisplayed(), endAlignedToParent())))); in verifyTitleStripLayout()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
DAlertDialogTest.java32 import static android.support.test.espresso.matcher.ViewMatchers.withText;
169 onView(withText(expectedTitle)).inRoot(isDialog()).check(matches(isDisplayed())); in testBasicContent()
170 onView(withText(expectedMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testBasicContent()
171 onView(withText(expectedMessage)).inRoot(isDialog()).check( in testBasicContent()
172 isBelow(withText(expectedTitle))); in testBasicContent()
196 onView(withText(dialogMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testMessageString()
211 onView(withText(dialogInitialMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testMessageStringPostCreation()
221 onView(withText(dialogInitialMessage)).inRoot(isDialog()).check(doesNotExist()); in testMessageStringPostCreation()
223 onView(withText(dialogUpdatedMessage)).inRoot(isDialog()).check(matches(isDisplayed())); in testMessageStringPostCreation()
241 onView(withText(title)).inRoot(isDialog()).check(doesNotExist()); in verifyCustomTitle()
[all …]
DNightModeTestCase.java22 import static android.support.test.espresso.matcher.ViewMatchers.withText;
71 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_DAY))); in testLocalDayNightModeRecreatesActivity()
78 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_NIGHT))); in testLocalDayNightModeRecreatesActivity()
112 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_DAY))); in testNightModeAutoRecreatesOnTimeChange()
135 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_NIGHT))); in testNightModeAutoRecreatesOnTimeChange()
149 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_DAY))); in testNightModeAutoRecreatesOnResume()
172 onView(withId(R.id.text_night_mode)).check(matches(withText(STRING_NIGHT))); in testNightModeAutoRecreatesOnResume()
DAlertDialogCursorTest.java27 import static android.support.test.espresso.matcher.ViewMatchers.withText;
182 onView(withText("Dialog title")).inRoot(isDialog()).check(matches(isDisplayed())); in verifySimpleItemsContent()
269 onView(withText("Dialog title")).inRoot(isDialog()).check(matches(isDisplayed())); in verifyMultiChoiceItemsContent()
380 onView(withText("Dialog title")).inRoot(isDialog()).check(matches(isDisplayed())); in verifySingleChoiceItemsContent()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserActivityTest.java46 import static android.support.test.espresso.matcher.ViewMatchers.withText;
80 onView(withId(R.id.title)).check(matches(withText("chooser test"))); in customTitle()
94 .check(matches(withText(R.string.whichSendApplication))); in emptyTitle()
120 onView(withText(toChoose.activityInfo.name)) in twoOptionsAndUserSelectsOne()
146 onView(withText(toChoose.activityInfo.name)) in updateChooserCountsAndModelAfterUserSelection()
228 withText(stableCopy.get(0).getResolveInfoAt(0).activityInfo.name))); in hasOtherProfileOneOption()
229 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasOtherProfileOneOption()
267 withText(stableCopy.get(0).getResolveInfoAt(0).activityInfo.name))); in hasOtherProfileTwoOptionsAndUserSelectsOne()
268 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasOtherProfileTwoOptionsAndUserSelectsOne()
304 withText(stableCopy.get(0).getResolveInfoAt(0).activityInfo.name))); in hasLastChosenActivityAndOtherProfile()
[all …]
DResolverActivityTest.java51 import static android.support.test.espresso.matcher.ViewMatchers.withText;
97 onView(withText(toChoose.activityInfo.name)) in twoOptionsAndUserSelectsOne()
191 withText(stableCopy.get(0).getResolveInfoAt(0).activityInfo.name))); in hasOtherProfileOneOption()
192 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasOtherProfileOneOption()
232 withText(stableCopy.get(0).getResolveInfoAt(0).activityInfo.name))); in hasOtherProfileTwoOptionsAndUserSelectsOne()
233 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasOtherProfileTwoOptionsAndUserSelectsOne()
277 withText(stableCopy.get(0).getResolveInfoAt(0).activityInfo.name))); in hasLastChosenActivityAndOtherProfile()
278 onView(withText(stableCopy.get(1).getResolveInfoAt(0).activityInfo.name)) in hasLastChosenActivityAndOtherProfile()
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
DPopupMenuTest.java28 import static android.support.test.espresso.matcher.ViewMatchers.withText;
167 onView(withText(mResources.getString(R.string.popup_menu_highlight))) in testBasicContent()
173 onView(withText(mResources.getString(R.string.popup_menu_edit))) in testBasicContent()
179 onView(withText(mResources.getString(R.string.popup_menu_delete))) in testBasicContent()
183 onView(withText(mResources.getString(R.string.popup_menu_ignore))) in testBasicContent()
187 onView(withText(mResources.getString(R.string.popup_menu_share))) in testBasicContent()
191 onView(withText(mResources.getString(R.string.popup_menu_print))) in testBasicContent()
196 onView(withText(mResources.getString(R.string.popup_menu_share_email))) in testBasicContent()
199 onView(withText(mResources.getString(R.string.popup_menu_share_circles))) in testBasicContent()
441 onView(withText(mResources.getString(R.string.popup_menu_delete)))
[all …]
DAppCompatSpinnerTest.java23 import static android.support.test.espresso.matcher.ViewMatchers.withText;
83 Matcher popupContentMatcher = hasChild(withText(itemText)); in verifySpinnerPopupTheming()
91 onView(withText(itemText)).perform(click()); in verifySpinnerPopupTheming()
DListPopupWindowTest.java24 import static android.support.test.espresso.matcher.ViewMatchers.withText;
118 onView(withText("Alice")) in testBasicContent()
121 onView(withText("Bob")) in testBasicContent()
124 onView(withText("Charlie")) in testBasicContent()
127 onView(withText("Deirdre")) in testBasicContent()
130 onView(withText("El")) in testBasicContent()
279 onView(withText("Charlie")) in testItemClickViaEvent()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DFloatingToolbarEspressoUtils.java29 import static android.support.test.espresso.matcher.ViewMatchers.withText;
123 onFloatingToolBar().check(matches(hasDescendant(withText(itemLabel)))); in assertFloatingToolbarContainsItem()
132 onFloatingToolBar().check(matches(hasDescendant(withText(itemLabel)))); in assertFloatingToolbarContainsItem()
232 onFloatingToolBarItem(withText(itemLabel)).check(matches(isDisplayed())); in clickFloatingToolbarItem()
237 onFloatingToolBarItem(withText(itemLabel)).perform(click()); in clickFloatingToolbarItem()
DSuggestionsPopupwindowUtils.java25 import static android.support.test.espresso.matcher.ViewMatchers.withText;
82 onSuggestionsPopupItem(withText(itemLabel)).check(matches(isDisplayed())); in assertSuggestionsPopupContainsItem()
91 onSuggestionsPopupItem(withText(itemLabel)).perform(new SuggestionItemClickAction()); in clickSuggestionsPopupItem()
DContextMenuUtils.java29 import static android.support.test.espresso.matcher.ViewMatchers.withText;
99 hasDescendant(withText(itemLabel)), in getVisibleMenuItemMatcher()
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/drawer/
DWearableDrawerLayoutEspressoTest.java28 import static android.support.test.espresso.matcher.ViewMatchers.withText;
155 onView(withId(R.id.ws_nav_drawer_text)).check(matches(withText("0"))); in firstNavDrawerItemShouldBeSelectedInitially()
176 allOf(withId(R.id.ws_nav_drawer_text), withText("1")), in selectingNavItemChangesTextAndClosedDrawer()
201 .check(matches(withText("1"))); in programmaticallySelectingNavItemChangesTextInSinglePage()
221 .check(matches(withText("1"))); in programmaticallySelectingNavItemChangesTextInMultiPage()
312 waitForMatchingView(allOf(withText("Item 6"), isCompletelyDisplayed()), in scrolledDownActionDrawerCanScrollUpWhenReOpened()
327 onView(withText("Item 6")).check(matches(isDisplayed())); in scrolledDownActionDrawerCanScrollUpWhenReOpened()
413 onView(withText("Modified item")).check(matches(isDisplayed())); in changingActionDrawerItemShouldUpdateView()
474 .perform(waitForMatchingView(withText("New Item"), MAX_WAIT_MS)); in addingActionDrawerItemShouldUpdateView()
/frameworks/base/packages/SystemUI/scripts/
Dnew_merge.py130 def prepareFileForCompare(inFile, outFile, skip="", replace="", withText=""): argument
144 fout.write(line.replace(replace, withText))
/frameworks/base/core/tests/coretests/src/android/widget/
DSuggestionsPopupWindowTest.java27 import static android.support.test.espresso.matcher.ViewMatchers.withText;
175 onView(withId(R.id.textview)).check(matches(withText("abc DEF ghi"))); in testSuggestionItems()
188 onView(withId(R.id.textview)).check(matches(withText("abc ghi"))); in testSuggestionItems()
241 onView(withId(R.id.textview)).check(matches(withText("abc DEF ghi"))); in testEasyCorrect()
DTextViewActivityMouseTest.java27 import static android.support.test.espresso.matcher.ViewMatchers.withText;
196 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def"))); in testDragAndDrop()
213 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def"))); in testDragAndDrop_longClick()
DTextViewActivityTest.java27 import static android.support.test.espresso.matcher.ViewMatchers.withText;
127 onView(withId(R.id.textview)).check(matches(withText(helloWorld))); in testTypedTextIsOnScreen()
137 onView(withId(R.id.textview)).check(matches(withText("Hello orld!"))); in testPositionCursorAtTextAtIndex()
233 onView(withId(R.id.textview)).check(matches(withText("abc ghi.def"))); in testDragAndDrop()
241 onView(withId(R.id.textview)).check(matches(withText(text))); in testDragAndDrop()
1020 onView(withId(R.id.textview)).check(matches(withText("styledtext"))); in testPastePlainText_menuAction()
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/
DSwipeTest.java24 import static android.support.test.espresso.matcher.ViewMatchers.withText;
127 matches(withText(String.valueOf(expectedValue)))); in assertStateCorrect()
/frameworks/support/car/src/androidTest/java/androidx/car/widget/
DPagedListViewTest.java30 import static android.support.test.espresso.matcher.ViewMatchers.withText;
684 onView(withText(itemText(lastInPreviousPagePosition))) in verifyItemSnappedToListTop()
/frameworks/support/api/
D22.2.0.txt5912 field public static int withText;
D22.2.1.txt5976 field public static int withText;
D23.0.0.txt6766 field public static int withText;
D23.1.1.txt7057 field public static int withText;

12