/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 | TestResultListener.java | 74 public final void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() method in TestResultListener 80 public final void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() method in TestResultListener 86 public final void testEnded( in testEnded() method in TestResultListener 93 public final void testEnded( in testEnded() method in TestResultListener
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 50 result.testEnded(test, new HashMap<String, Metric>()); in testGetNumTestsInState() 71 result.testEnded(test, new HashMap<String, Metric>()); in testGetNumTestsInState_failed() 86 result.testEnded(test, 25L, new HashMap<String, Metric>()); in testSpecifyElapsedTime() 132 result.testEnded(test1, new HashMap<String, Metric>()); in testMultiRun_WithTestCases() 136 result.testEnded(test2, new HashMap<String, Metric>()); in testMultiRun_WithTestCases() 150 result.testEnded(test2, new HashMap<String, Metric>()); in testMultiRun_WithTestCases() 176 result.testEnded(test, new HashMap<String, Metric>()); in testLogSavedFile_testCases() 199 result.testEnded(test, new HashMap<String, Metric>()); in testLogSavedFile_runLogs() 249 result1.testEnded(testcase1, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck() 252 result1.testEnded(testcase2, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck() [all …]
|
D | LogcatCrashResultForwarderTest.java | 56 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_noCrashInLogcat() 61 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_noCrashInLogcat() 97 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcat() 105 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcat() 142 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 150 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 190 mMockListener.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_duplicateStack() 198 mReporter.testEnded(test, 5L, new HashMap<String, Metric>()); in testCaptureTestCrash_duplicateStack()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 176 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun() 178 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun() 198 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 200 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun() 362 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun_betterFailure() 364 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun_betterFailure() 373 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun_betterFailure() 383 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun_betterFailure() 400 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun_betterFailure() 410 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun_betterFailure() [all …]
|
D | GTestResultParserTest.java | 47 mockRunListener.testEnded( in testParseSimpleFile() 71 mockRunListener.testEnded( in testParseSimpleFileNoTimes() 111 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() 195 mockRunListener.testEnded( in testParseWithErrors() [all …]
|
D | GTestListenerTest.java | 69 mMockListener.testEnded( in testNoDuplicateTests() 74 mMockListener.testEnded( in testNoDuplicateTests() 86 listener.testEnded(testId1, emptyMap); in testNoDuplicateTests() 88 listener.testEnded(testId2, emptyMap); in testNoDuplicateTests() 104 mMockListener.testEnded( in testDuplicateTestsFailsWithOptionEnabled() 109 mMockListener.testEnded( in testDuplicateTestsFailsWithOptionEnabled() 123 listener.testEnded(testId1, emptyMap); in testDuplicateTestsFailsWithOptionEnabled() 125 listener.testEnded(testId1, emptyMap); in testDuplicateTestsFailsWithOptionEnabled()
|
D | NoisyDryRunTestTest.java | 92 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun() 98 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun() 100 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun() 120 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_withKeystore() 126 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_withKeystore() 143 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdFile() 161 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdLine() 167 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdLine() 170 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testRun_invalidCmdLine() 289 mMockListener.testEnded(anyObject(), EasyMock.<HashMap<String, Metric>>anyObject()); in testLoading_sandboxed() [all …]
|
D | DeviceTestCaseTest.java | 122 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_suite() 124 listener.testEnded(test2, new HashMap<String, Metric>()); in testRun_suite() 146 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_includeFilter() 166 listener.testEnded(test2, new HashMap<String, Metric>()); in testRun_excludeFilter() 189 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_includeAnnotationFiltering() 205 listener.testEnded( in testRun_checkAnnotation() 208 listener.testEnded( in testRun_checkAnnotation() 237 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_excludeAnnotationFiltering() 257 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_singleTest() 277 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_deviceNotAvail() [all …]
|
D | HostTestTest.java | 617 mListener.testEnded(EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcase() 619 mListener.testEnded(EasyMock.eq(test2), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcase() 640 mListener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metric1)); in testRun_MetricTestCase() 645 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); in testRun_MetricTestCase() 663 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_LogMetricTestCase() 670 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); in testRun_LogMetricTestCase() 698 mListener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metric1)); in testRun_MetricTestCase_withOption() 706 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); in testRun_MetricTestCase_withOption() 723 mListener.testEnded(EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testSuite() 725 mListener.testEnded(EasyMock.eq(test2), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testSuite() [all …]
|
D | DeviceBatteryLevelCheckerTest.java | 129 mMockListener.testEnded(mTestDescription, new HashMap<String, Metric>()); in testNull() 134 mMockListener.testEnded(mTestDescription2, new HashMap<String, Metric>()); in testNull() 149 mMockListener.testEnded(mTestDescription, new HashMap<String, Metric>()); in testNormal() 152 mMockListener.testEnded(mTestDescription2, new HashMap<String, Metric>()); in testNormal() 173 mMockListener.testEnded(mTestDescription, new HashMap<String, Metric>()); in testLow() 181 mMockListener.testEnded(mTestDescription2, new HashMap<String, Metric>()); in testLow() 202 mMockListener.testEnded(mTestDescription, new HashMap<String, Metric>()); in testLow_becomeHigh() 204 mMockListener.testEnded(mTestDescription2, new HashMap<String, Metric>()); in testLow_becomeHigh() 238 mMockListener.testEnded(mTestDescription, new HashMap<String, Metric>()); in testLow_becomeNull() 243 mMockListener.testEnded(mTestDescription2, new HashMap<String, Metric>()); in testLow_becomeNull()
|
D | InstrumentationFileTestTest.java | 119 listener.testEnded( in testRun_singleSuccessfulTest() 149 mMockListener.testEnded( in testRun_singleSuccessfulTest() 184 listener.testEnded( in testRun_reRunOneFailedToCompleteTest() 203 listener.testEnded( in testRun_reRunOneFailedToCompleteTest() 208 listener.testEnded( in testRun_reRunOneFailedToCompleteTest() 239 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest() 248 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest() 253 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest() 299 listener.testEnded( in testRun_serialReRunOfTwoFailedToCompleteTests() 316 listener.testEnded( in testRun_serialReRunOfTwoFailedToCompleteTests() [all …]
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | ITestLifeCycleReceiver.java | 203 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() method 204 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 216 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded() method 226 public default void testEnded( in testEnded() method 228 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded() 239 public default void testEnded( in testEnded() method 241 testEnded(test, testMetrics); in testEnded()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarderTest.java | 59 mMockListener.testEnded(td1, new HashMap<String, Metric>()); in testForwarding() 63 mMockListener.testEnded(td2, new HashMap<String, Metric>()); in testForwarding() 73 mForwarder.testEnded(tid1, new HashMap<>()); in testForwarding() 77 mForwarder.testEnded(tid2, new HashMap<>()); in testForwarding() 92 mMockListener.testEnded(td1, new HashMap<String, Metric>()); in testForwarding_null() 112 mForwarder.testEnded(tid1, new HashMap<>()); in testForwarding_null() 116 mForwarder.testEnded(tid2, new HashMap<>()); in testForwarding_null() 131 mMockListener.testEnded(td1, new HashMap<String, Metric>()); in testForwarding_initError() 151 mForwarder.testEnded(tid1, new HashMap<>()); in testForwarding_initError() 155 mForwarder.testEnded(tid2, new HashMap<>()); in testForwarding_initError()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | JUnitXmlParserTest.java | 69 mMockListener.testEnded(test1, new HashMap<String, Metric>()); in testParse() 73 mMockListener.testEnded(test2, new HashMap<String, Metric>()); in testParse() 79 mMockListener.testEnded(test3, new HashMap<String, Metric>()); in testParse() 93 mMockListener.testEnded(test1, new HashMap<String, Metric>()); in testParseErrorAndSkipped() 98 mMockListener.testEnded(test2, new HashMap<String, Metric>()); in testParseErrorAndSkipped() 107 mMockListener.testEnded(test3, new HashMap<String, Metric>()); in testParseErrorAndSkipped() 121 mMockListener.testEnded(test1, new HashMap<String, Metric>()); in testParseError_format() 136 mMockListener.testEnded(test, new HashMap<String, Metric>()); in testParseBazelShTestXml()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardListenerTest.java | 68 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay() 76 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay() 90 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testPlayRuns() 98 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testPlayRuns() 130 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 135 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 143 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 154 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 158 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() 165 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/ |
D | DeviceParameterizedRunnerTest.java | 123 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun() 128 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun() 133 mListener.testEnded(test2_2, new HashMap<String, Metric>()); in testRun() 153 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_collectOnly() 158 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun_collectOnly() 163 mListener.testEnded(test2_2, new HashMap<String, Metric>()); in testRun_collectOnly() 184 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun_method() 206 mListener.testEnded(test2_p1, new HashMap<String, Metric>()); in testRun_method_collectOnly() 226 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_excludeFilter_paramMethod() 231 mListener.testEnded(test2_2, new HashMap<String, Metric>()); in testRun_excludeFilter_paramMethod() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 158 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents() 163 mMockListener.testEnded(test2, 60L, metrics); in testEvents() 200 mTestParser.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents() 207 mTestParser.testEnded(test2, 60L, metrics); in testEvents() 336 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testRunFail_interleavedWithTest() 353 mTestParser.testEnded(test1, 10L, new HashMap<String, Metric>()); in testRunFail_interleavedWithTest() 377 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents_finaleProto() 382 mMockListener.testEnded(test2, 60L, metrics); in testEvents_finaleProto() 401 mFinalTestParser.testEnded(test1, 10L, new HashMap<String, Metric>()); in testEvents_finaleProto() 408 mFinalTestParser.testEnded(test2, 60L, metrics); in testEvents_finaleProto() [all …]
|
D | StreamProtoResultReporterTest.java | 82 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream() 86 mMockListener.testEnded( in testStream() 103 mReporter.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream() 111 mReporter.testEnded(test2, 60L, metrics); in testStream() 172 mMockListener.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream_noInvocationReporting() 176 mMockListener.testEnded( in testStream_noInvocationReporting() 191 mReporter.testEnded(test1, 10L, new HashMap<String, Metric>()); in testStream_noInvocationReporting() 199 mReporter.testEnded(test2, 60L, metrics); in testStream_noInvocationReporting()
|
/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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 89 mMockListener.testEnded( in testReplay() 94 mMockListener.testEnded( in testReplay() 118 mMockListener.testEnded( in testReplayModules() 123 mMockListener.testEnded( in testReplayModules() 134 mMockListener.testEnded( in testReplayModules() 139 mMockListener.testEnded( in testReplayModules() 169 mMockListener.testEnded( in testReplay_oneTest() 206 mMockListener.testEnded( in testReplay_MultiTest() 211 mMockListener.testEnded( in testReplay_MultiTest() 227 result.testEnded(test, new HashMap<String, Metric>()); in createTestRunResult() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessorTest.java | 281 listener.testEnded(test1, 0L, new HashMap<String, Metric>()); in testRunLevelPostProcessing_processRunLogsOnly() 291 listener.testEnded(test2, 0L, new HashMap<String, Metric>()); in testRunLevelPostProcessing_processRunLogsOnly() 316 mMockListener.testEnded( in testPerTestPostProcessing() 320 listener.testEnded(null, 0L, initialMetrics); in testPerTestPostProcessing() 351 mMockListener.testEnded( in testPerTestLogPostProcessing_processTestLogs() 365 listener.testEnded(test, 0L, new HashMap<String, Metric>()); in testPerTestLogPostProcessing_processTestLogs() 403 mMockListener.testEnded( in testPerTestLogPostProcessing_processTestLogsOnly() 413 listener.testEnded(test, 0L, new HashMap<String, Metric>()); in testPerTestLogPostProcessing_processTestLogsOnly() 446 mMockListener.testEnded( in testPerTestPostProcessing_logToTestAssociation() 448 mMockListener.testEnded( in testPerTestPostProcessing_logToTestAssociation() [all …]
|
/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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerLogCollectorTest.java | 79 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testSkipStub() 83 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testSkipStub() 113 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testPullAndLog() 117 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testPullAndLog() 143 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testSkipTestCollection() 147 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testSkipTestCollection() 177 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testPostProcessFiles() 181 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testPostProcessFiles()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableTargetTestTest.java | 95 .testEnded( in testRun_cmdSuccess() 103 .testEnded( in testRun_cmdSuccess() 178 .testEnded( in testRun_cmdFailed() 187 .testEnded( in testRun_cmdFailed() 229 .testEnded( in testRun_addExcludeFilter() 236 .testEnded( in testRun_addExcludeFilter() 247 .testEnded( in testRun_addExcludeFilter() 284 .testEnded( in testRun_addIncludeFilter() 291 .testEnded( in testRun_addIncludeFilter() 302 .testEnded( in testRun_addIncludeFilter() [all …]
|