Home
last modified time | relevance | path

Searched refs:testStarted (Results 1 – 25 of 154) sorted by relevance

1234567

/tools/tradefederation/core/tests/src/com/android/tradefed/retry/
DResultAggregatorTest.java120 mDetailedListener.testStarted(EasyMock.eq(test1), EasyMock.anyLong()); in testForwarding()
126 mDetailedListener.testStarted(EasyMock.eq(test2), EasyMock.anyLong()); in testForwarding()
139 mDetailedListener.testStarted(EasyMock.eq(test2), EasyMock.anyLong()); in testForwarding()
151 mAggListener.testStarted(EasyMock.eq(test1), EasyMock.anyLong()); in testForwarding()
157 mAggListener.testStarted(EasyMock.eq(test2), EasyMock.anyLong()); in testForwarding()
186 mAggregator.testStarted(test1); in testForwarding()
189 mAggregator.testStarted(test2); in testForwarding()
201 mAggregator.testStarted(test2); in testForwarding()
239 mDetailedListener.testStarted(EasyMock.eq(test1), EasyMock.anyLong()); in testForwarding_runFailure()
244 mDetailedListener.testStarted(EasyMock.eq(test2), EasyMock.anyLong()); in testForwarding_runFailure()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DInstrumentationTestTest.java175 listener.testStarted(TEST1); in testRun()
177 listener.testStarted(TEST2); in testRun()
197 inOrder.verify(mMockListener).testStarted(eq(TEST1), anyLong()); in testRun()
199 inOrder.verify(mMockListener).testStarted(eq(TEST2), anyLong()); in testRun()
361 listener.testStarted(TEST1); in testRun_betterFailure()
363 listener.testStarted(TEST2); in testRun_betterFailure()
372 listener.testStarted(TEST1); in testRun_betterFailure()
382 listener.testStarted(TEST2); in testRun_betterFailure()
399 inOrder.verify(mMockListener).testStarted(eq(TEST1), anyLong()); in testRun_betterFailure()
409 inOrder.verify(mMockListener).testStarted(eq(TEST2), anyLong()); in testRun_betterFailure()
[all …]
DHostTestTest.java619 mListener.testStarted(EasyMock.eq(test1)); in testRun_testcase()
621 mListener.testStarted(EasyMock.eq(test2)); in testRun_testcase()
639 mListener.testStarted(EasyMock.eq(test1)); in testRun_MetricTestCase()
645 mListener.testStarted(EasyMock.eq(test2)); in testRun_MetricTestCase()
664 mListener.testStarted(EasyMock.eq(test1)); in testRun_LogMetricTestCase()
668 mListener.testStarted(EasyMock.eq(test2)); in testRun_LogMetricTestCase()
697 mListener.testStarted(EasyMock.eq(test1)); in testRun_MetricTestCase_withOption()
703 mListener.testStarted(EasyMock.eq(test2)); in testRun_MetricTestCase_withOption()
725 mListener.testStarted(EasyMock.eq(test1)); in testRun_testSuite()
727 mListener.testStarted(EasyMock.eq(test2)); in testRun_testSuite()
[all …]
DInstrumentationFileTestTest.java118 listener.testStarted(TestDescription.convertToIdentifier(test)); in testRun_singleSuccessfulTest()
148 mMockListener.testStarted(EasyMock.eq(test), EasyMock.anyLong()); in testRun_singleSuccessfulTest()
183 listener.testStarted(TestDescription.convertToIdentifier(test1)); in testRun_reRunOneFailedToCompleteTest()
188 listener.testStarted(TestDescription.convertToIdentifier(test2)); in testRun_reRunOneFailedToCompleteTest()
202 listener.testStarted(TestDescription.convertToIdentifier(test3)); in testRun_reRunOneFailedToCompleteTest()
207 listener.testStarted(TestDescription.convertToIdentifier(test2)); in testRun_reRunOneFailedToCompleteTest()
238 mMockListener.testStarted(EasyMock.eq(test1), EasyMock.anyLong()); in testRun_reRunOneFailedToCompleteTest()
243 mMockListener.testStarted(EasyMock.eq(test2), EasyMock.anyLong()); in testRun_reRunOneFailedToCompleteTest()
247 mMockListener.testStarted(EasyMock.eq(test3), EasyMock.anyLong()); in testRun_reRunOneFailedToCompleteTest()
252 mMockListener.testStarted(EasyMock.eq(test2), EasyMock.anyLong()); in testRun_reRunOneFailedToCompleteTest()
[all …]
DGTestResultParserTest.java46 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile()
70 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFileNoTimes()
110 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseLargerFile()
135 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
140 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
148 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
154 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
161 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
170 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
194 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithErrors()
[all …]
DNoisyDryRunTestTest.java91 mMockListener.testStarted(anyObject()); in testRun()
97 mMockListener.testStarted(anyObject()); in testRun()
99 mMockListener.testStarted(anyObject()); in testRun()
119 mMockListener.testStarted(anyObject()); in testRun_withKeystore()
125 mMockListener.testStarted(anyObject()); in testRun_withKeystore()
142 mMockListener.testStarted(anyObject()); in testRun_invalidCmdFile()
160 mMockListener.testStarted(anyObject()); in testRun_invalidCmdLine()
166 mMockListener.testStarted(anyObject()); in testRun_invalidCmdLine()
168 mMockListener.testStarted(anyObject()); in testRun_invalidCmdLine()
288 mMockListener.testStarted(anyObject()); in testLoading_sandboxed()
[all …]
DDeviceTestCaseTest.java119 listener.testStarted(test1); in testRun_suite()
123 listener.testStarted(test2); in testRun_suite()
143 listener.testStarted(test1); in testRun_includeFilter()
165 listener.testStarted(test2); in testRun_excludeFilter()
188 listener.testStarted(test1); in testRun_includeAnnotationFiltering()
204 listener.testStarted(EasyMock.capture(capture)); in testRun_checkAnnotation()
207 listener.testStarted(EasyMock.capture(capture)); in testRun_checkAnnotation()
236 listener.testStarted(test1); in testRun_excludeAnnotationFiltering()
254 listener.testStarted(test1); in testRun_singleTest()
274 listener.testStarted(test1); in testRun_deviceNotAvail()
[all …]
DDeviceBatteryLevelCheckerTest.java126 mMockListener.testStarted(mTestDescription); in testNull()
130 mMockListener.testStarted(mTestDescription2); in testNull()
148 mMockListener.testStarted(mTestDescription); in testNormal()
150 mMockListener.testStarted(mTestDescription2); in testNormal()
172 mMockListener.testStarted(mTestDescription); in testLow()
174 mMockListener.testStarted(mTestDescription2); in testLow()
201 mMockListener.testStarted(mTestDescription); in testLow_becomeHigh()
203 mMockListener.testStarted(mTestDescription2); in testLow_becomeHigh()
235 mMockListener.testStarted(mTestDescription); in testLow_becomeNull()
239 mMockListener.testStarted(mTestDescription2); in testLow_becomeNull()
DGTestXmlResultParserTest.java86 mockRunListener.testStarted(firstInFile); in testParseSimpleFile()
91 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile()
119 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseLargerFile()
149 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
155 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseWithFailures()
209 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseUnexpectedNumberTest()
242 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile_badXmltag()
302 mockRunListener.testStarted(firstInFile); in testParseSimpleFile_skipped()
307 mockRunListener.testStarted((TestDescription) EasyMock.anyObject()); in testParseSimpleFile_skipped()
DGTestListenerTest.java68 mMockListener.testStarted(EasyMock.eq(testId1), EasyMock.anyLong()); in testNoDuplicateTests()
73 mMockListener.testStarted(EasyMock.eq(testId2), EasyMock.anyLong()); in testNoDuplicateTests()
85 listener.testStarted(testId1); in testNoDuplicateTests()
87 listener.testStarted(testId2); in testNoDuplicateTests()
103 mMockListener.testStarted(EasyMock.eq(testId1), EasyMock.anyLong()); in testDuplicateTestsFailsWithOptionEnabled()
108 mMockListener.testStarted(EasyMock.eq(testId1), EasyMock.anyLong()); in testDuplicateTestsFailsWithOptionEnabled()
122 listener.testStarted(testId1); in testDuplicateTestsFailsWithOptionEnabled()
124 listener.testStarted(testId1); in testDuplicateTestsFailsWithOptionEnabled()
DPythonUnitTestResultParserTest.java178 mMockListener.testStarted(anyObject()); in testParsePartialSingleLineMatchSkipped()
529 mMockListener.testStarted(anyObject()); in testCaptureMultilineTraceback()
548 mMockListener.testStarted(EasyMock.anyObject()); in testParseRealOutput()
585 mMockListener.testStarted(EasyMock.anyObject()); in testParseRealOutput2()
601 mMockListener.testStarted(EasyMock.anyObject()); in testParseRealOutput3()
625 mMockListener.testStarted(EasyMock.anyObject()); in testParseSubtestOutput()
661 mMockListener.testStarted(EasyMock.anyObject()); in testParseTestResults_withIncludeFilters()
710 mMockListener.testStarted(EasyMock.anyObject()); in testParseTestResults_withExcludeFilters()
742 mMockListener.testStarted(ids[i]); in setTestIdChecks()
760 mMockListener.testStarted(ids[i]); in setTestIdChecks()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestRunResultTest.java47 result.testStarted(test); in testGetNumTestsInState()
63 result.testStarted(test); in testGetNumTestsInState_failed()
84 result.testStarted(test, 5L); in testSpecifyElapsedTime()
131 result.testStarted(test1); in testMultiRun_WithTestCases()
133 result.testStarted(test2); in testMultiRun_WithTestCases()
149 result.testStarted(test2); in testMultiRun_WithTestCases()
167 result.testStarted(test); in testLogSavedFile_testCases()
192 result.testStarted(test); in testLogSavedFile_runLogs()
248 result1.testStarted(testcase1); in testMergeRetriedRunResults_fullMergeLogicCheck()
250 result1.testStarted(testcase2); in testMergeRetriedRunResults_fullMergeLogicCheck()
[all …]
DLogcatCrashResultForwarderTest.java53 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat()
62 mReporter.testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat()
78 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcat()
103 mReporter.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcat()
133 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
157 mReporter.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
180 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_duplicateStack()
205 mReporter.testStarted(test, 0L); in testCaptureTestCrash_duplicateStack()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultParserTest.java157 mMockListener.testStarted(test1, 5L); in testEvents()
160 mMockListener.testStarted(test2, 11L); in testEvents()
199 mTestParser.testStarted(test1, 5L); in testEvents()
202 mTestParser.testStarted(test2, 11L); in testEvents()
335 mMockListener.testStarted(test1, 5L); in testRunFail_interleavedWithTest()
349 mTestParser.testStarted(test1, 5L); in testRunFail_interleavedWithTest()
376 mMockListener.testStarted(test1, 5L); in testEvents_finaleProto()
379 mMockListener.testStarted(test2, 11L); in testEvents_finaleProto()
400 mFinalTestParser.testStarted(test1, 5L); in testEvents_finaleProto()
403 mFinalTestParser.testStarted(test2, 11L); in testEvents_finaleProto()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/
DShardListenerTest.java67 mMockListener.testStarted(tid, 0l); in testBufferAndReplay()
75 mShardListener.testStarted(tid, 0l); in testBufferAndReplay()
89 mMockListener.testStarted(tid, 0l); in testPlayRuns()
97 mShardListener.testStarted(tid, 0l); in testPlayRuns()
129 mMockListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
134 mMockListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
142 mMockListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
153 mShardListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
157 mShardListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
164 mShardListener.testStarted(tid, 0l); in testBufferAndReplay_withModule()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java162 listener.testStarted(test); in run()
235 listener.testStarted(test); in run()
243 listener.testStarted(test); in run()
539 mMockListener.testStarted((TestDescription) EasyMock.anyObject(), EasyMock.anyLong()); in testRun_aggregateRunFailures()
930 mMockListener.testStarted((TestDescription) EasyMock.anyObject(), EasyMock.anyLong()); in testRun_fullPass()
981 mMockListener.testStarted((TestDescription) EasyMock.anyObject(), EasyMock.anyLong()); in testRun_partialRun()
1043 mMockListener.testStarted((TestDescription) EasyMock.anyObject(), EasyMock.anyLong()); in testRun_partialRun_error()
1167 listener.testStarted(tid); in testModuleController_skipTestCases()
1192 mMockListener.testStarted(EasyMock.anyObject(), EasyMock.anyLong()); in testModuleController_skipTestCases()
1381 mMockListener.testStarted((TestDescription) EasyMock.anyObject(), EasyMock.anyLong()); in testRun_partialRun_deviceUnresponsive()
[all …]
DModuleListenerTest.java56 mListener.testStarted(tid); in testRegularExecution()
71 mListener.testStarted(tid); in testRun_missingTests()
91 mListener.testStarted(tid); in testInternalRerun()
99 mListener.testStarted(tid2); in testInternalRerun()
117 mListener.testStarted(tid); in testMultiTestRun()
125 mListener.testStarted(tid); in testMultiTestRun()
170 mListener.testStarted(test); in testRetryInvalid()
178 mListener.testStarted(test); in testRetryInvalid()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/
DInstrumentationResultProtoParserTest.java234 mMockListener.testStarted(td); in testOneTestSuccessWithMetrics()
272 mMockListener1.testStarted(td); in testOneTestSuccessWithMultipleListeners()
277 mMockListener2.testStarted(td); in testOneTestSuccessWithMultipleListeners()
314 mMockListener.testStarted(td); in testOneRunSuccessWithMetrics()
338 mMockListener.testStarted(td); in testOneTestAndRunSuccessWithMetrics()
373 mMockListener.testStarted(td1); in testMultipleTestSuccessWithMetrics()
375 mMockListener.testStarted(td2); in testMultipleTestSuccessWithMetrics()
411 mMockListener.testStarted(td); in testOneTestFailure()
441 mMockListener.testStarted(td1); in testOneTestPassOneTestFailure()
444 mMockListener.testStarted(td2); in testOneTestPassOneTestFailure()
[all …]
DTestRunToTestInvocationForwarderTest.java57 mMockListener.testStarted(td1); in testForwarding()
61 mMockListener.testStarted(td2); in testForwarding()
71 mForwarder.testStarted(tid1); in testForwarding()
75 mForwarder.testStarted(tid2); in testForwarding()
90 mMockListener.testStarted(td1); in testForwarding_null()
110 mForwarder.testStarted(tid1); in testForwarding_null()
114 mForwarder.testStarted(tid2); in testForwarding_null()
129 mMockListener.testStarted(td1); in testForwarding_initError()
149 mForwarder.testStarted(tid1); in testForwarding_initError()
153 mForwarder.testStarted(tid2); in testForwarding_initError()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableTargetTestTest.java99 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdSuccess()
107 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdSuccess()
189 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdFailed()
198 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdFailed()
241 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription)); in testRun_addExcludeFilter()
248 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_addExcludeFilter()
259 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription3)); in testRun_addExcludeFilter()
296 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription)); in testRun_addIncludeFilter()
303 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_addIncludeFilter()
314 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription3)); in testRun_addIncludeFilter()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java82 mBase.testStarted(test); in testInitAndForwarding()
100 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test), Mockito.anyLong()); in testInitAndForwarding()
171 mBase.testStarted(test); in testForwarding_withException()
187 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test), Mockito.anyLong()); in testForwarding_withException()
337 base.testStarted(test); in verifyFiltering()
346 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test), Mockito.anyLong()); in verifyFiltering()
451 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test1), Mockito.anyLong()); in testActualRunAnnotated_include()
455 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test2), Mockito.anyLong()); in testActualRunAnnotated_include()
459 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test3), Mockito.anyLong()); in testActualRunAnnotated_include()
504 Mockito.verify(mMockListener, times(1)).testStarted(Mockito.eq(test1), Mockito.anyLong()); in testActualRunAnnotated_exclude()
[all …]
DFilePullerLogCollectorTest.java77 mMockListener.testStarted(test, 0L); in testSkipStub()
82 listener.testStarted(test, 0L); in testSkipStub()
106 mMockListener.testStarted(test, 0L); in testPullAndLog()
116 listener.testStarted(test, 0L); in testPullAndLog()
142 mMockListener.testStarted(test, 0L); in testSkipTestCollection()
146 listener.testStarted(test, 0L); in testSkipTestCollection()
170 mMockListener.testStarted(test, 0L); in testPostProcessFiles()
180 listener.testStarted(test, 0L); in testPostProcessFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/junit4/
DDeviceParameterizedRunnerTest.java122 mListener.testStarted(test1); in testRun()
127 mListener.testStarted(test2_p1); in testRun()
132 mListener.testStarted(test2_2); in testRun()
152 mListener.testStarted(test1); in testRun_collectOnly()
157 mListener.testStarted(test2_p1); in testRun_collectOnly()
162 mListener.testStarted(test2_2); in testRun_collectOnly()
183 mListener.testStarted(test2_p1); in testRun_method()
205 mListener.testStarted(test2_p1); in testRun_method_collectOnly()
225 mListener.testStarted(test1); in testRun_excludeFilter_paramMethod()
230 mListener.testStarted(test2_2); in testRun_excludeFilter_paramMethod()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java88 mMockListener.testStarted(EasyMock.eq(test), EasyMock.anyLong()); in testReplay()
92 mMockListener.testStarted(EasyMock.eq(testFail), EasyMock.anyLong()); in testReplay()
117 mMockListener.testStarted(EasyMock.eq(test), EasyMock.anyLong()); in testReplayModules()
121 mMockListener.testStarted(EasyMock.eq(testFail), EasyMock.anyLong()); in testReplayModules()
133 mMockListener.testStarted(EasyMock.eq(test), EasyMock.anyLong()); in testReplayModules()
137 mMockListener.testStarted(EasyMock.eq(testFail), EasyMock.anyLong()); in testReplayModules()
167 mMockListener.testStarted(EasyMock.eq(test), EasyMock.anyLong()); in testReplay_oneTest()
204 mMockListener.testStarted(EasyMock.eq(test), EasyMock.anyLong()); in testReplay_MultiTest()
209 mMockListener.testStarted(EasyMock.eq(test2), EasyMock.anyLong()); in testReplay_MultiTest()
226 result.testStarted(test); in createTestRunResult()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DJUnitXmlParserTest.java68 mMockListener.testStarted(test1); in testParse()
72 mMockListener.testStarted(test2); in testParse()
76 mMockListener.testStarted(test3); in testParse()
92 mMockListener.testStarted(test1); in testParseErrorAndSkipped()
96 mMockListener.testStarted(test2); in testParseErrorAndSkipped()
101 mMockListener.testStarted(test3); in testParseErrorAndSkipped()
119 mMockListener.testStarted(test1); in testParseError_format()
135 mMockListener.testStarted(test); in testParseBazelShTestXml()

1234567