Home
last modified time | relevance | path

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

1234567

/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
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 …]
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 …]
DIncidentReportCollectorTest.java91 .testLog(anyString(), any(LogDataType.class), any(InputStreamSource.class)); in setUp()
141 .testLog( in testPullWithIncidentPrefix()
146 .testLog( in testPullWithIncidentPrefix()
163 verify(mInvocationListener, never()).testLog(any(), any(), any()); in testIgnoreOtherFilesProcessed()
181 verify(mInvocationListener).testLog(matches(".*incident.*"), any(), any()); in testIgnoreAndLogFailures()
183 verify(mInvocationListener, never()).testLog(matches(".*processed.*"), any(), any()); in testIgnoreAndLogFailures()
203 .testLog( in testCollectOnTestRunEnd()
208 .testLog( in testCollectOnTestRunEnd()
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()
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()
DLogcatOnFailureCollectorTest.java126 mMockListener.testLog( in testCollect()
162 mMockListener.testLog( in testCollect_legacy()
216 mMockListener.testLog( in testCollect_multiRun()
236 mMockListener.testLog( in testCollect_multiRun()
DDebugHostLogOnFailureCollectorTest.java101 .testLog( in testCollect()
122 .testLog( in testCollect()
158 .testLog( in testCollect_null()
DPagetypeInfoMetricCollectorTest.java66 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
83 verify(mListener).testLog(eq("pagetypeinfo-1"), eq(LogDataType.TEXT), any()); in testCollect()
DMemInfoMetricCollectorTest.java66 .testLog( in setup()
84 verify(mListener).testLog(eq("compact-meminfo-1"), eq(LogDataType.COMPACT_MEMINFO), any()); in testCollect()
/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/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/contrib/src/com/android/media/tests/
DCameraTestMetricsCollectionListener.java115 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() method in CameraTestMetricsCollectionListener.AbstractCameraTestMetricsCollectionListener
116 super.testLog(dataName, dataType, dataStream); in testLog()
117 mListener.testLog(dataName, dataType, dataStream); in testLog()
139 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping()
150 mListener.testLog(logName, LogDataType.TEXT, outputSource); in stopDumping()
/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.java179 logger.testLog("sandbox-config", LogDataType.XML, configFile); in run()
182 logger.testLog("sandbox-context", LogDataType.PB, contextFile); in run()
187 logger.testLog("sandbox-stdout", LogDataType.TEXT, sourceStdOut); in run()
191 logger.testLog("sandbox-stderr", LogDataType.TEXT, sourceStdErr); in run()
358 listener.testLog("sandbox-global-config", LogDataType.XML, source); in prepareConfiguration()
384 listener.testLog("sandbox-parent-config", LogDataType.XML, source); in prepareConfiguration()
510 logger.testLog(f.getName(), LogDataType.HPROF, fileInput); in logAndCleanHeapDump()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
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()
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 …]
/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/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()
/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/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/test_framework/com/android/tradefed/device/metric/
DIonHeapInfoMetricCollector.java51 .testLog( in collectIonAudio()
69 .testLog( in collectIonSystem()

1234567