Home
last modified time | relevance | path

Searched refs:testEnded (Results 1 – 25 of 111) sorted by relevance

12345

/tools/tradefederation/core/src/com/android/tradefed/result/
DITestLifeCycleReceiver.java142 public default void testEnded(TestDescription test, Map<String, String> testMetrics) { in testEnded() method
143 testEnded(test, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
155 public default void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) {} in testEnded() method
165 public default void testEnded( in testEnded() method
167 testEnded(test, endTime, TfMetricProtoUtil.upgradeConvert(testMetrics)); in testEnded()
178 public default void testEnded( in testEnded() method
180 testEnded(test, testMetrics); in testEnded()
DLegacySubprocessResultsReporter.java46 public void testEnded(TestIdentifier testId, Map<String, String> metrics) { in testEnded() method in LegacySubprocessResultsReporter
47 testEnded(testId, System.currentTimeMillis(), metrics); in testEnded()
51 public void testEnded(TestIdentifier testId, long endTime, Map<String, String> metrics) { in testEnded() method in LegacySubprocessResultsReporter
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestResultParserTest.java44 mockRunListener.testEnded( in testParseSimpleFile()
70 mockRunListener.testEnded( in testParseSimpleFileNoTimes()
113 mockRunListener.testEnded( in testParseLargerFile()
140 mockRunListener.testEnded( in testParseWithFailures()
147 mockRunListener.testEnded( in testParseWithFailures()
153 mockRunListener.testEnded( in testParseWithFailures()
161 mockRunListener.testEnded( in testParseWithFailures()
168 mockRunListener.testEnded( in testParseWithFailures()
175 mockRunListener.testEnded( in testParseWithFailures()
201 mockRunListener.testEnded( in testParseWithErrors()
[all …]
DInstrumentationTestTest.java136 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun()
138 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun()
158 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun()
160 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun()
288 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun_rerun()
290 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun_rerun()
299 listener.testEnded(TEST1, EMPTY_STRING_MAP); in testRun_rerun()
309 listener.testEnded(TEST2, EMPTY_STRING_MAP); in testRun_rerun()
326 inOrder.verify(mMockListener).testEnded(eq(TEST1), anyLong(), eq(EMPTY_STRING_MAP)); in testRun_rerun()
334 inOrder.verify(mMockListener).testEnded(eq(TEST2), anyLong(), eq(EMPTY_STRING_MAP)); in testRun_rerun()
[all …]
DDeviceTestCaseTest.java113 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 …]
DInstrumentationFileTestTest.java102 listener.testEnded( in testRun_singleSuccessfulTest()
132 mMockListener.testEnded( in testRun_singleSuccessfulTest()
163 listener.testEnded( in testRun_reRunOneFailedToCompleteTest()
182 listener.testEnded( in testRun_reRunOneFailedToCompleteTest()
187 listener.testEnded( in testRun_reRunOneFailedToCompleteTest()
218 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest()
227 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest()
232 mMockListener.testEnded( in testRun_reRunOneFailedToCompleteTest()
278 listener.testEnded( in testRun_serialReRunOfTwoFailedToCompleteTests()
295 listener.testEnded( in testRun_serialReRunOfTwoFailedToCompleteTests()
[all …]
DNoisyDryRunTestTest.java64 mMockListener.testEnded( in testRun()
71 mMockListener.testEnded( in testRun()
74 mMockListener.testEnded( in testRun()
95 mMockListener.testEnded( in testRun_withKeystore()
102 mMockListener.testEnded( in testRun_withKeystore()
120 mMockListener.testEnded( in testRun_invalidCmdFile()
139 mMockListener.testEnded( in testRun_invalidCmdLine()
146 mMockListener.testEnded( in testRun_invalidCmdLine()
150 mMockListener.testEnded( in testRun_invalidCmdLine()
DHostTestTest.java465 mListener.testEnded(EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcase()
467 mListener.testEnded(EasyMock.eq(test2), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testcase()
488 mListener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metric1)); in testRun_MetricTestCase()
493 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); in testRun_MetricTestCase()
511 mListener.testEnded(test1, new HashMap<String, Metric>()); in testRun_LogMetricTestCase()
518 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); in testRun_LogMetricTestCase()
546 mListener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metric1)); in testRun_MetricTestCase_withOption()
554 mListener.testEnded(test2, TfMetricProtoUtil.upgradeConvert(metric2)); in testRun_MetricTestCase_withOption()
571 mListener.testEnded(EasyMock.eq(test1), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testSuite()
573 mListener.testEnded(EasyMock.eq(test2), (HashMap<String, Metric>) EasyMock.anyObject()); in testRun_testSuite()
[all …]
DGTestListTestParserTest.java44 mockRunListener.testEnded( in testParseSimpleList()
70 mockRunListener.testEnded( in testParseMultiClassList()
112 mockRunListener.testEnded( in testParseSimpleList_withSpecialChar()
120 mockRunListener.testEnded( in testParseSimpleList_withSpecialChar()
DDeviceTestSuiteTest.java70 listener.testEnded(test1, TfMetricProtoUtil.upgradeConvert(metrics)); in testRun_suite()
72 listener.testEnded(test2, new HashMap<String, Metric>()); in testRun_suite()
94 listener.testEnded(test1, new HashMap<String, Metric>()); in testRun_deviceNotAvail()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DJUnitXmlParserTest.java69 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()
104 mMockListener.testEnded(test3, new HashMap<String, Metric>()); in testParseErrorAndSkipped()
DMetricsXmlParserTest.java96 mResultReporter.testEnded(testId0, new HashMap<String, Metric>()); in testSimpleParse()
99 mResultReporter.testEnded(testId1, new HashMap<String, Metric>()); in testSimpleParse()
102 mResultReporter.testEnded(testId2, new HashMap<String, Metric>()); in testSimpleParse()
127 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParse()
133 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParse()
162 mResultReporter.testEnded(testId0, TfMetricProtoUtil.upgradeConvert(testMetrics0)); in testParseBlacklist()
168 mResultReporter.testEnded(testId1, TfMetricProtoUtil.upgradeConvert(testMetrics1)); in testParseBlacklist()
DSubprocessTestResultsParserTest.java92 mockRunListener.testEnded( in testParse_randomEvents()
131 mockRunListener.testEnded( in testParse_invalidEventOrder()
166 mockRunListener.testEnded( in testParse_testNotStarted()
181 String testEnded = in testParse_testNotStarted() local
186 FileUtil.writeToFile(testEnded, tmp, true); in testParse_testNotStarted()
202 mockRunListener.testEnded( in testParse_noTimeStamp()
220 String testEnded = in testParse_noTimeStamp() local
225 FileUtil.writeToFile(testEnded, tmp, true); in testParse_noTimeStamp()
273 mockRunListener.testEnded( in testParser_receiveFromSocket()
293 String testEnded = in testParser_receiveFromSocket() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DLogcatCrashResultForwarderTest.java53 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()
DTestRunResultTest.java49 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()
133 result.testEnded(test, new HashMap<String, Metric>()); in testLogSavedFile_testCases()
156 result.testEnded(test, new HashMap<String, Metric>()); in testLogSavedFile_runLogs()
205 result1.testEnded(testcase1, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck()
208 result1.testEnded(testcase2, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck()
216 result2.testEnded(testcase2, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck()
223 result3.testEnded(testcase2, new HashMap<String, Metric>()); in testMergeRetriedRunResults_fullMergeLogicCheck()
264 result1.testEnded(testcase, new HashMap<String, Metric>()); in testMergeRetriedRunResults_checkMergingStackTraces()
[all …]
DConsoleResultReporterTest.java80 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/junit4/
DDeviceParameterizedRunnerTest.java115 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/
DModuleListenerTest.java53 mListener.testEnded(tid, new HashMap<String, Metric>()); in testRegularExecution()
68 mListener.testEnded(tid, new HashMap<String, Metric>()); in testRun_missingTests()
86 mListener.testEnded(tid, new HashMap<String, Metric>()); in testInternalRerun()
94 mListener.testEnded(tid2, new HashMap<String, Metric>()); in testInternalRerun()
110 mListener.testEnded(tid, new HashMap<String, Metric>()); in testMultiTestRun()
118 mListener.testEnded(tid, new HashMap<String, Metric>()); in testMultiTestRun()
DTestSuiteStub.java90 listener.testEnded(tid, new HashMap<String, Metric>()); in testAttempt()
105 listener.testEnded(tid2, new HashMap<String, Metric>()); in testAttempt()
119 listener.testEnded(tid3, new HashMap<String, Metric>()); in testAttempt()
155 listener.testEnded(tid, new HashMap<String, Metric>()); in run()
160 listener.testEnded(tid, new HashMap<String, Metric>()); in run()
167 listener.testEnded(tid, new HashMap<String, Metric>()); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardListenerTest.java67 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay()
75 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay()
91 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
95 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
102 mMockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
113 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
117 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
124 mShardListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testBufferAndReplay_withModule()
178 mockListener.testEnded(tid, 0l, new HashMap<String, Metric>()); in testLogOrderingForSharding()
208 shardedInvocation.testEnded(tid, 0l, new HashMap<String, Metric>()); in testLogOrderingForSharding()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleListener.java106 public void testEnded(TestDescription test, HashMap<String, Metric> testMetrics) { in testEnded() method in ModuleListener
107 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded()
112 public void testEnded(TestDescription test, long endTime, HashMap<String, Metric> testMetrics) { in testEnded() method in ModuleListener
114 super.testEnded(test, endTime, testMetrics); in testEnded()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java76 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 …]
DFilePullerLogCollectorTest.java82 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testPullAndLog()
86 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testPullAndLog()
112 mMockListener.testEnded(EasyMock.eq(test), EasyMock.eq(50L), EasyMock.capture(capture)); in testSkipTestCollection()
116 listener.testEnded(test, 50L, TfMetricProtoUtil.upgradeConvert(metrics)); in testSkipTestCollection()
/tools/tradefederation/core/prod-tests/tests/src/com/android/continuous/
DSmokeTestFailureReporterTest.java79 mReporter.testEnded(testId, emptyMap); in testSingleFail()
125 mReporter.testEnded(testPass1, emptyMap); in testTwoPassOneFail()
129 mReporter.testEnded(testFail, emptyMap); in testTwoPassOneFail()
132 mReporter.testEnded(testPass2, emptyMap); in testTwoPassOneFail()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java119 public void testEnded(TestIdentifier testId, Map<String, String> testMetrics) { in testEnded() method in TestRunToTestInvocationForwarder
122 listener.testEnded( in testEnded()
135 public void testEnded(TestIdentifier testId, long endTime, Map<String, String> testMetrics) { in testEnded() method in TestRunToTestInvocationForwarder
138 listener.testEnded( in testEnded()

12345