/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 139 listener.testRunEnded(1, EMPTY_STRING_MAP); in testRun() 161 inOrder.verify(mMockListener).testRunEnded(1, EMPTY_STRING_MAP); in testRun() 261 listener.testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerunEmpty() 291 listener.testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerun() 301 listener.testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerun() 310 listener.testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerun() 328 inOrder.verify(mMockListener).testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerun() 335 inOrder.verify(mMockListener).testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerun() 356 listener.testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerunCoverage() 366 listener.testRunEnded(1, EMPTY_STRING_MAP); in testRun_rerunCoverage() [all …]
|
D | InstrumentationFileTestTest.java | 104 listener.testRunEnded(0, Collections.emptyMap()); in testRun_singleSuccessfulTest() 134 mMockListener.testRunEnded(0, new HashMap<String, Metric>()); in testRun_singleSuccessfulTest() 165 listener.testRunEnded(1, Collections.emptyMap()); in testRun_reRunOneFailedToCompleteTest() 184 listener.testRunEnded(1, Collections.emptyMap()); in testRun_reRunOneFailedToCompleteTest() 189 listener.testRunEnded(1, Collections.emptyMap()); in testRun_reRunOneFailedToCompleteTest() 220 mMockListener.testRunEnded(1, new HashMap<String, Metric>()); in testRun_reRunOneFailedToCompleteTest() 229 mMockListener.testRunEnded(1, new HashMap<String, Metric>()); in testRun_reRunOneFailedToCompleteTest() 234 mMockListener.testRunEnded(1, new HashMap<String, Metric>()); in testRun_reRunOneFailedToCompleteTest() 280 listener.testRunEnded(1, Collections.emptyMap()); in testRun_serialReRunOfTwoFailedToCompleteTests() 297 listener.testRunEnded(1, Collections.emptyMap()); in testRun_serialReRunOfTwoFailedToCompleteTests() [all …]
|
D | DeviceTestCaseTest.java | 116 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_suite() 138 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_includeFilter() 158 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_excludeFilter() 181 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_includeAnnotationFiltering() 201 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_checkAnnotation() 229 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_excludeAnnotationFiltering() 249 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_singleTest() 270 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_deviceNotAvail() 295 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcaseCollectMode() 314 listener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcaseCollectMode_singleMethod() [all …]
|
D | FakeTestTest.java | 141 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_empty() 154 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_simplePass() 167 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_simpleFail() 183 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_basicSequence() 200 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_basicParens() 225 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_recursiveParens() 240 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testMultiRun() 247 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testMultiRun() 253 mListener.testRunEnded(EasyMock.eq(0l), EasyMock.<HashMap<String, Metric>>anyObject()); in testMultiRun()
|
D | NoisyDryRunTestTest.java | 66 mMockListener.testRunEnded(EasyMock.eq(0l), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun() 76 mMockListener.testRunEnded(EasyMock.eq(0l), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun() 97 mMockListener.testRunEnded(EasyMock.eq(0l), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_withKeystore() 105 mMockListener.testRunEnded(EasyMock.eq(0l), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_withKeystore() 123 mMockListener.testRunEnded(EasyMock.eq(0l), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_invalidCmdFile() 141 mMockListener.testRunEnded(EasyMock.eq(0l), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_invalidCmdLine() 152 mMockListener.testRunEnded(EasyMock.eq(0l), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_invalidCmdLine()
|
D | InstrumentationSerialTestTest.java | 71 listener.testRunEnded(0, new HashMap<String, Metric>()); in testRun() 91 mMockListener.testRunEnded(0, new HashMap<String, Metric>()); in testRun() 118 listener.testRunEnded(0, new HashMap<String, Metric>()); in testRun_runFailure() 137 mMockListener.testRunEnded(0, new HashMap<String, Metric>()); in testRun_runFailure() 139 mMockListener.testRunEnded(0, new HashMap<String, Metric>()); in testRun_runFailure()
|
D | GTestXmlResultParserTest.java | 90 mockRunListener.testRunEnded( in testParseSimpleFile() 119 mockRunListener.testRunEnded( in testParseLargerFile() 157 mockRunListener.testRunEnded( in testParseWithFailures() 182 mockRunListener.testRunEnded( in testParseWithEmptyFile() 213 mockRunListener.testRunEnded( in testParseUnexpectedNumberTest() 245 mockRunListener.testRunEnded( in testParseSimpleFile_badXmltag() 278 mockRunListener.testRunEnded( in testParseWithEmptyFile_AdditionalOutput()
|
D | GTestResultParserTest.java | 49 mockRunListener.testRunEnded( in testParseSimpleFile() 75 mockRunListener.testRunEnded( in testParseSimpleFileNoTimes() 93 mockRunListener.testRunEnded(EasyMock.anyLong(), EasyMock.eq(expected)); in testParseNoTests() 118 mockRunListener.testRunEnded( in testParseLargerFile() 181 mockRunListener.testRunEnded( in testParseWithFailures() 234 mockRunListener.testRunEnded( in testParseWithErrors() 259 mockRunListener.testRunEnded( in testParseNonAlignedTag() 311 mockRunListener.testRunEnded( in testParseSimpleFile_AltFormat() 329 mockRunListener.testRunEnded( in testParseSimpleFile_LinkError()
|
D | HostTestTest.java | 468 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcase() 494 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_MetricTestCase() 519 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_LogMetricTestCase() 555 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_MetricTestCase_withOption() 574 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testSuite() 593 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testHierarchySuite() 610 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testMethod() 699 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_multipleClass() 705 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_multipleClass() 745 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_deviceTest() [all …]
|
D | CodeCoverageListenerTest.java | 97 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, TfMetricProtoUtil.upgradeConvert(metric)); in test() 108 mCodeCoverageListener.testRunEnded(ELAPSED_TIME, new HashMap<String, Metric>()); in testFailure_noCoverageMetric() 129 mCodeCoverageListener.testRunEnded( in testFailure_unableToPullFile()
|
D | GTestListTestParserTest.java | 48 mockRunListener.testRunEnded( in testParseSimpleList() 74 mockRunListener.testRunEnded( in testParseMultiClassList() 123 mockRunListener.testRunEnded( in testParseSimpleList_withSpecialChar()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 55 mListener.testRunEnded(0, new HashMap<String, Metric>()); in testRegularExecution() 69 mListener.testRunEnded(0, new HashMap<String, Metric>()); in testRun_missingTests() 87 mListener.testRunEnded(0, new HashMap<String, Metric>()); in testInternalRerun() 96 mListener.testRunEnded(0, new HashMap<String, Metric>()); in testInternalRerun() 112 mListener.testRunEnded(0, new HashMap<String, Metric>()); in testMultiTestRun() 120 mListener.testRunEnded(0, new HashMap<String, Metric>()); in testMultiTestRun()
|
D | ModuleDefinitionTest.java | 130 listener.testRunEnded(0, new HashMap<String, Metric>()); in run() 231 mMockListener.testRunEnded( in testRun() 253 mMockListener.testRunEnded( in testRun_disabledPreparation() 279 mMockListener.testRunEnded( in testRun_disabledTearDown() 316 mMockListener.testRunEnded( in testRun_failPreparation() 360 mMockListener.testRunEnded( in testRun_fullPass() 407 mMockListener.testRunEnded( in testRun_partialRun() 524 listener.testRunEnded(0, new HashMap<String, Metric>()); in testModuleController_skipTestCases() 546 mMockListener.testRunEnded( in testModuleController_skipTestCases() 629 mMockLogSaverListener.testRunEnded( in testModule_LogSaverResultForwarder() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | CodeCoverageListener.java | 57 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() method in CodeCoverageListener 62 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded() 68 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded() 84 super.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardListenerTest.java | 68 mMockListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay() 76 mShardListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay() 92 mMockListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 96 mMockListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 103 mMockListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 114 mShardListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 118 mShardListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 125 mShardListener.testRunEnded(0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 181 mockListener.testRunEnded(0l, new HashMap<String, Metric>()); in testLogOrderingForSharding() 209 shardedInvocation.testRunEnded(0l, new HashMap<String, Metric>()); in testLogOrderingForSharding()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 101 result.testRunEnded(0, new HashMap<String, Metric>()); in testMultiRun() 110 result.testRunEnded(0, new HashMap<String, Metric>()); in testMultiRun() 211 result1.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck() 219 result2.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck() 226 result3.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck() 265 result1.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_checkMergingStackTraces() 271 result2.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_checkMergingStackTraces() 276 result3.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_checkMergingStackTraces() 282 result4.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_checkMergingStackTraces() 310 result1.testRunEnded(0, new HashMap<String, Metric>()); in testMergeRetriedRunResults_RaiseErrorIfDiffTests() [all …]
|
D | ConsoleResultReporterTest.java | 57 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(metrics)); in testGetInvocationSummary_test_run_metrics() 81 reporter.testRunEnded(0, new HashMap<String, Metric>()); in testGetInvocationSummary_test_metrics() 156 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(run1Metrics)); in testGetInvocationSummary_all() 177 reporter.testRunEnded(0, EMPTY_MAP); in testGetInvocationSummary_all() 183 reporter.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(run3Metrics)); in testGetInvocationSummary_all() 186 reporter.testRunEnded(0, EMPTY_MAP); in testGetInvocationSummary_all()
|
D | CollectingTestListenerTest.java | 78 mCollectingTestListener.testRunEnded(0, new HashMap<String, Metric>()); in testRunFailed() 91 mCollectingTestListener.testRunEnded(0, new HashMap<String, Metric>()); in testRunFailed_counting() 93 mCollectingTestListener.testRunEnded(0, new HashMap<String, Metric>()); in testRunFailed_counting() 96 mCollectingTestListener.testRunEnded(0, new HashMap<String, Metric>()); in testRunFailed_counting() 166 mCollectingTestListener.testRunEnded(0, new HashMap<String, Metric>()); in testSingleRun_incomplete() 277 mCollectingTestListener.testRunEnded(0, TfMetricProtoUtil.upgradeConvert(runMetrics)); in injectTestRun()
|
D | MetricsXMLResultReporterTest.java | 84 mResultReporter.testRunEnded(3, TfMetricProtoUtil.upgradeConvert(map)); in testRunMetrics() 111 mResultReporter.testRunEnded(3, new HashMap<String, Metric>()); in testTestMetrics() 137 mResultReporter.testRunEnded(3, new HashMap<String, Metric>()); in testTestFailMetrics()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 66 public default void testRunEnded(long elapsedTimeMillis, Map<String, String> runMetrics) { in testRunEnded() method 67 testRunEnded(elapsedTimeMillis, TfMetricProtoUtil.upgradeConvert(runMetrics)); in testRunEnded() 77 public default void testRunEnded(long elapsedTimeMillis, HashMap<String, Metric> runMetrics) {} in testRunEnded() method
|
D | TextResultReporter.java | 69 public void testRunEnded(long elapsedTime, HashMap<String, Metric> metrics) { in testRunEnded() method in TextResultReporter 70 super.testRunEnded(elapsedTime, metrics); in testRunEnded()
|
D | NameMangleListener.java | 96 public void testRunEnded(long elapsedTime, HashMap<String, Metric> runMetrics) { in testRunEnded() method in NameMangleListener 97 mListener.testRunEnded(elapsedTime, runMetrics); in testRunEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerDeviceMetricCollectorTest.java | 80 mFilePuller.testRunEnded(500, new HashMap<String, Metric>()); in testNoMatchingKey() 98 mFilePuller.testRunEnded(500, currentMetrics); in testPullMatchingKey() 120 mFilePuller.testRunEnded(500, currentMetrics); in testPullMatchingKeyPattern() 136 mFilePuller.testRunEnded(500, currentMetrics); in testPatternNotMatching() 159 mFilePuller.testRunEnded(500, currentMetrics); in testPullMatchingDirectory()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | DeviceParameterizedRunnerTest.java | 127 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun() 157 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_collectOnly() 178 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_method() 200 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_method_collectOnly() 225 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_excludeFilter_paramMethod() 249 mListener.testRunEnded(EasyMock.anyLong(), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_ignored()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/ |
D | TestsPoolPollerTest.java | 111 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testPollingRun() 142 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testRun_runtimeException() 173 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testRun_deviceUnresponsive() 211 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testRun_dnae() 249 .testRunEnded(Mockito.anyLong(), (HashMap<String, Metric>) Mockito.any()); in testRun_dnae_NotLastDevice()
|