Searched refs:logMakerCaptor (Results 1 – 3 of 3) sorted by relevance
560 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLogging() local563 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()564 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLogging()566 assertThat(logMakerCaptor in testOnCreateLogging()570 assertThat(logMakerCaptor in testOnCreateLogging()574 assertThat(logMakerCaptor in testOnCreateLogging()586 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLoggingFromWorkProfile() local589 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()590 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLoggingFromWorkProfile()592 assertThat(logMakerCaptor in testOnCreateLoggingFromWorkProfile()[all …]
554 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in forwardToManagedProfile_LoggingTest() local555 verify(activity.getMetricsLogger()).write(logMakerCaptor.capture()); in forwardToManagedProfile_LoggingTest()557 logMakerCaptor.getValue().getCategory()); in forwardToManagedProfile_LoggingTest()559 logMakerCaptor.getValue().getSubtype()); in forwardToManagedProfile_LoggingTest()581 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in forwardToParent_LoggingTest() local582 verify(activity.getMetricsLogger()).write(logMakerCaptor.capture()); in forwardToParent_LoggingTest()584 logMakerCaptor.getValue().getCategory()); in forwardToParent_LoggingTest()586 logMakerCaptor.getValue().getSubtype()); in forwardToParent_LoggingTest()
862 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOrientationChangeLogging() local863 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()864 assertThat(logMakerCaptor.getValue().getCategory(), in testOrientationChangeLogging()866 assertThat(logMakerCaptor.getValue().getSubtype(), in testOrientationChangeLogging()