Home
last modified time | relevance | path

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

123456

/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 …]
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()
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 …]
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()
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()
DBuddyInfoMetricCollectorTest.java65 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
81 verify(mListener).testLog(eq("unusable-index-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()
DGraphicsStatsMetricCollectorTest.java65 .testLog(anyString(), eq(LogDataType.GFX_INFO), any(InputStreamSource.class)); in setup()
81 verify(mListener).testLog(eq("graphics-1"), eq(LogDataType.GFX_INFO), any()); in testCollect()
DTraceMetricCollectorTest.java66 .testLog(anyString(), eq(LogDataType.TEXT), any(InputStreamSource.class)); in setup()
83 verify(mListener).testLog(eq("trace-1"), eq(LogDataType.TEXT), any()); in testCollect()
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()
DAtraceRunMetricCollectorTest.java60 testLog(key, LogDataType.ZIP, source); in setUp()
93 .testLog(Mockito.eq("sdcard/srcdirectory"), Mockito.eq(LogDataType.ZIP), in testPullMatchingDirectoryKey()
/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 …]
/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/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/test_framework/com/android/tradefed/device/metric/
DIonHeapInfoMetricCollector.java51 .testLog( in collectIonAudio()
69 .testLog( in collectIonSystem()
/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/result/
DNameMangleListener.java146 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() method in NameMangleListener
147 mListener.testLog(dataName, dataType, dataStream); in testLog()
/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/testtype/python/
DPythonBinaryHostTestTest.java135 mMockListener.testLog( in testRun()
171 mMockListener.testLog( in testRun_failWithIncludeFilters()
233 mMockListener.testLog( in testRun_withIncludeFilters()
294 mMockListener.testLog( in testRun_withExcludeFilters()
335 mMockListener.testLog( in testRun_withAdbPath()
380 mMockListener.testLog( in testRun_withSharedLibInHostTestsDir()
425 mMockListener.testLog( in testRun_withSharedLib()
461 mMockListener.testLog( in testRunFail_exception()
510 mMockListener.testLog( in testRunFail_failureOnly()
563 mMockListener.testLog( in testRun_useTestOutputFileOptionSet_logsErrorOutput()
[all …]
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/log/
DITestLogger.java45 default public void testLog(String dataName, LogDataType dataType, in testLog() method
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DTestFailureListener.java103 mLogger.testLog(dataName, dataType, dataStream); in testLogForward()
107 public void testLog(String dataName, LogDataType dataType, InputStreamSource dataStream) { in testLog() method in TestFailureListener
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DCodeCoverageTest.java83 listener.testLog( in run()
94 listener.testLog( in run()
/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