/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 49 result.testEnded(test, new HashMap<String, Metric>()); in testGetNumTestsInState() 70 result.testEnded(test, new HashMap<String, Metric>()); in testGetNumTestsInState_failed() 85 result.testEnded(test, 25L, new HashMap<String, Metric>()); in testSpecifyElapsedTime() 131 result.testEnded(test1, new HashMap<String, Metric>()); in testMultiRun_WithTestCases() 135 result.testEnded(test2, new HashMap<String, Metric>()); in testMultiRun_WithTestCases() 149 result.testEnded(test2, new HashMap<String, Metric>()); in testMultiRun_WithTestCases() 175 result.testEnded(test, new HashMap<String, Metric>()); in testLogSavedFile_testCases() 198 result.testEnded(test, new HashMap<String, Metric>()); in testLogSavedFile_runLogs() 248 result1.testEnded(testcase1, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck() 251 result1.testEnded(testcase2, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck() [all …]
|
D | LogcatCrashResultForwarderTest.java | 53 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_noCrashInLogcat() 58 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_noCrashInLogcat() 94 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcat() 102 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcat() 135 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 145 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 179 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_duplicateStack() 191 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_duplicateStack()
|
D | ConsoleResultReporterTest.java | 80 reporter.testEnded(testId, TfMetricProtoUtil.upgradeConvert(metrics)); in testGetInvocationSummary_test_metrics() 131 reporter.testEnded(run1test1Id, TfMetricProtoUtil.upgradeConvert(run1Test1Metrics)); in testGetInvocationSummary_all() 138 reporter.testEnded(run1test2Id, TfMetricProtoUtil.upgradeConvert(run1Test2Metrics)); in testGetInvocationSummary_all() 146 reporter.testEnded(run1test3Id, TfMetricProtoUtil.upgradeConvert(run1Test3Metrics)); in testGetInvocationSummary_all() 151 reporter.testEnded(run1test4Id, EMPTY_MAP); in testGetInvocationSummary_all() 162 reporter.testEnded(run2test1Id, EMPTY_MAP); in testGetInvocationSummary_all() 166 reporter.testEnded(run2test2Id, EMPTY_MAP); in testGetInvocationSummary_all() 171 reporter.testEnded(run2test3Id, EMPTY_MAP); in testGetInvocationSummary_all() 176 reporter.testEnded(run2test4Id, EMPTY_MAP); in testGetInvocationSummary_all()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 153 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun() 155 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun() 175 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 177 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 317 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun_rerun() 319 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun_rerun() 328 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun_rerun() 338 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun_rerun() 355 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun_rerun() 363 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun_rerun() [all …]
|
D | GTestResultParserTest.java | 44 mockRunListener.testEnded( in testParseSimpleFile() 69 mockRunListener.testEnded( in testParseSimpleFileNoTimes() 110 mockRunListener.testEnded( in testParseLargerFile() 136 mockRunListener.testEnded( in testParseWithFailures() 143 mockRunListener.testEnded( in testParseWithFailures() 149 mockRunListener.testEnded( in testParseWithFailures() 157 mockRunListener.testEnded( in testParseWithFailures() 164 mockRunListener.testEnded( in testParseWithFailures() 171 mockRunListener.testEnded( in testParseWithFailures() 196 mockRunListener.testEnded( in testParseWithErrors() [all …]
|
D | HostTestTest.java | 553 mListener.testEnded(EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); 555 mListener.testEnded(EasyMock.eq(test2), (HashMap<String, Metric>) EasyMock.anyObject()); 576 mListener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metric1)); 581 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); 599 mListener.testEnded(test1, new HashMap<String, Metric>()); 606 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); 634 mListener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metric1)); 642 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); 659 mListener.testEnded(EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); 661 mListener.testEnded(EasyMock.eq(test2), (HashMap<String, Metric>) EasyMock.anyObject()); [all …]
|
D | InstrumentationFileTestTest.java | 107 listener.testEnded( in testRun_singleSuccessfulTest() 137 mMockListener.testEnded( in testRun_singleSuccessfulTest() 172 listener.testEnded( in testRun_reRunOneFailedToCompleteTest() 191 listener.testEnded( in testRun_reRunOneFailedToCompleteTest() 196 listener.testEnded( in testRun_reRunOneFailedToCompleteTest() 227 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest() 236 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest() 241 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest() 286 listener.testEnded( in testRun_serialReRunOfTwoFailedToCompleteTests() 303 listener.testEnded( in testRun_serialReRunOfTwoFailedToCompleteTests() [all …]
|
D | DeviceTestCaseTest.java | 113 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_suite() 115 listener.testEnded(test2, new HashMap<String, Metric>()); in testRun_suite() 137 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_includeFilter() 157 listener.testEnded(test2, new HashMap<String, Metric>()); in testRun_excludeFilter() 180 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_includeAnnotationFiltering() 196 listener.testEnded( in testRun_checkAnnotation() 199 listener.testEnded( in testRun_checkAnnotation() 228 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_excludeAnnotationFiltering() 248 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_singleTest() 268 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_deviceNotAvail() [all …]
|
D | NoisyDryRunTestTest.java | 88 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun() 94 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun() 96 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun() 116 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_withKeystore() 122 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_withKeystore() 139 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdFile() 157 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdLine() 163 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdLine() 166 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdLine() 285 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testLoading_sandboxed() [all …]
|
D | GTestXmlResultParserTest.java | 87 mockRunListener.testEnded( in testParseSimpleFile() 92 mockRunListener.testEnded( in testParseSimpleFile() 120 mockRunListener.testEnded( in testParseLargerFile() 150 mockRunListener.testEnded( in testParseWithFailures() 158 mockRunListener.testEnded( in testParseWithFailures() 210 mockRunListener.testEnded( in testParseUnexpectedNumberTest() 243 mockRunListener.testEnded( in testParseSimpleFile_badXmltag() 303 mockRunListener.testEnded( in testParseSimpleFile_skipped() 311 mockRunListener.testEnded( in testParseSimpleFile_skipped()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 151 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents() 156 mMockListener.testEnded(test2, 60L, metrics); in testEvents() 176 mTestParser.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents() 183 mTestParser.testEnded(test2, 60L, metrics); in testEvents() 226 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testRunFail_interleavedWithTest() 243 mTestParser.testEnded(test1, 10L, new HashMap<String, Metric>()); in testRunFail_interleavedWithTest() 267 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents_finaleProto() 272 mMockListener.testEnded(test2, 60L, metrics); in testEvents_finaleProto() 291 mFinalTestParser.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents_finaleProto() 298 mFinalTestParser.testEnded(test2, 60L, metrics); in testEvents_finaleProto() [all …]
|
D | StreamProtoResultReporterTest.java | 79 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream() 83 mMockListener.testEnded( in testStream() 100 mReporter.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream() 108 mReporter.testEnded(test2, 60L, metrics); in testStream() 146 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream_noInvocationReporting() 150 mMockListener.testEnded( in testStream_noInvocationReporting() 165 mReporter.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream_noInvocationReporting() 173 mReporter.testEnded(test2, 60L, metrics); in testStream_noInvocationReporting()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | FilteredResultForwarder.java | 55 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() method in FilteredResultForwarder 59 super.testEnded(test, testMetrics); in testEnded() 63 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() method in FilteredResultForwarder 67 super.testEnded(test, endTime, testMetrics); in testEnded() 71 public void testEnded(TestDescription test, long endTime, Map<String, String> testMetrics) { in testEnded() method in FilteredResultForwarder 75 super.testEnded(test, endTime, testMetrics); in testEnded() 79 public void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() method in FilteredResultForwarder 83 super.testEnded(test, testMetrics); in testEnded()
|
D | ITestLifeCycleReceiver.java | 172 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() method 173 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 185 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded() method 195 public default void testEnded( in testEnded() method 197 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 208 public default void testEnded( in testEnded() method 210 testEnded(test, testMetrics); in testEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | DeviceParameterizedRunnerTest.java | 115 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun() 120 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun() 125 mListener.testEnded(test2_2, new HashMap<String, Metric>()); in testRun() 145 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_collectOnly() 150 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun_collectOnly() 155 mListener.testEnded(test2_2, new HashMap<String, Metric>()); in testRun_collectOnly() 176 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun_method() 198 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun_method_collectOnly() 218 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_excludeFilter_paramMethod() 223 mListener.testEnded(test2_2, new HashMap<String, Metric>()); in testRun_excludeFilter_paramMethod() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 74 mMockListener.testEnded( in testReplay() 79 mMockListener.testEnded( in testReplay() 103 mMockListener.testEnded( in testReplayModules() 108 mMockListener.testEnded( in testReplayModules() 119 mMockListener.testEnded( in testReplayModules() 124 mMockListener.testEnded( in testReplayModules() 154 mMockListener.testEnded( in testReplay_oneTest() 191 mMockListener.testEnded( in testReplay_MultiTest() 196 mMockListener.testEnded( in testReplay_MultiTest() 212 result.testEnded(test, new HashMap<String, Metric>()); in createTestRunResult() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardListenerTest.java | 67 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay() 75 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay() 106 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 110 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 117 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 128 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 132 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 139 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 194 mockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testLogOrderingForSharding() 224 shardedInvocation.testEnded(tid, 0l, new HashMap<String, Metric>()); in testLogOrderingForSharding()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarderTest.java | 57 mMockListener.testEnded(td1, new HashMap<String, Metric>()); in testForwarding() 61 mMockListener.testEnded(td2, new HashMap<String, Metric>()); in testForwarding() 71 mForwarder.testEnded(tid1, new HashMap<>()); in testForwarding() 75 mForwarder.testEnded(tid2, new HashMap<>()); in testForwarding() 90 mMockListener.testEnded(td1, new HashMap<String, Metric>()); in testForwarding_null() 103 mForwarder.testEnded(tid1, new HashMap<>()); in testForwarding_null() 107 mForwarder.testEnded(tid2, new HashMap<>()); in testForwarding_null()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | JUnitXmlParserTest.java | 68 mMockListener.testEnded(test1, new HashMap<String, Metric>()); in testParse() 72 mMockListener.testEnded(test2, new HashMap<String, Metric>()); in testParse() 78 mMockListener.testEnded(test3, new HashMap<String, Metric>()); in testParse() 92 mMockListener.testEnded(test1, new HashMap<String, Metric>()); in testParseErrorAndSkipped() 97 mMockListener.testEnded(test2, new HashMap<String, Metric>()); in testParseErrorAndSkipped() 104 mMockListener.testEnded(test3, new HashMap<String, Metric>()); in testParseErrorAndSkipped() 120 mMockListener.testEnded(test, new HashMap<String, Metric>()); in testParseBazelShTestXml()
|
D | SubprocessTestResultsParserTest.java | 95 mockRunListener.testEnded( in testParse_randomEvents() 134 mockRunListener.testEnded( in testParse_invalidEventOrder() 169 mockRunListener.testEnded( in testParse_testNotStarted() 184 String testEnded = in testParse_testNotStarted() local 189 FileUtil.writeToFile(testEnded, tmp, true); in testParse_testNotStarted() 205 mockRunListener.testEnded( in testParse_noTimeStamp() 223 String testEnded = in testParse_noTimeStamp() local 228 FileUtil.writeToFile(testEnded, tmp, true); in testParse_noTimeStamp() 276 mockRunListener.testEnded( in testParser_receiveFromSocket() 296 String testEnded = in testParser_receiveFromSocket() local [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 57 mListener.testEnded(tid, new HashMap<String, Metric>()); in testRegularExecution() 72 mListener.testEnded(tid, new HashMap<String, Metric>()); in testRun_missingTests() 92 mListener.testEnded(tid, new HashMap<String, Metric>()); in testInternalRerun() 100 mListener.testEnded(tid2, new HashMap<String, Metric>()); in testInternalRerun() 118 mListener.testEnded(tid, new HashMap<String, Metric>()); in testMultiTestRun() 126 mListener.testEnded(tid, new HashMap<String, Metric>()); in testMultiTestRun() 172 mListener.testEnded(test, new HashMap<String, Metric>()); in testRetryInvalid() 179 mListener.testEnded(test, new HashMap<String, Metric>()); in testRetryInvalid()
|
D | ModuleDefinitionTest.java | 152 listener.testEnded(test, new HashMap<String, Metric>()); in run() 208 listener.testEnded(test, new HashMap<String, Metric>()); in run() 217 listener.testEnded(test, new HashMap<String, Metric>()); in run() 419 mMockListener.testEnded( in testRun_aggregateRunFailures() 764 mMockListener.testEnded( in testRun_fullPass() 814 mMockListener.testEnded( in testRun_partialRun() 874 mMockListener.testEnded( in testRun_partialRun_error() 1000 listener.testEnded(tid, new HashMap<String, Metric>()); in testModuleController_skipTestCases() 1020 mMockListener.testEnded( in testModuleController_skipTestCases() 1198 mMockListener.testEnded( in testRun_partialRun_deviceUnresponsive() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollectorTest.java | 76 mBase.testEnded(test, new HashMap<String, Metric>()); in testInitAndForwarding() 92 .testEnded( in testInitAndForwarding() 148 mBase.testEnded(test, new HashMap<String, Metric>()); in testForwarding_withException() 164 .testEnded( in testForwarding_withException() 308 base.testEnded(test, new HashMap<String, Metric>()); in verifyFiltering() 317 .testEnded(Mockito.eq(test), Mockito.anyLong(), mCapturedMetrics.capture()); in verifyFiltering() 416 .testEnded(Mockito.eq(test1), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_include() 420 .testEnded(Mockito.eq(test2), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_include() 425 .testEnded(Mockito.eq(test3), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_include() 464 .testEnded(Mockito.eq(test1), Mockito.anyLong(), mCapturedMetrics.capture()); in testActualRunAnnotated_exclude() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 172 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() method in BasePostProcessor 173 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 177 public final void testEnded( in testEnded() method in BasePostProcessor 179 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 183 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() method in BasePostProcessor 184 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded() 188 public final void testEnded( in testEnded() method in BasePostProcessor 214 mForwarder.testEnded(test, endTime, testMetrics); in testEnded()
|
/tools/tradefederation/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 95 mResultReporter.testEnded(testId0, new HashMap<String, Metric>()); in testSimpleParse() 98 mResultReporter.testEnded(testId1, new HashMap<String, Metric>()); in testSimpleParse() 101 mResultReporter.testEnded(testId2, new HashMap<String, Metric>()); in testSimpleParse() 126 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParse() 132 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParse() 161 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParseBlacklist() 167 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParseBlacklist()
|