/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 47 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 …]
|
D | LogcatCrashResultForwarderTest.java | 52 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat() 59 mReporter.testStarted(test, 0L); in testCaptureTestCrash_noCrashInLogcat() 75 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcat() 103 mReporter.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcat() 124 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 148 mReporter.testStarted(test, 0L); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 171 mMockListener.testStarted(test, 0L); in testCaptureTestCrash_duplicateStack() 196 mReporter.testStarted(test, 0L); in testCaptureTestCrash_duplicateStack()
|
D | TestResultListenerTest.java | 55 mResultListener.testStarted(mTest); in testPassed() 63 mResultListener.testStarted(mTest); in testFailed() 75 mResultListener.testStarted(incompleteTest); in missingTestEnded() 76 mResultListener.testStarted(mTest); in missingTestEnded() 87 mResultListener.testStarted(incompleteTest); in incompleteDueToCrash()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationFileTestTest.java | 118 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 …]
|
D | InstrumentationTestTest.java | 175 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 …]
|
D | GTestResultParserTest.java | 46 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 …]
|
D | GTestListenerTest.java | 68 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()
|
D | NoisyDryRunTestTest.java | 91 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 …]
|
D | DeviceTestCaseTest.java | 119 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 …]
|
D | HostTestTest.java | 616 mListener.testStarted(EasyMock.eq(test1)); in testRun_testcase() 618 mListener.testStarted(EasyMock.eq(test2)); in testRun_testcase() 636 mListener.testStarted(EasyMock.eq(test1)); in testRun_MetricTestCase() 642 mListener.testStarted(EasyMock.eq(test2)); in testRun_MetricTestCase() 661 mListener.testStarted(EasyMock.eq(test1)); in testRun_LogMetricTestCase() 665 mListener.testStarted(EasyMock.eq(test2)); in testRun_LogMetricTestCase() 694 mListener.testStarted(EasyMock.eq(test1)); in testRun_MetricTestCase_withOption() 700 mListener.testStarted(EasyMock.eq(test2)); in testRun_MetricTestCase_withOption() 722 mListener.testStarted(EasyMock.eq(test1)); in testRun_testSuite() 724 mListener.testStarted(EasyMock.eq(test2)); in testRun_testSuite() [all …]
|
D | DeviceBatteryLevelCheckerTest.java | 126 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()
|
D | GTestXmlResultParserTest.java | 86 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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarderTest.java | 57 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/util/ |
D | JUnitXmlParserTest.java | 68 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()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/ |
D | ShardListenerTest.java | 67 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/junit4/ |
D | DeviceParameterizedRunnerTest.java | 122 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/result/proto/ |
D | ProtoResultParserTest.java | 157 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 …]
|
D | StreamProtoResultReporterTest.java | 81 mMockListener.testStarted(test1, 5L); in testStream() 84 mMockListener.testStarted(test2, 11L); in testStream() 102 mReporter.testStarted(test1, 5L); in testStream() 105 mReporter.testStarted(test2, 11L); in testStream() 171 mMockListener.testStarted(test1, 5L); in testStream_noInvocationReporting() 174 mMockListener.testStarted(test2, 11L); in testStream_noInvocationReporting() 190 mReporter.testStarted(test1, 5L); in testStream_noInvocationReporting() 193 mReporter.testStarted(test2, 11L); in testStream_noInvocationReporting()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | FilteredResultForwarder.java | 39 public void testStarted(TestDescription test) { in testStarted() method in FilteredResultForwarder 43 super.testStarted(test); in testStarted() 47 public void testStarted(TestDescription test, long startTime) { in testStarted() method in FilteredResultForwarder 51 super.testStarted(test, startTime); in testStarted()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleListenerTest.java | 56 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/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 88 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/contrib/tests/src/com/android/regression/tests/ |
D | MetricsXmlParserTest.java | 94 mResultReporter.testStarted(testId0); in testSimpleParse() 97 mResultReporter.testStarted(testId1); in testSimpleParse() 100 mResultReporter.testStarted(testId2); in testSimpleParse() 123 mResultReporter.testStarted(testId0); in testParse() 129 mResultReporter.testStarted(testId1); in testParse() 158 mResultReporter.testStarted(testId0); in testParseBlacklist() 164 mResultReporter.testStarted(testId1); in testParseBlacklist()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | FilePullerLogCollectorTest.java | 77 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()
|
D | HostStatsdMetricCollectorTest.java | 94 mCollector.testStarted(mTest); in testCollect_perTest() 96 mCollector.testStarted(mTest); in testCollect_perTest() 117 mCollector.testStarted(mTest); in testCollect_testFail() 120 mCollector.testStarted(mTest); in testCollect_testFail() 137 mCollector.testStarted(mTest); in testCollect_perRun() 139 mCollector.testStarted(mTest); in testCollect_perRun()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableTargetTestTest.java | 93 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdSuccess() 101 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdSuccess() 175 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription)); in testRun_cmdFailed() 184 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_cmdFailed() 227 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription)); in testRun_addExcludeFilter() 234 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_addExcludeFilter() 245 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription3)); in testRun_addExcludeFilter() 282 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription)); in testRun_addIncludeFilter() 289 Mockito.verify(mListener, Mockito.times(1)).testStarted(Mockito.eq(testDescription2)); in testRun_addIncludeFilter() 300 Mockito.verify(mListener, Mockito.never()).testStarted(Mockito.eq(testDescription3)); in testRun_addIncludeFilter() [all …]
|