Searched refs:expectedLog (Results 1 – 2 of 2) sorted by relevance
54 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsLogged()55 assertExpectedMetricLogged(data, expectedLog); in assertMetricsLogged()77 for (DevicePolicyEventWrapper expectedLog : expectedLogs) { in assertMetricsNotLogged()78 assertExpectedMetricNotLogged(data, expectedLog); in assertMetricsNotLogged()86 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricLogged() argument88 .that(isExpectedMetricLogged(data, expectedLog)).isTrue(); in assertExpectedMetricLogged()92 DevicePolicyEventWrapper expectedLog) { in assertExpectedMetricNotLogged() argument94 .that(isExpectedMetricLogged(data, expectedLog)).isFalse(); in assertExpectedMetricNotLogged()98 DevicePolicyEventWrapper expectedLog) { in isExpectedMetricLogged() argument103 if (actualLog.getEventId() == expectedLog.getEventId()) { in isExpectedMetricLogged()[all …]
134 final String expectedLog = in testAppLaunchIsLogged() local137 assertLogsContain(deviceLogs, expectedLog); in testAppLaunchIsLogged()220 final String expectedLog = in testAppFullyDrawnReportIsLogged() local223 assertLogsContain(deviceLogs, expectedLog); in testAppFullyDrawnReportIsLogged()509 private void assertLogsContain(String[] logs, String expectedLog) { in assertLogsContain() argument511 if (line.contains(expectedLog)) { in assertLogsContain()515 fail("Expected to find '" + expectedLog + "' in " + Arrays.toString(logs)); in assertLogsContain()