Home
last modified time | relevance | path

Searched refs:expectedMessage (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/hdmicec/src/android/hdmicec/cts/
DHdmiCecClientWrapper.java207 public boolean checkConsoleOutput(String expectedMessage) throws Exception { in checkConsoleOutput() argument
208 return checkConsoleOutput(expectedMessage, DEFAULT_TIMEOUT); in checkConsoleOutput()
212 public boolean checkConsoleOutput(String expectedMessage, in checkConsoleOutput() argument
221 if (line.contains(expectedMessage)) { in checkConsoleOutput()
222 CLog.v("Found " + expectedMessage + " in " + line); in checkConsoleOutput()
263 public String checkExpectedOutput(CecOperand expectedMessage) throws Exception { in checkExpectedOutput() argument
264 return checkExpectedOutput(LogicalAddress.BROADCAST, expectedMessage, DEFAULT_TIMEOUT); in checkExpectedOutput()
273 CecOperand expectedMessage) throws Exception { in checkExpectedOutput() argument
274 return checkExpectedOutput(toDevice, expectedMessage, DEFAULT_TIMEOUT); in checkExpectedOutput()
282 public String checkExpectedOutput(CecOperand expectedMessage, in checkExpectedOutput() argument
[all …]
/cts/tests/autofillservice/src/android/autofillservice/cts/
DFillEventHistoryTest.java420 final String expectedMessage = getWelcomeMessage("malkovich"); in testEventsFromPreviousSessionIsDiscarded() local
422 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testEventsFromPreviousSessionIsDiscarded()
445 final String expectedMessage = getWelcomeMessage("malkovich"); in testContextCommitted_whenServiceDidntDoAnything() local
447 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_whenServiceDidntDoAnything()
471 final String expectedMessage = getWelcomeMessage("malkovich"); in textContextCommitted_withoutDatasets() local
473 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in textContextCommitted_withoutDatasets()
526 final String expectedMessage = getWelcomeMessage(BACKDOOR_USERNAME); in testContextCommitted_withoutFlagOnLastResponse() local
528 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_withoutFlagOnLastResponse()
576 final String expectedMessage = getWelcomeMessage("USERNAME"); in testContextCommitted_idlessDatasets() local
578 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testContextCommitted_idlessDatasets()
[all …]
DWelcomeActivity.java102 static void assertShowing(UiBot uiBot, @Nullable String expectedMessage) throws Exception { in assertShowing() argument
104 if (expectedMessage == null) { in assertShowing()
105 expectedMessage = "Welcome to the jungle!"; in assertShowing()
108 .isEqualTo(expectedMessage); in assertShowing()
DLoginActivityTest.java314 final String expectedMessage = getWelcomeMessage("malkovich"); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets() local
316 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutofillAutomaticallyAndSaveAfterServiceReturnedNoDatasets()
1001 final String expectedMessage = getWelcomeMessage("dude"); in testAutoFillOneDatasetAndSave() local
1003 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutoFillOneDatasetAndSave()
1104 final String expectedMessage = getWelcomeMessage("dude"); in testAutoFillOneDatasetAndSaveHidingOverlays() local
1106 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in testAutoFillOneDatasetAndSaveHidingOverlays()
1464 final String expectedMessage = getWelcomeMessage("malkovich"); in saveOnlyTest() local
1466 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in saveOnlyTest()
1525 final String expectedMessage = getWelcomeMessage("malkovich"); in saveGoesAway() local
1527 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in saveGoesAway()
[all …]
DLoginWithStringsActivityTest.java115 final String expectedMessage = getWelcomeMessage("dude");
117 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
DAuthenticationTest.java725 final String expectedMessage = getWelcomeMessage("malkovich"); in fillDatasetAuthWithClientState() local
727 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillDatasetAuthWithClientState()
1013 final String expectedMessage = getWelcomeMessage("malkovich"); in fillResponseAuthServiceHasNoDataTest() local
1015 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillResponseAuthServiceHasNoDataTest()
1105 final String expectedMessage = getWelcomeMessage("malkovich"); in fillResponseAuthWithClientState() local
1107 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage); in fillResponseAuthWithClientState()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerNegativeTest.java62 String expectedMessage, Object... args) in callMethodExpectingSecurityException() argument
81 MoreAsserts.assertContainsRegex(expectedMessage, in callMethodExpectingSecurityException()
89 private void checkAidlCall(String method, String expectedMessage, Object... args) in checkAidlCall() argument
95 expectedMessage, args); in checkAidlCall() local
/cts/tests/tests/net/src/android/net/cts/
DLocalSocketTest.java224 String expectedMessage = Os.strerror(OsConstants.EAGAIN); in testSetSoTimeout_readTimeout() local
225 result.assertThrewIOException(expectedMessage); in testSetSoTimeout_readTimeout()
260 String expectedMessage = Os.strerror(OsConstants.EAGAIN); in testSetSoTimeout_writeTimeout() local
261 result.assertThrewIOException(expectedMessage); in testSetSoTimeout_writeTimeout()
428 void assertThrewIOException(String expectedMessage) { in assertThrewIOException() argument
430 assertEquals("Unexpected exception message", expectedMessage, e.getMessage()); in assertThrewIOException()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/tech/
DNdefTagTester.java70 final NdefMessage expectedMessage = new NdefMessage(expectedRecords); in writeTag() local
71 writeMessage(tag, expectedMessage); in writeTag()
94 NfcUtils.areMessagesEqual(message, expectedMessage)); in writeTag()
/cts/tests/tests/util/src/android/util/cts/
DRangeTest.java150 String expectedMessage = expected ? action : ("not " + action); in verifyAction() local
151 assertEquals("Expected " + needle + " to be " + expectedMessage + " of " + object, in verifyAction()
DRationalTest.java456 String expectedMessage = expected ? action : ("not " + action); in verifyAction() local
457 assertEquals("Expected " + object + " to be " + expectedMessage, in verifyAction()
/cts/tests/autofillservice/src/android/autofillservice/cts/augmented/
DAugmentedLoginActivityTest.java200 final String expectedMessage = getWelcomeMessage("malkovich");
202 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
268 final String expectedMessage = getWelcomeMessage("malkovich");
270 assertWithMessage("Wrong welcome msg").that(actualMessage).isEqualTo(expectedMessage);
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebChromeClientTest.java393 final String expectedMessage = "message" + k; in testOnConsoleMessage() local
395 expectedMessage, in testOnConsoleMessage()