Searched refs:expectedLog (Results 1 – 2 of 2) sorted by relevance
56 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsLogged()57 assertExpectedMetricLogged(data, expectedLog); in assertMetricsLogged()65 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricLogged() argument70 if (actualLog.getEventId() == expectedLog.getEventId()) { in assertExpectedMetricLogged()73 return Objects.equals(actualLog, expectedLog); in assertExpectedMetricLogged()76 .that(closestMatches).contains(expectedLog); in assertExpectedMetricLogged()
122 final String expectedLog = in testAppLaunchIsLogged() local125 assertLogsContain(deviceLogs, expectedLog); in testAppLaunchIsLogged()206 final String expectedLog = in testAppFullyDrawnReportIsLogged() local209 assertLogsContain(deviceLogs, expectedLog); in testAppFullyDrawnReportIsLogged()423 private void assertLogsContain(String[] logs, String expectedLog) { in assertLogsContain() argument425 if (line.contains(expectedLog)) { in assertLogsContain()429 fail("Expected to find '" + expectedLog + "' in " + Arrays.toString(logs)); in assertLogsContain()