Home
last modified time | relevance | path

Searched refs:testLog (Results 1 – 25 of 150) sorted by relevance

123456

/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DDeviceFileReporterTest.java94 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testSimple()
119 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testTrim()
149 mListener.testLog( in testLine_containingSpace()
151 mListener.testLog( in testLine_containingSpace()
153 mListener.testLog( in testLine_containingSpace()
184 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testLineEnding_LF()
212 mListener.testLog(EasyMock.eq(filename), EasyMock.eq(LogDataType.UNKNOWN), in testLineEnding_CRLF()
260 mListener.testLog(EasyMock.eq(pngFilename), EasyMock.eq(LogDataType.PNG), in testRepeat_skip()
267 mListener.testLog(EasyMock.eq(xmlFilename), EasyMock.eq(LogDataType.UNKNOWN), in testRepeat_skip()
318 mListener.testLog(EasyMock.eq(pngFilename), EasyMock.eq(LogDataType.PNG), in testRepeat_noSkip()
[all …]
DBugreportCollectorTest.java174 mMockListener.testLog(EasyMock.contains("bug-FAILED-FooTest__testName1."), in testTestFailed()
177 mMockListener.testLog(EasyMock.contains("bug-FAILED-FooTest__testName2."), in testTestFailed()
195 mMockListener.testLog(EasyMock.contains("bug-FooTest__testName1."), in testTestEnded()
198 mMockListener.testLog(EasyMock.contains("bug-FooTest__testName2."), in testTestEnded()
218 mMockListener.testLog(EasyMock.contains("bug-FooTest__testName1."), in testWaitForDevice()
221 mMockListener.testLog(EasyMock.contains("bug-FooTest__testName2."), in testWaitForDevice()
239 mMockListener.testLog(EasyMock.contains("bug-FooTest__testName1."), in testTestEnded_firstCase()
242 mMockListener.testLog(EasyMock.contains("bug-FooTest__testName2."), in testTestEnded_firstCase()
260 mMockListener.testLog(EasyMock.contains(pred.toString()), in testTestEnded_firstRun()
278 mMockListener.testLog(EasyMock.contains(pred.toString()), in testTestRunEnded()
[all …]
DSubprocessResultsReporterTest.java231 public void testLog( in testTestLog()
244 mReporter.testLog("foo", LogDataType.TEXT, logStreamSource); in testTestLog()
260 public void testLog( in testTestLog_disabled()
272 mReporter.testLog("foo", LogDataType.TEXT, logStreamSource); in testTestLog_disabled()
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/
DBasePostProcessorTest.java238 listener.testLog( in testRunLogsPostProcessing_processRunLogs()
277 listener.testLog( in testRunLevelPostProcessing_processRunLogsOnly()
282 listener.testLog( in testRunLevelPostProcessing_processRunLogsOnly()
287 listener.testLog( in testRunLevelPostProcessing_processRunLogsOnly()
292 listener.testLog( in testRunLevelPostProcessing_processRunLogsOnly()
357 listener.testLog( in testPerTestLogPostProcessing_processTestLogs()
361 listener.testLog( in testPerTestLogPostProcessing_processTestLogs()
409 listener.testLog( in testPerTestLogPostProcessing_processTestLogsOnly()
414 listener.testLog( in testPerTestLogPostProcessing_processTestLogsOnly()
454 listener.testLog( in testPerTestPostProcessing_logToTestAssociation()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DAtraceCollectorTest.java301 mMockTestLogger.testLog( in testUploadsLogWithCompression()
325 mMockTestLogger.testLog( in testUploadsLogWithoutCompression()
362 mMockTestLogger.testLog( in testMultipleDeviceBehavior()
400 mMockTestLogger.testLog( in testExecutesPostProcessPar()
441 mMockTestLogger.testLog( in testExecutesPostProcessParDifferentFormat()
480 mMockTestLogger.testLog( in testExecutesPostProcessParNoStderr()
521 mMockTestLogger.testLog( in testExecutesPostProcessParFailed()
561 mMockTestLogger.testLog( in testExecutesPostProcessParTimeout()
596 mMockTestLogger.testLog( in testProcessesMetricOutput()
601 mMockTestLogger.testLog( in testProcessesMetricOutput()
[all …]
DFilePullerDeviceMetricCollectorTest.java52 testLog(key, LogDataType.TEXT, source); in setUp()
60 testLog(key, LogDataType.TEXT, source); in setUp()
94 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKey()
120 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMultipleMatchingKeyInMetrics()
122 .testLog(Mockito.eq("coverageFileAnother"), Mockito.eq(LogDataType.TEXT), in testPullMultipleMatchingKeyInMetrics()
145 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPullMatchingKeyPattern()
168 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testMetricFileProcessingFlow()
169 verify(mMockListener, times(1)).testLog(Mockito.eq("coverageFile"), in testMetricFileProcessingFlow()
172 verify(mMockListener, times(2)).testLog(Mockito.eq("coverageFile"), in testMetricFileProcessingFlow()
191 .testLog(Mockito.eq("coverageFile"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testPatternNotMatching()
[all …]
DIncidentReportCollectorTest.java85 .testLog(anyString(), any(LogDataType.class), any(InputStreamSource.class)); in setUp()
135 .testLog( in testPullWithIncidentPrefix()
140 .testLog( in testPullWithIncidentPrefix()
157 verify(mInvocationListener, never()).testLog(any(), any(), any()); in testIgnoreOtherFilesProcessed()
175 verify(mInvocationListener).testLog(matches(".*incident.*"), any(), any()); in testIgnoreAndLogFailures()
177 verify(mInvocationListener, never()).testLog(matches(".*processed.*"), any(), any()); in testIgnoreAndLogFailures()
DDumpHeapCollectorTest.java77 .testLog(anyString(), any(LogDataType.class), any(InputStreamSource.class)); in setup()
123 .testLog(dataNameCaptor.capture(), dataTypeCaptor.capture(), inputCaptor.capture()); in testCollect_success()
158 .testLog(dataNameCaptor.capture(), dataTypeCaptor.capture(), inputCaptor.capture()); in testCollectSuccess_thresholdTooHigh()
180 .testLog(dataNameCaptor.capture(), dataTypeCaptor.capture(), inputCaptor.capture()); in testCollectNoError_processNotFound()
DLogcatOnFailureCollectorTest.java126 mMockListener.testLog( in testCollect()
162 mMockListener.testLog( in testCollect_legacy()
216 mMockListener.testLog( in testCollect_multiRun()
236 mMockListener.testLog( in testCollect_multiRun()
DIonHeapInfoMetricCollectorTest.java66 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
87 verify(mListener).testLog(eq("ion-system-2"), eq(LogDataType.TEXT), any()); in testCollect()
88 verify(mListener).testLog(eq("ion-audio-1"), eq(LogDataType.TEXT), any()); in testCollect()
DBaseDeviceMetricCollectorTest.java83 mBase.testLog("dataname", LogDataType.TEXT, new ByteArrayInputStreamSource("".getBytes())); in testInitAndForwarding()
102 .testLog(Mockito.eq("dataname"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testInitAndForwarding()
172 mBase.testLog("dataname", LogDataType.TEXT, new ByteArrayInputStreamSource("".getBytes())); in testForwarding_withException()
189 .testLog(Mockito.eq("dataname"), Mockito.eq(LogDataType.TEXT), Mockito.any()); in testForwarding_withException()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java136 mMockListener.testLog( in testRun()
140 mMockListener.testLog( in testRun()
176 mMockListener.testLog( in testRun_failWithIncludeFilters()
238 mMockListener.testLog( in testRun_withIncludeFilters()
299 mMockListener.testLog( in testRun_withExcludeFilters()
340 mMockListener.testLog( in testRun_withAdbPath()
385 mMockListener.testLog( in testRun_withSharedLibInHostTestsDir()
430 mMockListener.testLog( in testRun_withSharedLib()
466 mMockListener.testLog( in testRunFail_exception()
515 mMockListener.testLog( in testRunFail_failureOnly()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DTestInvocationTest.java836 logSaverListener.testLog( in testInvoke_logFileSaved()
847 logSaverListener.testLog( in testInvoke_logFileSaved()
858 logSaverListener.testLog( in testInvoke_logFileSaved()
869 logSaverListener.testLog( in testInvoke_logFileSaved()
1136 mMockTestListener.testLog( in setupMockListeners()
1140 mMockSummaryListener.testLog( in setupMockListeners()
1180 mMockTestListener.testLog( in setupMockListeners()
1184 mMockSummaryListener.testLog( in setupMockListeners()
1207 mMockTestListener.testLog( in setupMockListeners()
1211 mMockSummaryListener.testLog( in setupMockListeners()
[all …]
DShardListenerTest.java239 mockListener.testLog( in testLogOrderingForSharding()
254 mockListener.testLog( in testLogOrderingForSharding()
281 mockListener.testLog( in testLogOrderingForSharding()
330 shardedInvocation.testLog( in testLogOrderingForSharding()
333 shardedInvocation.testLog( in testLogOrderingForSharding()
339 shardedInvocation.testLog( in testLogOrderingForSharding()
DTestInvocationMultiTest.java206 mMockTestListener.testLog(EasyMock.anyObject(), EasyMock.anyObject(), EasyMock.anyObject()); in testRunBuildProvider_oneMiss()
305 mMockTestListener.testLog(EasyMock.anyObject(), EasyMock.anyObject(), EasyMock.anyObject()); in testResolveDynamicFails()
375 mMockTestListener.testLog(EasyMock.anyObject(), EasyMock.anyObject(), EasyMock.anyObject()); in testRunBuildProvider_oneThrow()
465 mMockTestListener.testLog(EasyMock.anyObject(), EasyMock.anyObject(), EasyMock.anyObject()); in testRunBuildProvider_cleanUpThrow()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJavaCodeCoverageListenerTest.java134 .testLog(anyString(), eq(LogDataType.COVERAGE), eq(COVERAGE_MEASUREMENT)); in testRunEnded_rootEnabled_logsCoverageMeasurement()
151 .testLog(anyString(), eq(LogDataType.COVERAGE), any(InputStreamSource.class)); in testFailure_noCoverageMetric()
170 .testLog(anyString(), eq(LogDataType.COVERAGE), any(InputStreamSource.class)); in testFailure_unableToPullFile()
273 verify(mFakeListener).testLog(anyString(), eq(LogDataType.COVERAGE), stream.capture()); in testMerge_producesSingleMeasurement()
386 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() method in JavaCodeCoverageListenerTest.LogFileReader
388 testLog(dataName, dataType, ByteString.readFrom(input)); in testLog()
395 public void testLog(String dataName, LogDataType dataType, ByteString data) {} in testLog() method in JavaCodeCoverageListenerTest.LogFileReader
DFakeTestTest.java204 File testLog = mTempFolder.newFile("test.log"); in testRun_withLogging() local
210 testPassExpectations(mListener, name, 1, testLog.getName()); in testRun_withLogging()
211 mListener.testLog( in testRun_withLogging()
216 mListener.testLog( in testRun_withLogging()
224 mOption.setOptionValue("test-log", testLog.getAbsolutePath()); in testRun_withLogging()
316 l.testLog(EasyMock.eq(log), EasyMock.eq(LogDataType.UNKNOWN), EasyMock.anyObject()); in testPassExpectations()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java183 logger.testLog("sandbox-config", LogDataType.XML, configFile); in run()
186 logger.testLog("sandbox-context", LogDataType.PB, contextFile); in run()
191 logger.testLog("sandbox-stdout", LogDataType.TEXT, sourceStdOut); in run()
195 logger.testLog("sandbox-stderr", LogDataType.TEXT, sourceStdErr); in run()
362 listener.testLog("sandbox-global-config", LogDataType.XML, source); in prepareConfiguration()
388 listener.testLog("sandbox-parent-config", LogDataType.XML, source); in prepareConfiguration()
514 logger.testLog(f.getName(), LogDataType.HPROF, fileInput); in logAndCleanHeapDump()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java344 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() method in CameraTestBase.AbstractCollectingListener
345 super.testLog(dataName, dataType, dataStream); in testLog()
346 mListener.testLog(dataName, dataType, dataStream); in testLog()
368 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping()
379 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping()
724 listener.testLog(fileName, LogDataType.TEXT, in dumpIonHeaps()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDeviceTest.java334 mTestLogger.testLog( in testPostInvocationTearDown()
429 mTestLogger.testLog( in testLaunchGce_nullPort()
551 mTestLogger.testLog( in testDeviceNotStoreShutdownState()
649 mTestLogger.testLog( in testDevice_skipTearDown()
746 mTestLogger.testLog( in testDeviceBoot_offline()
755 mTestLogger.testLog( in testDeviceBoot_offline()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteStub.java98 listener.testLog( in testAttempt()
113 listener.testLog( in testAttempt()
127 listener.testLog( in testAttempt()
136 listener.testLog( in testAttempt()
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java288 mListener.testLog(logName, LogDataType.BUGREPORT, bugreport); in grabBugreport()
522 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() method in BugreportCollector
523 mListener.testLog(dataName, dataType, dataStream); in testLog()
524 mCollector.testLog(dataName, dataType, dataStream); in testLog()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DLocalAndroidVirtualDeviceTest.java293 testLogger.testLog( in mockReportInstanceLogs()
297 testLogger.testLog( in mockReportInstanceLogs()
301 testLogger.testLog( in mockReportInstanceLogs()
303 testLogger.testLog( in mockReportInstanceLogs()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryTestTest.java353 mMockInvocationListener.testLog( in testNativeCoverageAllProcesses()
357 mMockInvocationListener.testLog( in testNativeCoverageAllProcesses()
454 mMockInvocationListener.testLog( in testNativeCoverageSpecificProcesses()
458 mMockInvocationListener.testLog( in testNativeCoverageSpecificProcesses()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DTarUtilTest.java141 listener.testLog(EasyMock.eq(baseName), EasyMock.eq(LogDataType.TAR_GZ), in testExtractAndLog()
144 listener.testLog(EasyMock.eq(baseName + "_TEST.log"), EasyMock.eq(LogDataType.TEXT), in testExtractAndLog()
146 listener.testLog(EasyMock.eq(baseName + "_TEST2.log"), EasyMock.eq(LogDataType.TEXT), in testExtractAndLog()

123456