Searched refs:logMakerCaptor (Results 1 – 3 of 3) sorted by relevance
569 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLogging() local572 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLogging()573 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLogging()575 assertThat(logMakerCaptor in testOnCreateLogging()579 assertThat(logMakerCaptor in testOnCreateLogging()583 assertThat(logMakerCaptor in testOnCreateLogging()595 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOnCreateLoggingFromWorkProfile() local598 verify(mockLogger, atLeastOnce()).write(logMakerCaptor.capture()); in testOnCreateLoggingFromWorkProfile()599 assertThat(logMakerCaptor.getAllValues().get(0).getCategory(), in testOnCreateLoggingFromWorkProfile()601 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()
870 ArgumentCaptor<LogMaker> logMakerCaptor = ArgumentCaptor.forClass(LogMaker.class); in testOrientationChangeLogging() local871 verify(mockLogger).write(logMakerCaptor.capture()); in testOrientationChangeLogging()872 assertThat(logMakerCaptor.getValue().getCategory(), in testOrientationChangeLogging()874 assertThat(logMakerCaptor.getValue().getSubtype(), in testOrientationChangeLogging()