Home
last modified time | relevance | path

Searched refs:hasObject (Results 1 – 17 of 17) sorted by relevance

/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DBySelectorTest.java46 assertTrue(mDevice.hasObject(By.copy(base).text("Text View 1"))); in testCopy()
47 assertTrue(mDevice.hasObject(By.copy(base).text("Item1"))); in testCopy()
48 assertTrue(mDevice.hasObject(By.copy(base).text("Item3"))); in testCopy()
51 assertFalse(mDevice.hasObject(By.copy(base).text("Accessible button"))); in testCopy()
59 assertTrue(mDevice.hasObject(By.res(TEST_APP, "clazz").clazz("android.widget.Button"))); in testClazz()
60 assertFalse(mDevice.hasObject(By.res(TEST_APP, "clazz").clazz("android.widget.TextView"))); in testClazz()
64 assertTrue(mDevice.hasObject(By.res(TEST_APP, "clazz").clazz(".Button"))); in testClazz()
65 assertFalse(mDevice.hasObject(By.res(TEST_APP, "clazz").clazz(".TextView"))); in testClazz()
68 assertTrue(mDevice.hasObject(By.res(TEST_APP, "clazz").clazz("android.widget", "Button"))); in testClazz()
70 mDevice.hasObject(By.res(TEST_APP, "clazz").clazz("android.widget", "TextView"))); in testClazz()
[all …]
DMultiWindowTest.java40 assertTrue(mDevice.hasObject(STATUS_BAR)); in testMultiWindow_statusBar()
51 assertTrue(mDevice.wait(Until.hasObject(firstWindowSelector), TIMEOUT_MS)); in testMultiWindow_splitScreen()
56 assertTrue(mDevice.wait(Until.hasObject(secondWindowSelector), TIMEOUT_MS)); in testMultiWindow_splitScreen()
DUiObject2Test.java72 assertTrue(mDevice.wait(Until.hasObject(emptyText), TIMEOUT_MS)); in testClear()
420 assertTrue(object.hasObject(By.text("TextView with an id"))); in testHasObject()
421 assertFalse(object.hasObject(By.text(""))); in testHasObject()
663 assertTrue(mDevice.hasObject(By.res(TEST_APP, "top_text"))); // Initially at top. in testScroll()
673 assertTrue(mDevice.hasObject(By.res(TEST_APP, "bottom_text"))); in testScroll()
679 assertTrue(mDevice.hasObject(By.res(TEST_APP, "top_text"))); // Initially at top. in testScroll_untilEnd()
686 assertTrue(mDevice.hasObject(By.res(TEST_APP, "bottom_text"))); in testScroll_untilEnd()
693 assertTrue(mDevice.hasObject(By.res(TEST_APP, "top_text"))); // Initially at top. in testScrollUntil_conditionSatisfied()
694 assertFalse(mDevice.hasObject(By.res(TEST_APP, "bottom_text"))); in testScrollUntil_conditionSatisfied()
700 assertTrue(mDevice.hasObject(By.res(TEST_APP, "bottom_text"))); in testScrollUntil_conditionSatisfied()
[all …]
DMultiDisplayTest.java67 assertFalse(mDevice.hasObject( in testMultiDisplay_selector()
70 mDevice.hasObject(By.res(TEST_APP, "focusable_text_view").displayId( in testMultiDisplay_selector()
75 mDevice.hasObject( in testMultiDisplay_selector()
77 assertTrue(mDevice.hasObject( in testMultiDisplay_selector()
DUiDeviceTest.java73 assertTrue(mDevice.hasObject(By.text("Accessible button"))); in testHasObject()
74 assertFalse(mDevice.hasObject(By.text("non-existent text"))); in testHasObject()
277 assertFalse(mDevice.hasObject(By.desc(APP_NAME))); in testPressRecentApps()
279 assertTrue(mDevice.wait(Until.hasObject(By.desc(APP_NAME)), LONG_TIMEOUT_MS)); in testPressRecentApps()
301 assertTrue(mDevice.wait(Until.hasObject(By.text("Test Notification")), TIMEOUT_MS)); in testOpenNotification()
309 assertTrue(mDevice.wait(Until.hasObject(quickSettings), TIMEOUT_MS)); in testOpenQuickSettings()
433 mDevice.wait(Until.hasObject(By.pkg(TEST_APP)), TIMEOUT_MS)); in testIsScreenOn()
485 assertTrue(mDevice.wait(Until.hasObject(By.pkg(mDevice.getLauncherPackageName())), 5_000)); in testGetLauncherPackageName()
DBaseTest.java87 mDevice.wait(Until.hasObject(By.pkg(TEST_APP)), TIMEOUT_MS)); in launchTestActivity()
DUntilTest.java63 assertTrue(mDevice.wait(Until.hasObject(target), TIMEOUT_MS)); in testHasObject()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DSearchable.java27 boolean hasObject(@NonNull BySelector selector); in hasObject() method
DUntil.java47 return !container.hasObject(selector); in gone()
61 public static @NonNull SearchCondition<Boolean> hasObject(@NonNull BySelector selector) {
65 return container.hasObject(selector);
DUiDevice.java139 public boolean hasObject(@NonNull BySelector selector) { in hasObject() method in UiDevice
DUiObject2.java265 public boolean hasObject(@NonNull BySelector selector) { in hasObject() method in UiObject2
/test/uiautomator/uiautomator/api/
D2.2.0.txt165 method public boolean hasObject(androidx.test.uiautomator.BySelector!);
281 method public boolean hasObject(androidx.test.uiautomator.BySelector!);
401 …method public static androidx.test.uiautomator.SearchCondition<java.lang.Boolean!>! hasObject(andr…
Drestricted_2.2.0.txt165 method public boolean hasObject(androidx.test.uiautomator.BySelector!);
281 method public boolean hasObject(androidx.test.uiautomator.BySelector!);
401 …method public static androidx.test.uiautomator.SearchCondition<java.lang.Boolean!>! hasObject(andr…
Drestricted_2.3.0-beta01.txt193 method public boolean hasObject(androidx.test.uiautomator.BySelector);
327 method public boolean hasObject(androidx.test.uiautomator.BySelector);
451 …method public static androidx.test.uiautomator.SearchCondition<java.lang.Boolean!> hasObject(andro…
D2.3.0-beta01.txt193 method public boolean hasObject(androidx.test.uiautomator.BySelector);
327 method public boolean hasObject(androidx.test.uiautomator.BySelector);
451 …method public static androidx.test.uiautomator.SearchCondition<java.lang.Boolean!> hasObject(andro…
Dcurrent.txt305 method public boolean hasObject(androidx.test.uiautomator.BySelector);
462 method public boolean hasObject(androidx.test.uiautomator.BySelector);
605 …method public static androidx.test.uiautomator.SearchCondition<java.lang.Boolean!> hasObject(andro…
Drestricted_current.txt305 method public boolean hasObject(androidx.test.uiautomator.BySelector);
462 method public boolean hasObject(androidx.test.uiautomator.BySelector);
605 …method public static androidx.test.uiautomator.SearchCondition<java.lang.Boolean!> hasObject(andro…