/tools/tradefederation/core/javatests/com/android/tradefed/log/ |
D | SimpleFileLoggerTest.java | 52 private SimpleFileLogger mLogger; field in SimpleFileLoggerTest 57 mLogger = new SimpleFileLogger(); in setUp() 58 OptionSetter setter = new OptionSetter(mLogger); in setUp() 64 if (mLogger != null) { in tearDown() 65 mLogger.closeLog(); in tearDown() 72 mLogger.init(); in testPrintLog() 73 mLogger.printLog(LogLevel.DEBUG, LOG_TAG, "debug"); in testPrintLog() 74 mLogger.printLog(LogLevel.INFO, LOG_TAG, "info"); in testPrintLog() 75 mLogger.printLog(LogLevel.WARN, LOG_TAG, "warn"); in testPrintLog() 76 mLogger.printLog(LogLevel.ERROR, LOG_TAG, "error"); in testPrintLog() [all …]
|
D | HistoryLoggerTest.java | 34 private HistoryLogger mLogger; field in HistoryLoggerTest 40 if (mLogger != null) { in tearDown() 41 mLogger.closeLog(); in tearDown() 54 mLogger = in testLogEvent() 62 mLogger.init(); in testLogEvent() 63 mLogger.logEvent(LogLevel.INFO, EventType.INVOCATION_END, expectedArgs); in testLogEvent() 74 mLogger = in testLogEvent_nullArgs() 82 mLogger.init(); in testLogEvent_nullArgs() 83 mLogger.logEvent(LogLevel.INFO, EventType.INVOCATION_END, null); in testLogEvent_nullArgs()
|
/tools/tradefederation/core/javatests/com/android/tradefed/retry/ |
D | ResultAggregatorTest.java | 61 @Mock ILogSaver mLogger; field in ResultAggregatorTest 129 when(mLogger.saveLogData( in testForwarding() 134 when(mLogger.saveLogData( in testForwarding() 144 mAggregator.setLogSaver(mLogger); in testForwarding() 175 inOrderAgg.verify(mAggListener).setLogSaver(mLogger); in testForwarding() 177 inOrder.verify(mDetailedListener).setLogSaver(mLogger); in testForwarding() 267 when(mLogger.saveLogData( in testForwarding_emptyModule() 272 when(mLogger.saveLogData( in testForwarding_emptyModule() 282 mAggregator.setLogSaver(mLogger); in testForwarding_emptyModule() 301 inOrderAgg.verify(mAggListener).setLogSaver(mLogger); in testForwarding_emptyModule() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | ActivityStatusChecker.java | 31 private ITestLogger mLogger; field in ActivityStatusChecker 62 mLogger.testLog("status_checker_front_activity", LogDataType.JPEG, screen); in isFrontActivityLauncher() 76 mLogger = testLogger; in setTestLogger()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | RecoveryLogPreparer.java | 40 private ITestLogger mLogger; field in RecoveryLogPreparer 44 mLogger = testLogger; in setTestLogger() 64 mLogger.testLog(RECOVERY_LOG_NAME, LogDataType.RECOVERY_MODE_LOG, source); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ReportPassedTests.java | 41 private ITestLogger mLogger; field in ReportPassedTests 48 mLogger = logger; in setLogger() 131 if (mLogger == null || mPassedTests == null) { in createPassedLog() 155 mLogger.testLog(PASSED_TEST_LOG, LogDataType.PASSED_TESTS, source); in testLog()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/cloud/ |
D | GceSshTunnelMonitorTest.java | 64 private ITestLogger mLogger; field in GceSshTunnelMonitorTest 83 mLogger = Mockito.mock(ITestLogger.class); in setUp() 89 mMonitor.logSshTunnelLogs(mLogger); in tearDown()
|
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/ |
D | TestDiscoveryInvoker.java | 78 private ITestLogger mLogger; field in TestDiscoveryInvoker 132 mLogger = logger; in setTestLogger() 272 if (mLogger != null) { in discoverTestDependencies() 273 mLogger.testLog("discovery-trace", LogDataType.PERFETTO, source); in discoverTestDependencies() 398 if (mLogger != null) { in discoverTestMappingDependencies() 399 mLogger.testLog("discovery-trace", LogDataType.PERFETTO, source); in discoverTestMappingDependencies()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | ReportPassedTestsTest.java | 46 private ITestLogger mLogger; field in ReportPassedTestsTest 64 mLogger = Mockito.mock(ITestLogger.class); in setUp() 65 mReporter.setLogger(mLogger); in setUp()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | RunHostCommandTargetPreparer.java | 115 private ITestLogger mLogger; field in RunHostCommandTargetPreparer 162 mLogger = testLogger; in setTestLogger() 238 mLogger.testLog(log.getName(), LogDataType.TEXT, log.getInputStreamSource()); in tearDown()
|