Home
last modified time | relevance | path

Searched refs:bySelector (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/testutils/
DSettingsTestUtils.kt35 fun UiDevice.waitObject(bySelector: BySelector): UiObject2? = in waitObject()
36 wait(Until.findObject(bySelector), TIMEOUT) in waitObject()
38 fun UiDevice.assertObject(bySelector: BySelector): UiObject2 = in waitObject()
39 checkNotNull(waitObject(bySelector)) { "$bySelector not found" } in waitObject()
41 fun UiDevice.clickObject(bySelector: BySelector) = assertObject(bySelector).click() in clickObject()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DUiDeviceAsserts.java35 public static void assertHas(UiDevice uiDevice, BySelector bySelector, boolean expected) { in assertHas() argument
36 assertEquals("Has " + bySelector, expected, uiDevice.hasObject(bySelector)); in assertHas()
39 public static void assertWaitUntilFocused(UiDevice uiDevice, BySelector bySelector) { in assertWaitUntilFocused() argument
40 UiObject2 uiObject = uiDevice.findObject(bySelector); in assertWaitUntilFocused()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsTestController.java144 public void assertHas(BySelector bySelector, boolean expected) { in assertHas() argument
145 UiDeviceAsserts.assertHas(mDevice, bySelector, expected); in assertHas()
156 public void assertWaitUntilFocused(BySelector bySelector) { in assertWaitUntilFocused() argument
157 UiDeviceAsserts.assertWaitUntilFocused(mDevice, bySelector); in assertWaitUntilFocused()