HomeSort by relevance Sort by last modified time
    Searched refs:withText (Results 1 - 25 of 26) sorted by null

1 2

  /frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/action/
SwipeActionIntegrationTest.java 26 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
56 .check(matches(hasDescendant(withText("Position #0"))))
58 .check(matches(hasDescendant(withText("Position #1"))))
60 .check(matches(hasDescendant(withText("Position #2"))))
62 .check(matches(hasDescendant(withText("Position #1"))))
64 .check(matches(hasDescendant(withText("Position #0"))));
70 .check(matches(hasDescendant(withText("Position #0"))))
72 .check(matches(hasDescendant(withText("Position #0"))))
74 .check(matches(hasDescendant(withText("Position #0"))));
82 .check(matches(hasDescendant(withText("Position #2")))
    [all...]
AdapterDataIntegrationTest.java 25 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
61 .check(matches(withText("99")));
67 .check(matches(withText("1")));
74 .check(matches(withText("20")));
80 .check(matches(withText(String.valueOf("item: 50".length()))));
83 .check(matches(withText("50")));
88 onView(allOf(withText("7"), hasSibling(withText("item: 0"))))
91 .check(matches(withText("0")));
WindowOrderingIntegrationTest.java 26 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
57 onView(withText(R.string.item_1_text))
61 onView(withText(R.string.item_1_text))
64 onView(withText(R.string.item_1_text))
75 .check(matches(withText(R.string.popup_title)))
82 onView(withText(R.string.dialog_title))
86 onView(withText(R.string.dialog_title))
89 onView(withText("Fine"))
92 onView(withText(R.string.dialog_title))
ClearTextActionIntegrationTest.java 24 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
49 onView(withId(is(R.id.send_data_to_message_edit_text))).check(matches(withText(is(text))));
51 onView(withId(is(R.id.send_data_to_message_edit_text))).check(matches(withText(is(""))));
59 onView(withId(is(R.id.send_data_to_call_edit_text))).check(matches(withText(is(text))));
61 onView(withId(is(R.id.send_data_to_call_edit_text))).check(matches(withText(is(""))));
EventActionIntegrationTest.java 27 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
63 onView(withText(is(getActivity().getString(R.string.text_click))))
67 onView(withText(is(getActivity().getString(R.string.text_click))))
72 onView(withText(is(getActivity().getString(R.string.text_click))))
94 onView(withText(is(getActivity().getString(R.string.text_click))))
100 onView(withText(is(getActivity().getString(R.string.text_long_click))))
104 onView(withText(is(getActivity().getString(R.string.text_long_click))))
110 onView(withText(is(getActivity().getString(R.string.text_double_click))))
114 onView(withText(is("Double Click"))).check(matches(isDisplayed()));
115 onView(withText(is(getActivity().getString(R.string.text_double_click)))
    [all...]
KeyEventActionIntegrationTest.java 29 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
104 .check(matches(withText(containsString("#1"))));
115 .check(matches(withText(containsString("#4"))));
120 .check(matches(withText(containsString("#3"))));
125 .check(matches(withText(containsString("#2"))));
130 .check(matches(withText(containsString("#1"))));
148 onView(allOf(withId(R.id.enter_data_response_text), withText("xyz")))
TypeTextActionIntegrationTest.java 28 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
64 onView(allOf(withId(R.id.enter_data_response_text), withText("Hello World!")))
73 onView(withId(is(R.id.send_data_to_call_edit_text))).check(matches(withText(
95 .check(matches(withText(containsString(toType))));
EditorActionIntegrationTest.java 26 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
64 .check(matches(allOf(isDisplayed(), withText(containsString(searchFor)))));
  /frameworks/testing/espresso/espresso-sample/src/androidTest/java/com/google/android/apps/common/testing/ui/testapp/
SwipeTest.java 25 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
52 onView(withText("Position #0")).check(matches(isDisplayed()));
58 onView(withText("Position #1")).check(matches(isDisplayed()));
64 onView(withText("Position #2")).check(matches(isDisplayed()));
70 onView(withText("Position #2")).check(matches(isDisplayed()));
75 onView(withText("Position #0")).check(matches(isDisplayed()));
81 onView(withText("Position #1")).check(matches(isDisplayed()));
87 onView(withText("Position #0")).check(matches(isDisplayed()));
93 onView(withText("Position #0")).check(matches(isDisplayed()));
ActionBarTest.java 25 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
60 .check(matches(withText("Save")));
72 .check(matches(withText("Lock")));
84 onView(withText("World"))
88 .check(matches(withText("World")));
99 onView(withText("Key"))
103 .check(matches(withText("Key")));
MenuTest.java 28 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
56 onView(withText(R.string.popup_item_1_text)).check(doesNotExist());
58 onView(withText(R.string.popup_item_1_text)).check(matches(isDisplayed())).perform(click());
60 onView(withId(R.id.text_menu_result)).check(matches(withText(R.string.popup_item_1_text)));
64 onView(withText(R.string.context_item_2_text)).check(doesNotExist());
66 onView(withText(R.string.context_item_2_text)).check(matches(isDisplayed())).perform(click());
68 onView(withId(R.id.text_menu_result)).check(matches(withText(R.string.context_item_2_text)));
72 onView(withText(R.string.options_item_3_text)).check(doesNotExist());
74 onView(withText(R.string.options_item_3_text)).check(matches(isDisplayed())).perform(click());
76 onView(withId(R.id.text_menu_result)).check(matches(withText(R.string.options_item_3_text)))
    [all...]
BasicTest.java 26 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
61 .check(matches(withText("Hello Espresso!")));
75 .check(matches(withText(("Have a cup of Espresso."))));
81 .check(matches(withText(containsString("Espresso"))));
96 .check(matches(withText(containsString("Americano"))));
AdapterViewTest.java 24 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
71 .check(matches(withText("50")));
80 .check(matches(withText("60")));
83 .check(matches(withText("2")));
92 .check(matches(withText("10")));
99 .check(matches(withText("14")));
108 .check(matches(withText("100")));
MultipleWindowTest.java 29 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
95 onView(withText("South China Sea"))
101 .check(matches(withText("South China Sea")));
117 .check(matches(withText("Baltic Sea")));
CustomFailureHandlerTest.java 22 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
59 onView(withText("does not exist")).perform(click());
AdvancedSynchronizationTest.java 24 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
89 onView(withId(R.id.status_text)).check(matches(withText(R.string.hello_world)));
DrawerActionsTest.java 28 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
85 onView(withId(R.id.drawer_text_view)).check(matches(withText("You picked: " + rowContents)));
  /frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/
IdlingResourceIntegrationTest.java 25 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
64 onView(withText(equalToIgnoringCase("send"))).perform(click());
67 onView(withText(is("Data from sender"))).check(matches(isDisplayed()));
73 onView(withText(equalToIgnoringCase("send"))).perform(click());
79 onView(withText(equalToIgnoringCase("send"))).perform(click());
  /frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/assertion/
ViewAssertionsTest.java 23 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
112 selectedDescendantsMatch(withText("welfjkw"), hasContentDescription())
123 selectedDescendantsMatch(withText("has content description"), hasContentDescription())
134 selectedDescendantsMatch(withText("no content description"), hasContentDescription())
  /frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/
EspressoEdgeCaseTest.java 25 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
113 .check(matches(withText("Hello World111")));
152 .check(matches(withText("baz bar")));
192 .check(matches(withText("one two three")));
220 .check(matches(withText("Doh")));
256 .check(matches(withText("Har Har")));
EspressoTest.java 26 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
72 onView(withText("Key"))
75 .check(matches(withText("Key")));
85 onView(withText("World"))
88 .check(matches(withText("World")));
127 onView(withText("does not exist")).perform(click());
  /external/chromium_org/chrome/browser/ui/cocoa/find_bar/
find_bar_cocoa_controller.h 94 withText:(const base::string16&)findText;
  /frameworks/testing/espresso/espresso-contrib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/contrib/
DrawerActionsIntegrationTest.java 28 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
104 onView(withId(R.id.drawer_text_view)).check(matches(withText("You picked: " + rowContents)));
  /frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/matcher/
ViewMatchersTest.java 39 import static com.google.android.apps.common.testing.ui.espresso.matcher.ViewMatchers.withText;
203 withText((Matcher<String>) null);
257 assertTrue(withText(is("")).matches(textView));
260 assertTrue(withText(is(testText)).matches(textView));
261 assertFalse(withText(is("blah")).matches(textView));
262 assertFalse(withText(is("")).matches(textView));
363 assertTrue(withText(R.string.something).matches(textView));
364 assertFalse(withText(R.string.other_string).matches(textView));
433 assertTrue(hasSibling(withText("Bill Odama")).matches(v2));
  /frameworks/base/packages/Keyguard/scripts/
new_merge.py 130 def prepareFileForCompare(inFile, outFile, skip="", replace="", withText=""):
144 fout.write(line.replace(replace, withText))

Completed in 2495 milliseconds

1 2