Searched refs:mockLogger (Results 1 – 2 of 2) sorted by relevance
573 MetricsLogger mockLogger = sOverrides.metricsLogger; in copyTextToClipboardLogging() local583 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in copyTextToClipboardLogging()678 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLogging() local682 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()704 MetricsLogger mockLogger = sOverrides.metricsLogger; in testOnCreateLoggingFromWorkProfile() local708 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()729 MetricsLogger mockLogger = sOverrides.metricsLogger; in testEmptyPreviewLogging() local734 verify(mockLogger, Mockito.times(1)).write(logMakerCaptor.capture()); in testEmptyPreviewLogging()744 MetricsLogger mockLogger = sOverrides.metricsLogger; in testTitlePreviewLogging() local757 verify(mockLogger, Mockito.times(2)).write(logMakerCaptor.capture()); in testTitlePreviewLogging()[all …]
1085 MetricsLogger mockLogger = mock(MetricsLogger.class); in testOrientationChangeLogging() local1092 Mockito.doReturn(mockLogger).when(displayContent).getMetricsLogger(); in testOrientationChangeLogging()1099 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()