Home
last modified time | relevance | path

Searched refs:assertViewAppeared (Results 1 – 8 of 8) sorted by relevance

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DLoginActivity.java22 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared;
129 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared()
130 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in assertJustInitialViewsAppeared()
131 assertViewAppeared(events, 5, sessionId, rootView, grandpa1.getAutofillId()); in assertJustInitialViewsAppeared()
132 assertViewAppeared(events, 6, sessionId, activity.mUsernameLabel, rootId); in assertJustInitialViewsAppeared()
133 assertViewAppeared(events, 7, sessionId, activity.mUsername, rootId); in assertJustInitialViewsAppeared()
134 assertViewAppeared(events, 8, sessionId, activity.mPasswordLabel, rootId); in assertJustInitialViewsAppeared()
135 assertViewAppeared(events, 9, sessionId, activity.mPassword, rootId); in assertJustInitialViewsAppeared()
DEventsAssertor.java124 public EventsAssertor assertViewAppeared(@NonNull View expectedView) { in assertViewAppeared() method in EventsAssertor
135 public EventsAssertor assertViewAppeared(@NonNull View expectedView, in assertViewAppeared() method in EventsAssertor
147 public EventsAssertor assertViewAppeared(@NonNull ContentCaptureSessionId expectedSessionId, in assertViewAppeared() method in EventsAssertor
149 assertViewAppeared(expectedView, expectedParentId); in assertViewAppeared()
159 public EventsAssertor assertViewAppeared(@NonNull ContentCaptureSessionId expectedSessionId, in assertViewAppeared() method in EventsAssertor
161 assertViewAppeared(expectedView); in assertViewAppeared()
171 public EventsAssertor assertViewAppeared(@NonNull String text) { in assertViewAppeared() method in EventsAssertor
DLoginActivityTest.java28 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared;
247 assertViewAppeared(mainEvents, 3, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_rootViewSession()
248 assertViewAppeared(mainEvents, 4, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_rootViewSession()
277 assertViewAppeared(childEvents, 0, childSessionId, activity.getRootView(), in testSimpleLifecycle_rootViewSession()
279 assertViewAppeared(childEvents, 1, childSessionId, activity.mUsernameLabel, rootId); in testSimpleLifecycle_rootViewSession()
280 assertViewAppeared(childEvents, 2, childSessionId, activity.mUsername, rootId); in testSimpleLifecycle_rootViewSession()
281 assertViewAppeared(childEvents, 3, childSessionId, activity.mPasswordLabel, rootId); in testSimpleLifecycle_rootViewSession()
282 assertViewAppeared(childEvents, 4, childSessionId, activity.mPassword, rootId); in testSimpleLifecycle_rootViewSession()
381 assertViewAppeared(events, 4, grandpa2, decorView.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate()
382 assertViewAppeared(events, 5, grandpa1, grandpa2.getAutofillId()); in testSimpleLifecycle_changeContextOnCreate()
[all …]
DCustomViewActivity.java22 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared;
135 assertViewAppeared(events, 3, grandpa2, decorView.getAutofillId()); in assertJustInitialViewsAppeared()
136 assertViewAppeared(events, 4, grandpa1, grandpa2.getAutofillId()); in assertJustInitialViewsAppeared()
DChildlessActivityTest.java27 import static android.contentcaptureservice.cts.Assertions.assertViewAppeared;
319 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testAddAndRemoveImportantChild()
320 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testAddAndRemoveImportantChild()
321 .assertViewAppeared(sessionId, rootView, grandpa1.getAutofillId()) in testAddAndRemoveImportantChild()
322 .assertViewAppeared(sessionId, child, rootId) in testAddAndRemoveImportantChild()
364 .assertViewAppeared(sessionId, child, rootView.getAutofillId()) in testAddImportantChildAfterSessionStarted()
365 .assertViewAppeared(sessionId, rootView, grandpa.getAutofillId()) in testAddImportantChildAfterSessionStarted()
413 .assertViewAppeared(mainSessionId, rootView, grandpa.getAutofillId()) in testAddAndRemoveImportantChildOnDifferentSession()
425 .assertViewAppeared(childSessionId, child, rootView.getAutofillId()) in testAddAndRemoveImportantChildOnDifferentSession()
599 assertViewAppeared(childEvents, 1, child, rootId); in dinamicallyAddOneChildOnAnotherSessionTest()
[all …]
DAssertions.java181 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertDecorViewAppeared()
193 final ContentCaptureEvent event = assertViewAppeared(events, index); in assertViewWithUnknownParentAppeared()
212 public static ContentCaptureEvent assertViewAppeared(@NonNull List<ContentCaptureEvent> events, in assertViewAppeared() method in Assertions
223 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions
235 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions
237 assertViewAppeared(events, index, expectedView, expectedParentId, /* expectedText= */ null); in assertViewAppeared()
243 public static void assertViewAppeared(@NonNull List<ContentCaptureEvent> events, int index, in assertViewAppeared() method in Assertions
246 assertViewAppeared(events, index, expectedView, expectedParentId); in assertViewAppeared()
DBlankWithTitleActivity.java49 .assertViewAppeared("Blanka") in assertDefaultEvents()
DCustomViewActivityTest.java149 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testSessionLifecycleEvents()
150 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testSessionLifecycleEvents()
154 .assertViewAppeared(session.id, customViewRef.get()) in testSessionLifecycleEvents()
215 .assertViewAppeared(grandpa2, decorView.getAutofillId()) in testVirtualView_wrongWay()
216 .assertViewAppeared(grandpa1, grandpa2.getAutofillId()) in testVirtualView_wrongWay()
219 .assertViewAppeared(session.id, activity.mCustomView) in testVirtualView_wrongWay()