Home
last modified time | relevance | path

Searched refs:onView (Results 1 – 13 of 13) sorted by relevance

/external/robolectric/integration_tests/androidx_test/src/sharedTest/java/org/robolectric/integrationtests/axt/
DEspressoTest.java4 import static androidx.test.espresso.Espresso.onView;
63 onView(withId(R.id.edit_text)).check(matches(isCompletelyDisplayed())); in launchActivityAndFindView_espresso()
90 onView(withId(R.id.button)).check(matches(isCompletelyDisplayed())); in buttonClick_espresso()
91 onView(withId(R.id.button)).perform(click()); in buttonClick_espresso()
117 onView(withId(R.id.edit_text)) in typeText_espresso()
120 onView(withId(R.id.edit_text)) in typeText_espresso()
127 onView(withId(R.id.edit_text_phone)).perform(typeText("411")); in typeText_phone()
129 onView(withId(R.id.edit_text_phone)).check(matches(withText("411"))); in typeText_phone()
134 onView(withText("Text View")) in textView()
140 onView(withText("Text View")).check(matches(isCompletelyDisplayed())); in textView()
[all …]
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DFragmentVisibilityTests.kt20 import androidx.test.espresso.Espresso.onView in <lambda>()
59 onView(withId(R.id.animation_view)).check(matches(isAnimating())) in <lambda>()
79 onView(withId(R.id.animation_view)).check(matches(isNotAnimating())) in <lambda>()
95 onView(withId(R.id.animation_view)).check(matches(isNotAnimating())) in <lambda>()
99 onView(withId(R.id.animation_view)).check(matches(isAnimating())) in <lambda>()
121 onView(withId(R.id.animation_view)) in <lambda>()
146 onView(withId(R.id.animation_view)) in <lambda>()
152 onView(withId(R.id.finish)) in <lambda>()
159 onView(withId(R.id.finish)).perform(ViewActions.click()) in <lambda>()
163 onView(withId(R.id.animation_view)) in <lambda>()
[all …]
/external/robolectric/integration_tests/androidx_test/src/test/java/org/robolectric/integrationtests/axt/
DEspressoWithWindowLayersTest.java4 import static androidx.test.espresso.Espresso.onView;
53 onView(isRoot()).perform(clickAtLocation(centerOf(scenario, R.id.button))); in click_notTouchablePopupOverButton_isClicked()
64 onView(isRoot()).perform(clickAtLocation(centerOf(scenario, R.id.button))); in click_touchablePopupOverButton_isNotClicked()
75 onView(isRoot()).perform(clickAtLocation(centerOf(scenario, R.id.button))); in click_touchablePopupNotOverButton_isClicked()
86 onView(isRoot()).perform(clickAtLocation(centerOf(scenario, R.id.button))); in click_touchModalPopupNotOverButton_isNotClicked()
97 onView(isRoot()).perform(clickAtLocation(centerOf(scenario, R.id.button))); in click_touchOutsidePopupNotOverButton_isClicked()
120 onView(withText("Hello")).inRoot(isDialog()).perform(click()); in click_twoDialogs_clicksOnTopMost()
131 onView(withId(R.id.edit_text)).perform(typeText(TEXT)); in typeText_focusablePopupWindow_textIsNotTyped()
143 onView(withId(R.id.edit_text)).perform(typeText(TEXT)); in typeText_notFocusablePopupWindow_textIsTyped()
DEspressoWithMenuTest.java3 import static androidx.test.espresso.Espresso.onView;
30 onView(withText("menu_title")).perform(click()); in platformMenuClick()
41 onView(withText("menu_title")).perform(click()); in appCompatMenuClick()
DEspressoWithSwitchCompatTest.java3 import static androidx.test.espresso.Espresso.onView;
23 onView(withId(R.id.switch_compat_2)).check(matches(isCompletelyDisplayed())).perform(click()); in switchCompatTest()
DEspressoWithPausedLooperTest.java3 import static androidx.test.espresso.Espresso.onView;
38 onView(withId(R.id.edit_text)).check(matches(isCompletelyDisplayed())); in launchActivityAndFindView_espresso()
DEspressoWithToolbarMenuTest.java3 import static androidx.test.espresso.Espresso.onView;
31 onView(withText("menu_title")).perform(click()); in appCompatToolbarMenuClick()
/external/mobly-snippet-lib/examples/ex2_espresso/src/androidTest/java/com/google/android/mobly/snippet/example2/
DEspressoTest.java27 import static androidx.test.espresso.Espresso.onView;
44 onView(withId(R.id.main_text_view)).check(matches(withText("Hello World!"))); in espressoTest()
45 onView(withId(R.id.main_button)).perform(ViewActions.click()); in espressoTest()
46 onView(withId(R.id.main_text_view)).check(matches(withText("Button pressed 1 times."))); in espressoTest()
/external/mobly-snippet-lib/examples/ex2_espresso/src/snippet/java/com/google/android/mobly/snippet/example2/
DEspressoSnippet.java19 import static androidx.test.espresso.Espresso.onView;
43 onView(withId(R.id.main_text_view)).check(matches(withText("Hello World!"))); in pushMainButton()
45 onView(withId(R.id.main_button)).perform(ViewActions.click()); in pushMainButton()
47 onView(withId(R.id.main_text_view)).check(matches(withText("Button pressed 1 times."))); in pushMainButton()
/external/dagger2/javatests/artifacts/dagger-android/simple/app/src/sharedTest/java/dagger/android/simple/
DSimpleActivityTest.java19 import static androidx.test.espresso.Espresso.onView;
46 onView(withId(R.id.greeting)) in testActivityInject()
/external/dagger2/javatests/artifacts/hilt-android/simple/app/src/sharedTest/java/dagger/hilt/android/simple/
DSimpleActivityTest.java19 import static androidx.test.espresso.Espresso.onView;
71 onView(withId(R.id.greeting)) in testActivityInject()
/external/skia/src/core/
DSkSpecialImage.cpp55 virtual GrSurfaceProxyView onView(GrRecordingContext* context) const = 0;
118 return as_SIB(this)->onView(context); in view()
240 GrSurfaceProxyView onView(GrRecordingContext* context) const override { in onView() function in SkSpecialImage_Raster
410 GrSurfaceProxyView onView(GrRecordingContext* context) const override { return fView; } in onView() function in SkSpecialImage_Gpu
/external/mobly-snippet-lib/examples/ex2_espresso/
DREADME.md55 onView(withId(R.id.main_button)).perform(click());