Home
last modified time | relevance | path

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

/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DDeviceHelpers.kt68 errorProvider: () -> String = { "Object $selector not found" }, in waitForObj()
69 ): UiObject2 = DeviceHelpers.waitForObj(selector, timeout, errorProvider)
81 errorProvider: () -> String = { "Object $selector not found" }, in waitForObj()
83 waitFor("$selector object", timeout, errorProvider) { uiDevice.findObject(selector) } in <lambda>()
93 errorProvider: () -> String = { "Object $selector not found" }, in waitForObj()
94 ): UiObject2 = waitFor("$selector object", timeout, errorProvider) { findObject(selector) } in <lambda>()
190 errorProvider: (() -> String)? = null, in assertVisibility()
192 DeviceHelpers.assertVisibility(selector, visible, timeout, errorProvider) in assertVisibility()
207 errorProvider: (() -> String)? = null, in assertVisibility()
209 ensureThat("$selector is ${visible.asVisibilityBoolean()}", timeout, errorProvider) { in assertVisibility()
[all …]
DWaitUtils.kt65 errorProvider: (() -> String)? = null, in ensureThat()
70 val errorProvider = in ensureThat() constant
71 errorProvider in ensureThat()
80 throw FailedEnsureException(errorProvider()) in ensureThat()
153 errorProvider: () -> String = in waitForValueToSettle()
161 errorProvider, in waitForValueToSettle()
164 ?: error(errorProvider()) in waitForValueToSettle()
193 errorProvider: () -> String = in waitForNullableValueToSettle()
246 error(errorProvider()) in waitForNullableValueToSettle()
311 errorProvider: () -> String = { in waitFor()
[all …]
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/
DSysuiRestarter.kt78 errorProvider = errorMessageProvider in assertLockscreenVisibility()