/tools/tradefederation/core/tests/src/com/android/tradefed/retry/ |
D | ResultAggregatorTest.java | 128 mDetailedListener.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding() 191 mAggregator.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding() 245 mDetailedListener.testFailed(test2, "I failed. retry me."); in testForwarding_runFailure() 295 mAggregator.testFailed(test2, "I failed. retry me."); in testForwarding_runFailure() 340 mDetailedListener.testFailed(test2, "I failed. retry me."); in testForwarding_runFailure_noRerun() 357 mAggListener.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_runFailure_noRerun() 383 mAggregator.testFailed(test2, "I failed. retry me."); in testForwarding_runFailure_noRerun() 421 mDetailedListener.testFailed(test2, "I failed. retry me."); in testForwarding_runFailure_aggregation() 430 mDetailedListener.testFailed(test2, "I failed. retry me."); in testForwarding_runFailure_aggregation() 453 mAggListener.testFailed( in testForwarding_runFailure_aggregation() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | PythonUnitTestResultParserTest.java | 531 mMockListener.testFailed(anyObject(), eq(expectedTrackback)); in testCaptureMultilineTraceback() 553 mMockListener.testFailed( in testParseRealOutput() 556 mMockListener.testFailed( in testParseRealOutput() 562 mMockListener.testFailed( in testParseRealOutput() 606 mMockListener.testFailed( in testParseRealOutput3() 630 mMockListener.testFailed( in testParseSubtestOutput() 635 mMockListener.testFailed( in testParseSubtestOutput() 666 mMockListener.testFailed( in testParseTestResults_withIncludeFilters() 727 mMockListener.testFailed( in testParseTestResults_withExcludeFilters() 730 mMockListener.testFailed( in testParseTestResults_withExcludeFilters() [all …]
|
D | GTestResultParserTest.java | 141 mockRunListener.testFailed( in testParseWithFailures() 155 mockRunListener.testFailed( in testParseWithFailures() 162 mockRunListener.testFailed( in testParseWithFailures() 200 mockRunListener.testFailed( in testParseWithErrors() 214 mockRunListener.testFailed( in testParseWithErrors() 279 mockRunListener.testFailed( in testParseSimpleFile_AltFormat() 285 mockRunListener.testFailed( in testParseSimpleFile_AltFormat() 292 mockRunListener.testFailed( in testParseSimpleFile_AltFormat() 404 mockRunListener.testFailed( in testParseSimpleFileWithoutRunComplete()
|
D | DeviceBatteryLevelCheckerTest.java | 127 mMockListener.testFailed( in testNull() 133 mMockListener.testFailed(mTestDescription2, failure); in testNull() 175 mMockListener.testFailed( in testLow() 236 mMockListener.testFailed( in testLow_becomeNull() 242 mMockListener.testFailed(mTestDescription2, failure); in testLow_becomeNull()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarderTest.java | 58 mMockListener.testFailed(td1, "I failed"); in testForwarding() 62 mMockListener.testFailed(td2, "I failed"); in testForwarding() 72 mForwarder.testFailed(tid1, "I failed"); in testForwarding() 76 mForwarder.testFailed(tid2, "I failed"); in testForwarding() 91 mMockListener.testFailed(td1, "I failed"); in testForwarding_null() 111 mForwarder.testFailed(tid1, "I failed"); in testForwarding_null() 115 mForwarder.testFailed(tid2, "I failed"); in testForwarding_null() 130 mMockListener.testFailed(td1, "I failed"); in testForwarding_initError() 150 mForwarder.testFailed(tid1, "I failed"); in testForwarding_initError() 154 mForwarder.testFailed(tid2, "I failed"); in testForwarding_initError()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/ |
D | TestRunResultTest.java | 66 result.testFailed(test, "I failed!"); in testGetNumTestsInState_failed() 134 result.testFailed(test2, "failure"); in testMultiRun_WithTestCases() 173 result.testFailed(test, "failure"); in testLogSavedFile_testCases() 251 result1.testFailed(testcase2, "flaky 1"); in testMergeRetriedRunResults_fullMergeLogicCheck() 254 result1.testFailed(testcase3, "bad_code1"); in testMergeRetriedRunResults_fullMergeLogicCheck() 259 result2.testFailed(testcase2, "flaky 2"); in testMergeRetriedRunResults_fullMergeLogicCheck() 262 result2.testFailed(testcase3, "bad_code2"); in testMergeRetriedRunResults_fullMergeLogicCheck() 269 result3.testFailed(testcase3, "bad_code3"); in testMergeRetriedRunResults_fullMergeLogicCheck() 318 result2.testFailed(testcase, "Second run failed."); in testMergeRetriedRunResults_checkMergingStackTraces() 329 result4.testFailed(testcase, "Fourth run failed."); in testMergeRetriedRunResults_checkMergingStackTraces() [all …]
|
D | LogcatCrashResultForwarderTest.java | 56 mMockListener.testFailed( in testCaptureTestCrash_noCrashInLogcat() 63 mReporter.testFailed(test, "instrumentation failed. reason: 'Process crashed.'"); in testCaptureTestCrash_noCrashInLogcat() 96 mMockListener.testFailed(EasyMock.eq(test), EasyMock.capture(captured_1)); in testCaptureTestCrash_oneCrashingLogcat() 104 mReporter.testFailed(test, "instrumentation failed. reason: 'Process crashed.'"); in testCaptureTestCrash_oneCrashingLogcat() 150 mMockListener.testFailed(test, FailureDescription.create("Something went wrong.")); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 158 mReporter.testFailed(test, "Something went wrong."); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded() 198 mMockListener.testFailed(test, FailureDescription.create("Something went wrong.")); in testCaptureTestCrash_duplicateStack() 206 mReporter.testFailed(test, "Something went wrong."); in testCaptureTestCrash_duplicateStack()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/ |
D | LogcatOnFailureCollectorTest.java | 114 mMockListener.testFailed(EasyMock.eq(test), (String) EasyMock.anyObject()); in testCollect() 135 mTestListener.testFailed(test, "I failed"); in testCollect() 155 mMockListener.testFailed(EasyMock.eq(test), (String) EasyMock.anyObject()); in testCollect_legacy() 171 mTestListener.testFailed(test, "I failed"); in testCollect_legacy() 204 mMockListener.testFailed(EasyMock.eq(test), (String) EasyMock.anyObject()); in testCollect_multiRun() 224 mMockListener.testFailed(EasyMock.eq(test2), (String) EasyMock.anyObject()); in testCollect_multiRun() 245 mTestListener.testFailed(test, "I failed"); in testCollect_multiRun() 251 mTestListener.testFailed(test2, "I failed"); in testCollect_multiRun()
|
D | ScreenshotOnFailureCollectorTest.java | 63 mMockListener.testFailed(EasyMock.eq(test), (String) EasyMock.anyObject()); in testCollect() 80 mTestListener.testFailed(test, "I failed"); in testCollect() 89 mMockListener.testFailed(EasyMock.eq(test), (String) EasyMock.anyObject()); in testCollect_skipOffline() 100 mTestListener.testFailed(test, "I failed"); in testCollect_skipOffline()
|
D | DebugHostLogOnFailureCollectorTest.java | 108 mTestListener.testFailed(test, "I failed"); in testCollect() 120 Mockito.verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any()); in testCollect() 143 mTestListener.testFailed(test, "I failed"); in testCollect_null() 155 Mockito.verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any()); in testCollect_null()
|
/tools/tradefederation/core/src/com/android/tradefed/retry/ |
D | ResultAggregator.java | 260 public void testFailed(TestDescription test, String trace) { in testFailed() method in ResultAggregator 261 super.testFailed(test, trace); in testFailed() 262 mDetailedForwarder.testFailed(test, trace); in testFailed() 266 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in ResultAggregator 267 super.testFailed(test, failure); in testFailed() 268 mDetailedForwarder.testFailed(test, failure); in testFailed() 386 listener.testFailed(testEntry.getKey(), testEntry.getValue().getFailure()); in forwardTestResults() 396 listener.testFailed( in forwardTestResults()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/ |
D | ProtoResultParserTest.java | 161 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents() 203 mTestParser.testFailed(test2, "I failed"); in testEvents() 380 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents_finaleProto() 404 mFinalTestParser.testFailed(test2, "I failed"); in testEvents_finaleProto() 573 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents_subprocess() 603 mTestParser.testFailed(test2, "I failed"); in testEvents_subprocess() 671 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testEvents_finaleProto_partialEvents() 696 mFinalTestParser.testFailed(test2, "I failed"); in testEvents_finaleProto_partialEvents()
|
D | StreamProtoResultReporterTest.java | 85 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testStream() 106 mReporter.testFailed(test2, "I failed"); in testStream() 175 mMockListener.testFailed(test2, FailureDescription.create("I failed")); in testStream_noInvocationReporting() 194 mReporter.testFailed(test2, "I failed"); in testStream_noInvocationReporting()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/ |
D | ModuleDefinitionTest.java | 244 listener.testFailed(test, "I failed."); in run() 545 mMockListener.testFailed(EasyMock.anyObject(), (String) EasyMock.anyObject()); in testRun_aggregateRunFailures() 987 mMockListener.testFailed(EasyMock.anyObject(), (String) EasyMock.anyObject()); in testRun_partialRun() 1049 mMockListener.testFailed(EasyMock.anyObject(), (String) EasyMock.anyObject()); in testRun_partialRun_error() 1119 listener.testFailed( in testModuleController_fullBypass() 1168 listener.testFailed(tid, "I failed"); in testModuleController_skipTestCases() 1324 listener.testFailed( in testOverrideModuleConfig() 1387 mMockListener.testFailed(EasyMock.anyObject(), (String) EasyMock.anyObject()); in testRun_partialRun_deviceUnresponsive() 1635 mMockListener.testFailed(EasyMock.eq(testFail0), (String) EasyMock.anyObject()); in testMultiRun_multiAttempts() 1656 mMockListener.testFailed(EasyMock.eq(testFail0_1), (String) EasyMock.anyObject()); in testMultiRun_multiAttempts() [all …]
|
D | ITestSuiteTest.java | 231 listener.testFailed(test, mFailed); in run() 390 private void expectTestRun(ITestInvocationListener listener, boolean testFailed) { in expectTestRun() argument 391 expectTestRun(listener, mTestFailedMessage, testFailed); in expectTestRun() 396 ITestInvocationListener listener, String message, boolean testFailed) { in expectTestRun() argument 402 if (testFailed) { in expectTestRun() 403 listener.testFailed(test, message); in expectTestRun() 412 ITestInvocationListener listener, int totalAttempt, boolean testFailed) { in expectIntraModuleTestRun() argument 418 if (testFailed) { in expectIntraModuleTestRun() 419 listener.testFailed(test, mTestFailedMessage); in expectIntraModuleTestRun() 1606 mMockListener.testFailed(testId, mTestFailedMessage); in testRun_GranularRerunwithModuleListener()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTestTest.java | 132 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable() 166 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable_relativePath() 212 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable_dnae() 245 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable_search() 322 .testFailed( in testRunHostExecutable_failure() 368 .testFailed( in testRunHostExecutable_timeout()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 93 mMockListener.testFailed(testFail, "fail0"); in testReplay() 122 mMockListener.testFailed(testFail, "fail0"); in testReplayModules() 138 mMockListener.testFailed(testFail, "fail0"); in testReplayModules() 210 mMockListener.testFailed(test2, "fail0"); in testReplay_MultiTest() 232 result.testFailed(test, "fail" + i); in createTestRunResult()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | DynamicFileStubTest.java | 79 listener.testFailed(testId, String.format("%s doesn't exist.", mFile.getPath())); in checkDynamicFile() 96 listener.testFailed(testId, String.format("%s doesn't exist.", nonExistFiles)); in checkDynamicFileList() 116 listener.testFailed(testId, String.format("%s doesn't exist.", nonExistFiles)); in checkDynamicFileMap() 139 listener.testFailed(testId, String.format("%s doesn't exist.", nonExistFiles)); in checkDynamicFileMultiMap()
|
D | DeviceBatteryLevelChecker.java | 156 listener.testFailed(mChargingSpeed, failure); in run() 180 listener.testFailed( in runTest() 268 listener.testFailed( in runBatteryCharging() 289 listener.testFailed( in checkChargingSpeed()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 68 public void testFailed(TestDescription test, String trace) { in testFailed() method in LogcatCrashResultForwarder 69 testFailed(test, FailureDescription.create(trace)); in testFailed() 73 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in LogcatCrashResultForwarder 81 super.testFailed(test, failure); in testFailed()
|
D | ResultForwarder.java | 286 public void testFailed(TestDescription test, String trace) { in testFailed() method in ResultForwarder 289 listener.testFailed(test, trace); in testFailed() 299 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in ResultForwarder 302 listener.testFailed(test, failure); in testFailed()
|
D | CollectingTestListener.java | 296 public void testFailed(TestDescription test, String trace) { in testFailed() method in CollectingTestListener 298 mCurrentTestRunResult.testFailed(test, trace); in testFailed() 302 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in CollectingTestListener 304 mCurrentTestRunResult.testFailed(test, failure); in testFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 180 public void testFailed(TestDescription test, String trace) { in testFailed() method in ModuleListener 186 super.testFailed(test, trace); in testFailed() 191 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in ModuleListener 197 super.testFailed(test, failure); in testFailed()
|
/tools/tradefederation/contrib/src/com/android/fastboot/tests/ |
D | FastbootTest.java | 173 listener.testFailed( in testFastboot() 219 listener.testFailed(firstBootTestId, "Device not available after flashing"); in testFastboot() 237 listener.testFailed(firstBootTestId, "Reading of battery level is wrong."); in testFastboot() 245 listener.testFailed(firstBootTestId, "Failed to query battery level."); in testFastboot()
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 209 public final void testFailed(TestDescription test, String trace) { in testFailed() method in BasePostProcessor 210 mForwarder.testFailed(test, trace); in testFailed() 214 public final void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in BasePostProcessor 215 mForwarder.testFailed(test, failure); in testFailed()
|