/tools/tradefederation/core/javatests/com/android/tradefed/result/ |
D | TestRunResultTest.java | 46 result.testStarted(test); in testGetNumTestsInState() 62 result.testStarted(test); in testGetNumTestsInState_failed() 83 result.testStarted(test, 5L); in testSpecifyElapsedTime() 130 result.testStarted(test1); in testMultiRun_WithTestCases() 132 result.testStarted(test2); in testMultiRun_WithTestCases() 148 result.testStarted(test2); in testMultiRun_WithTestCases() 166 result.testStarted(test); in testLogSavedFile_testCases() 191 result.testStarted(test); in testLogSavedFile_runLogs() 247 result1.testStarted(testcase1); in testMergeRetriedRunResults_fullMergeLogicCheck() 249 result1.testStarted(testcase2); in testMergeRetriedRunResults_fullMergeLogicCheck() [all …]
|
D | ReportPassedTestsTest.java | 74 mReporter.testStarted(tid); in testReport() 114 mReporter.testStarted(testFailed); in testReport_withTestFailure() 117 mReporter.testStarted(testPass); in testReport_withTestFailure() 136 mReporter.testStarted(tid); in testReport_runFailure_withPassedTestCases() 138 mReporter.testStarted(tid2); in testReport_runFailure_withPassedTestCases() 140 mReporter.testStarted(failed); in testReport_runFailure_withPassedTestCases() 143 mReporter.testStarted(assum); in testReport_runFailure_withPassedTestCases() 211 mReporter.testStarted(tid); in testReport_moduleFailure_withPassedTestCases_shards() 213 mReporter.testStarted(tid2); in testReport_moduleFailure_withPassedTestCases_shards() 215 mReporter.testStarted(failed); in testReport_moduleFailure_withPassedTestCases_shards() [all …]
|
D | LogcatCrashResultForwarderTest.java | 62 mReporter.testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat() 66 verify(mMockListener).testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat() 102 mReporter.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcat() 107 verify(mMockListener).testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcat() 164 mReporter.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 169 verify(mMockListener).testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 212 mReporter.testStarted(test, 0L); in testCaptureTestCrash_duplicateStack() 217 verify(mMockListener).testStarted(test, 0L); in testCaptureTestCrash_duplicateStack() 249 mReporter.testStarted(test, 0L); in testTestTimedOutTests() 253 verify(mMockListener).testStarted(test, 0L); in testTestTimedOutTests() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/retry/ |
D | ResultAggregatorTest.java | 150 mAggregator.testStarted(test1); in testForwarding() 153 mAggregator.testStarted(test2); in testForwarding() 165 mAggregator.testStarted(test2); in testForwarding() 185 inOrder.verify(mDetailedListener).testStarted(Mockito.eq(test1), Mockito.anyLong()); in testForwarding() 192 inOrder.verify(mDetailedListener).testStarted(Mockito.eq(test2), Mockito.anyLong()); in testForwarding() 208 inOrder.verify(mDetailedListener).testStarted(Mockito.eq(test2), Mockito.anyLong()); in testForwarding() 221 inOrderAgg.verify(mAggListener).testStarted(Mockito.eq(test1), Mockito.anyLong()); in testForwarding() 229 inOrderAgg.verify(mAggListener).testStarted(Mockito.eq(test2), Mockito.anyLong()); in testForwarding() 287 mAggregator.testStarted(test1); in testForwarding_emptyModule() 289 mAggregator.testStarted(test2); in testForwarding_emptyModule() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | InstrumentationTestTest.java | 184 listener.testStarted(TEST1); in testRun() 186 listener.testStarted(TEST2); in testRun() 207 inOrder.verify(mMockListener).testStarted(eq(TEST1), anyLong()); in testRun() 209 inOrder.verify(mMockListener).testStarted(eq(TEST2), anyLong()); in testRun() 454 listener.testStarted(TEST1); in testRun_betterFailure() 456 listener.testStarted(TEST2); in testRun_betterFailure() 465 listener.testStarted(TEST1); in testRun_betterFailure() 483 inOrder.verify(mMockListener).testStarted(eq(TEST1), anyLong()); in testRun_betterFailure() 508 listener.testStarted(TEST1); in testRun_rerun() 510 listener.testStarted(TEST2); in testRun_rerun() [all …]
|
D | HostTestTest.java | 644 verify(mListener).testStarted(Mockito.eq(test1)); in testRun_testcase() 646 verify(mListener).testStarted(Mockito.eq(test2)); in testRun_testcase() 665 verify(mListener).testStarted(Mockito.eq(test1)); in testRun_MetricTestCase() 670 verify(mListener).testStarted(Mockito.eq(test2)); in testRun_MetricTestCase() 691 verify(mListener).testStarted(Mockito.eq(test1)); in testRun_LogMetricTestCase() 694 verify(mListener).testStarted(Mockito.eq(test2)); in testRun_LogMetricTestCase() 725 verify(mListener).testStarted(Mockito.eq(test1)); in testRun_MetricTestCase_withOption() 730 verify(mListener).testStarted(Mockito.eq(test2)); in testRun_MetricTestCase_withOption() 754 verify(mListener).testStarted(Mockito.eq(test1)); in testRun_testSuite() 756 verify(mListener).testStarted(Mockito.eq(test2)); in testRun_testSuite() [all …]
|
D | NoisyDryRunTestTest.java | 89 mMockListener.testStarted(Mockito.any()); in testRun() 95 mMockListener.testStarted(Mockito.any()); in testRun() 97 mMockListener.testStarted(Mockito.any()); in testRun() 116 mMockListener.testStarted(Mockito.any()); in testRun_withKeystore() 122 mMockListener.testStarted(Mockito.any()); in testRun_withKeystore() 138 mMockListener.testStarted(Mockito.any()); in testRun_invalidCmdFile() 154 mMockListener.testStarted(Mockito.any()); in testRun_invalidCmdLine() 160 mMockListener.testStarted(Mockito.any()); in testRun_invalidCmdLine() 162 mMockListener.testStarted(Mockito.any()); in testRun_invalidCmdLine() 279 mMockListener.testStarted(Mockito.any()); in testLoading_sandboxed() [all …]
|
D | InstrumentationFileTestTest.java | 119 listener.testStarted(TestDescription.convertToIdentifier(test)); in testRun_singleSuccessfulTest() 187 listener.testStarted(TestDescription.convertToIdentifier(test1)); in testRun_reRunOneFailedToCompleteTest() 192 listener.testStarted(TestDescription.convertToIdentifier(test2)); in testRun_reRunOneFailedToCompleteTest() 205 listener.testStarted(TestDescription.convertToIdentifier(test3)); in testRun_reRunOneFailedToCompleteTest() 210 listener.testStarted(TestDescription.convertToIdentifier(test2)); in testRun_reRunOneFailedToCompleteTest() 269 listener.testStarted(TestDescription.convertToIdentifier(test1)); in testRun_noSerialReRun() 270 listener.testStarted(TestDescription.convertToIdentifier(test2)); in testRun_noSerialReRun() 337 listener.testStarted(TestDescription.convertToIdentifier(test1)); in testRun_exceedMaxAttempts() 342 listener.testStarted(TestDescription.convertToIdentifier(test2)); in testRun_exceedMaxAttempts() 357 listener.testStarted(TestDescription.convertToIdentifier(test2)); in testRun_exceedMaxAttempts() [all …]
|
D | PythonUnitTestResultParserTest.java | 154 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseSingleTestPass() 194 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseSingleTestPassWithExpectedFailure() 216 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseSingleWithModuleClass() 240 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseMultiTestPass() 243 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id2)); in testParseMultiTestPass() 267 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseMultiTestPassWithOneExpectedFailure() 270 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id2)); in testParseMultiTestPassWithOneExpectedFailure() 294 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseMultiTestPassWithAllExpectedFailure() 297 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id2)); in testParseMultiTestPassWithAllExpectedFailure() 327 inOrder.verify(mMockListener, times(1)).testStarted(Mockito.eq(id)); in testParseSingleTestFail() [all …]
|
D | DeviceTestCaseTest.java | 123 verify(listener).testStarted(test1); in testRun_suite() 125 verify(listener).testStarted(test2); in testRun_suite() 148 verify(listener).testStarted(test1); in testRun_includeFilter() 168 verify(listener).testStarted(test2); in testRun_excludeFilter() 190 verify(listener).testStarted(test1); in testRun_includeAnnotationFiltering() 206 verify(listener, times(2)).testStarted(capture.capture()); in testRun_checkAnnotation() 234 verify(listener).testStarted(test1); in testRun_excludeAnnotationFiltering() 255 verify(listener).testStarted(test1); in testRun_singleTest() 277 verify(listener).testStarted(test1); in testRun_deviceNotAvail() 297 verify(listener, times(2)).testStarted(Mockito.any()); in testRun_testcaseCollectMode() [all …]
|
D | TestTimeoutEnforcerTest.java | 54 mEnforcer.testStarted(mTest, 0L); in testNoTimeout() 57 verify(mListener).testStarted(mTest, 0L); in testNoTimeout() 64 mEnforcer.testStarted(mTest, 0L); in testTimeout() 67 verify(mListener).testStarted(mTest, 0L); in testTimeout() 80 mEnforcer.testStarted(mTest, 0L); in testFailedTest() 84 verify(mListener).testStarted(mTest, 0L); in testFailedTest()
|
D | GTestListenerTest.java | 63 listener.testStarted(testId1); in testNoDuplicateTests() 65 listener.testStarted(testId2); in testNoDuplicateTests() 70 verify(mMockListener).testStarted(Mockito.eq(testId1), Mockito.anyLong()); in testNoDuplicateTests() 76 verify(mMockListener).testStarted(Mockito.eq(testId2), Mockito.anyLong()); in testNoDuplicateTests() 101 listener.testStarted(testId1); in testDuplicateTestsFailsWithOptionEnabled() 103 listener.testStarted(testId1); in testDuplicateTestsFailsWithOptionEnabled() 108 verify(mMockListener, times(2)).testStarted(Mockito.eq(testId1), Mockito.anyLong()); in testDuplicateTestsFailsWithOptionEnabled()
|
D | DeviceBatteryLevelCheckerTest.java | 155 verify(mMockListener).testStarted(mTestDescription); in testNull() 161 verify(mMockListener).testStarted(mTestDescription2); in testNull() 177 verify(mMockListener).testStarted(mTestDescription); in testNormal() 179 verify(mMockListener).testStarted(mTestDescription2); in testNormal() 201 verify(mMockListener).testStarted(mTestDescription); in testLow() 203 verify(mMockListener).testStarted(mTestDescription2); in testLow() 236 verify(mMockListener).testStarted(mTestDescription); in testLow_becomeHigh() 238 verify(mMockListener).testStarted(mTestDescription2); in testLow_becomeHigh() 269 verify(mMockListener).testStarted(mTestDescription); in testLow_becomeNull() 275 verify(mMockListener).testStarted(mTestDescription2); in testLow_becomeNull()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarderTest.java | 63 mForwarder.testStarted(tid1); in testForwarding() 67 mForwarder.testStarted(tid2); in testForwarding() 74 verify(mMockListener).testStarted(td1); in testForwarding() 77 verify(mMockListener).testStarted(td2); in testForwarding() 102 mForwarder.testStarted(tid1); in testForwarding_null() 106 mForwarder.testStarted(tid2); in testForwarding_null() 114 inOrder.verify(mMockListener).testStarted(td1); in testForwarding_null() 132 mForwarder.testStarted(tid1); in testForwarding_null_ignored() 136 mForwarder.testStarted(tid2); in testForwarding_null_ignored() 144 inOrder.verify(mMockListener).testStarted(td1); in testForwarding_null_ignored() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/ |
D | ShardListenerTest.java | 74 mShardListener.testStarted(tid, 0L); in testBufferAndReplay() 83 inOrder.verify(mMockListener).testStarted(tid, 0L); in testBufferAndReplay() 92 verify(mMockListener).testStarted(tid, 0L); in testBufferAndReplay() 108 mShardListener.testStarted(tid, 0L); in testPlayRuns() 117 inOrder.verify(mMockListener).testStarted(tid, 0L); in testPlayRuns() 125 verify(mMockListener).testStarted(tid, 0L); in testPlayRuns() 163 mShardListener.testStarted(tid, 0L); in testBufferAndReplay_withModule() 167 mShardListener.testStarted(tid, 0L); in testBufferAndReplay_withModule() 175 mShardListener.testStarted(tid, 0L); in testBufferAndReplay_withModule() 188 inOrder.verify(mMockListener).testStarted(tid, 0L); in testBufferAndReplay_withModule() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/junit4/ |
D | DeviceParameterizedRunnerTest.java | 145 inOrder.verify(mListener).testStarted(test1); in testRun() 147 inOrder.verify(mListener).testStarted(test2_p1); in testRun() 149 inOrder.verify(mListener).testStarted(test2_2); in testRun() 176 verify(mListener).testStarted(test1); in testRun_collectOnly() 178 verify(mListener).testStarted(test2_p1); in testRun_collectOnly() 180 verify(mListener).testStarted(test2_2); in testRun_collectOnly() 198 verify(mListener).testStarted(test2_p1); in testRun_method() 217 verify(mListener).testStarted(test2_p1); in testRun_method_collectOnly() 238 verify(mListener).testStarted(test1); in testRun_excludeFilter_paramMethod() 240 verify(mListener).testStarted(test2_2); in testRun_excludeFilter_paramMethod() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 190 mTestParser.testStarted(test1, 5L); in testEvents() 193 mTestParser.testStarted(test2, 11L); in testEvents() 220 inOrder.verify(mMockListener).testStarted(test1, 5L); in testEvents() 222 inOrder.verify(mMockListener).testStarted(test2, 11L); in testEvents() 352 mTestParser.testStarted(test1, 5L); in testRunFail_interleavedWithTest() 366 inOrder.verify(mMockListener).testStarted(test1, 5L); in testRunFail_interleavedWithTest() 394 mFinalTestParser.testStarted(test1, 5L); in testEvents_finaleProto() 397 mFinalTestParser.testStarted(test2, 11L); in testEvents_finaleProto() 423 inOrder.verify(mMockListener).testStarted(test1, 5L); in testEvents_finaleProto() 425 inOrder.verify(mMockListener).testStarted(test2, 11L); in testEvents_finaleProto() [all …]
|
D | StreamProtoResultReporterTest.java | 100 mReporter.testStarted(test1, 5L); in testStream() 103 mReporter.testStarted(test2, 11L); in testStream() 129 inOrder.verify(mMockListener).testStarted(test1, 5L); in testStream() 131 inOrder.verify(mMockListener).testStarted(test2, 11L); in testStream() 148 verify(mMockListener).testStarted(test1, 5L); in testStream() 150 verify(mMockListener).testStarted(test2, 11L); in testStream() 211 mReporter.testStarted(test1, 5L); in testStream_noInvocationReporting() 214 mReporter.testStarted(test2, 11L); in testStream_noInvocationReporting() 239 verify(mMockListener).testStarted(test1, 5L); in testStream_noInvocationReporting() 241 verify(mMockListener).testStarted(test2, 11L); in testStream_noInvocationReporting()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | JUnitXmlParserTest.java | 82 verify(mMockListener).testStarted(test1); in testParse() 84 verify(mMockListener).testStarted(test2); in testParse() 86 verify(mMockListener).testStarted(test3); in testParse() 109 verify(mMockListener).testStarted(test1); in testParseErrorAndSkipped() 111 verify(mMockListener).testStarted(test2); in testParseErrorAndSkipped() 114 verify(mMockListener).testStarted(test3); in testParseErrorAndSkipped() 130 verify(mMockListener).testStarted(test1); in testParseError_format() 148 verify(mMockListener).testStarted(test); in testParseBazelShTestXml()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 60 mListener.testStarted(tid); in testRegularExecution() 75 mListener.testStarted(tid); in testRun_missingTests() 95 mListener.testStarted(tid); in testInternalRerun() 103 mListener.testStarted(tid2); in testInternalRerun() 121 mListener.testStarted(tid); in testMultiTestRun() 129 mListener.testStarted(tid); in testMultiTestRun() 174 mListener.testStarted(test); in testRetryInvalid() 182 mListener.testStarted(test); in testRetryInvalid() 206 mListener.testStarted(tid); in testRecordTestMappingSourcesIntoMetrics()
|
/tools/asuite/atest/bazel/reporter/javatests/com/android/tradefed/result/ |
D | BazelXmlResultReporterTest.java | 66 reporter.testStarted(TEST_ID, 0L); in writeResultPassed_testPassed() 81 reporter.testStarted(TEST_ID, 0L); in writeStackTrace_testFailed() 97 reporter.testStarted(TEST_ID, 0L); in noWriteTestCase_testIgnored() 113 reporter.testStarted(TEST_ID, 0L); in writeTestCaseResultIncomplete_runFailed() 127 reporter.testStarted(TEST_ID, 0L); in writeSkipped_testAssumptionFailure() 144 reporter.testStarted(TEST_ID, 0L); in writeTestCount_multipleTests() 149 reporter.testStarted(skippedTest, 10L); in writeTestCount_multipleTests() 154 reporter.testStarted(ignoredTest, 20L); in writeTestCount_multipleTests()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 106 inOrder.verify(mMockListener).testStarted(Mockito.eq(test), Mockito.anyLong()); in testReplay() 112 inOrder.verify(mMockListener).testStarted(Mockito.eq(testFail), Mockito.anyLong()); in testReplay() 123 verify(mMockListener).testStarted(Mockito.eq(test), Mockito.anyLong()); in testReplay() 129 verify(mMockListener).testStarted(Mockito.eq(testFail), Mockito.anyLong()); in testReplay() 158 verify(mMockListener, times(2)).testStarted(Mockito.eq(test), Mockito.anyLong()); in testReplayModules() 164 verify(mMockListener, times(2)).testStarted(Mockito.eq(testFail), Mockito.anyLong()); in testReplayModules() 196 verify(mMockListener).testStarted(Mockito.eq(test), Mockito.anyLong()); in testReplay_oneTest() 234 verify(mMockListener).testStarted(Mockito.eq(test), Mockito.anyLong()); in testReplay_MultiTest() 241 verify(mMockListener).testStarted(Mockito.eq(test2), Mockito.anyLong()); in testReplay_MultiTest() 256 result.testStarted(test); in createTestRunResult() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/ |
D | FilePullerLogCollectorTest.java | 86 listener.testStarted(test, 0L); in testSkipStub() 93 verify(mMockListener).testStarted(test, 0L); in testSkipStub() 124 listener.testStarted(test, 0L); in testPullAndLog() 131 verify(mMockListener).testStarted(test, 0L); in testPullAndLog() 161 listener.testStarted(test, 0L); in testSkipTestCollection() 164 verify(mMockListener).testStarted(test, 0L); in testSkipTestCollection() 194 listener.testStarted(test, 0L); in testPostProcessFiles() 201 verify(mMockListener).testStarted(test, 0L); in testPostProcessFiles() 235 listener.testStarted(test, 0L); in testCompressDirectoryBeforeUpload() 242 verify(mMockListener).testStarted(test, 0L); in testCompressDirectoryBeforeUpload()
|
D | ShowmapPullerMetricCollectorTest.java | 102 mShowmapMetricCollector.testStarted(testDesc); in test16ColumnHeaders() 153 mShowmapMetricCollector.testStarted(testDesc); in test17ColumnHeaders() 200 mShowmapMetricCollector.testStarted(testDesc); in testOneObjectTwiceFlow() 245 mShowmapMetricCollector.testStarted(testDesc); in testTwoObjectOnceFlow() 292 mShowmapMetricCollector.testStarted(testDesc); in testThreeObjectOnceFlow() 349 mShowmapMetricCollector.testStarted(testDesc); in testTwoProcessesFlow() 411 mShowmapMetricCollector.testStarted(testDesc); in testNoProcessMatchFlow() 461 mShowmapMetricCollector.testStarted(testDesc); in testNoProcessFlow() 513 mShowmapMetricCollector.testStarted(testDesc); in testErrorFlow() 534 mShowmapMetricCollector.testStarted(testDesc); in testEmptyFileFlow() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/binary/ |
D | ExecutableTargetTestTest.java | 101 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdSuccess() 108 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdSuccess() 195 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdFailed() 203 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdFailed() 246 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription)); in testRun_addExcludeFilter() 253 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_addExcludeFilter() 264 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription3)); in testRun_addExcludeFilter() 301 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription)); in testRun_addIncludeFilter() 308 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_addIncludeFilter() 319 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription3)); in testRun_addIncludeFilter() [all …]
|