Home
last modified time | relevance | path

Searched refs:failWithMessage (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/
DInputTestCase.java140 failWithMessage("Did not receive " + expectedKeyEvent); in assertReceivedKeyEvent()
173 failWithMessage("Did not receive " + expectedEvent); in assertReceivedMotionEvent()
176 failWithMessage("expected each MotionEvent to only have a single entry"); in assertReceivedMotionEvent()
256 failWithMessage("extraneous events generated: " + event); in assertNoMoreEvents()
271 failWithMessage("Received unexpected event " + event); in verifyFirstEvents()
287 failWithMessage("Assertion on entry " + i + " failed: " + error); in verifyFirstEvents()
289 failWithMessage("Entry " + i + " is neither a KeyEvent nor a MotionEvent: " + event); in verifyFirstEvents()
297 failWithMessage(" : Received unexpected KeyEvent " + event); in verifyNoKeyEvents()
307 failWithMessage("unexpectedly interrupted while waiting for InputEvent"); in waitForEvent()
402 private void failWithMessage(String message) { in failWithMessage() method in InputTestCase
[all …]
/cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
DBaseShortcutManagerHostTest.java241 failWithMessage(message, "expected not to match regex:<" + expectedRegex in failMatch()
245 private void failWithMessage(String userMessage, String ourMessage) { in failWithMessage() method in BaseShortcutManagerHostTest
254 failWithMessage(message, "expected to contain regex:<" + expectedRegex in failNotContains()