Home
last modified time | relevance | path

Searched refs:testFailed (Results 1 – 25 of 150) sorted by relevance

123456

/tools/tradefederation/core/javatests/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarderTest.java64 mForwarder.testFailed(tid1, "I failed"); in testForwarding()
68 mForwarder.testFailed(tid2, "I failed"); in testForwarding()
75 verify(mMockListener).testFailed(td1, FailureDescription.create("I failed")); in testForwarding()
78 verify(mMockListener).testFailed(td2, FailureDescription.create("I failed")); in testForwarding()
103 mForwarder.testFailed(tid1, "I failed"); in testForwarding_null()
107 mForwarder.testFailed(tid2, "I failed"); in testForwarding_null()
115 inOrder.verify(mMockListener).testFailed(td1, FailureDescription.create("I failed")); in testForwarding_null()
133 mForwarder.testFailed(tid1, "I failed"); in testForwarding_null_ignored()
145 inOrder.verify(mMockListener).testFailed(td1, FailureDescription.create("I failed")); in testForwarding_null_ignored()
174 mForwarder.testFailed(tid1, "I failed"); in testForwarding_initError()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DLogcatCrashResultForwarderTest.java63 mReporter.testFailed(test, "instrumentation failed. reason: 'Process crashed.'"); in testCaptureTestCrash_noCrashInLogcat()
68 .testFailed( in testCaptureTestCrash_noCrashInLogcat()
103 mReporter.testFailed(test, "instrumentation failed. reason: 'Process crashed.'"); in testCaptureTestCrash_oneCrashingLogcat()
111 verify(mMockListener).testFailed(Mockito.eq(test), captured_1.capture()); in testCaptureTestCrash_oneCrashingLogcat()
165 mReporter.testFailed(test, "Something went wrong."); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
171 verify(mMockListener).testFailed(test, FailureDescription.create("Something went wrong.")); in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
213 mReporter.testFailed(test, "Something went wrong."); in testCaptureTestCrash_duplicateStack()
219 verify(mMockListener).testFailed(test, FailureDescription.create("Something went wrong.")); in testCaptureTestCrash_duplicateStack()
250 mReporter.testFailed(test, trace); in testTestTimedOutTests()
254 verify(mMockListener).testFailed(Mockito.eq(test), captured.capture()); in testTestTimedOutTests()
[all …]
DReportPassedTestsTest.java113 TestDescription testFailed = new TestDescription("class", "testName0"); in testReport_withTestFailure() local
114 mReporter.testStarted(testFailed); in testReport_withTestFailure()
115 mReporter.testFailed(testFailed, "failed"); in testReport_withTestFailure()
116 mReporter.testEnded(testFailed, Collections.emptyMap()); in testReport_withTestFailure()
141 mReporter.testFailed(failed, "failed"); in testReport_runFailure_withPassedTestCases()
216 mReporter.testFailed(failed, "failed"); in testReport_moduleFailure_withPassedTestCases_shards()
244 mReporter.testFailed(failed, "failed"); in testReport_moduleFailure_withPassedTestCases()
DTestRunResultTest.java65 result.testFailed(test, "I failed!"); in testGetNumTestsInState_failed()
133 result.testFailed(test2, "failure"); in testMultiRun_WithTestCases()
172 result.testFailed(test, "failure"); in testLogSavedFile_testCases()
250 result1.testFailed(testcase2, "flaky 1"); in testMergeRetriedRunResults_fullMergeLogicCheck()
253 result1.testFailed(testcase3, "bad_code1"); in testMergeRetriedRunResults_fullMergeLogicCheck()
258 result2.testFailed(testcase2, "flaky 2"); in testMergeRetriedRunResults_fullMergeLogicCheck()
261 result2.testFailed(testcase3, "bad_code2"); in testMergeRetriedRunResults_fullMergeLogicCheck()
268 result3.testFailed(testcase3, "bad_code3"); in testMergeRetriedRunResults_fullMergeLogicCheck()
317 result2.testFailed(testcase, "Second run failed."); in testMergeRetriedRunResults_checkMergingStackTraces()
328 result4.testFailed(testcase, "Fourth run failed."); in testMergeRetriedRunResults_checkMergingStackTraces()
[all …]
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DTestTimeoutEnforcer.java84 public void testFailed(TestDescription test, String trace) { in testFailed() method in TestTimeoutEnforcer
85 super.testFailed(test, trace); in testFailed()
91 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in TestTimeoutEnforcer
92 super.testFailed(test, failure); in testFailed()
138 super.testFailed(test, failure); in testEnded()
/tools/tradefederation/core/src/com/android/tradefed/result/
DFilteredResultForwarder.java111 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in FilteredResultForwarder
115 super.testFailed(test, failure); in testFailed()
119 public void testFailed(TestDescription test, String trace) { in testFailed() method in FilteredResultForwarder
123 super.testFailed(test, trace); in testFailed()
DTextResultReporter.java46 public void testFailed(TestDescription testId, String trace) { in testFailed() method in TextResultReporter
47 super.testFailed(testId, trace); in testFailed()
DLogcatCrashResultForwarder.java99 public void testFailed(TestDescription test, String trace) { in testFailed() method in LogcatCrashResultForwarder
100 testFailed(test, FailureDescription.create(trace)); in testFailed()
104 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in LogcatCrashResultForwarder
106 super.testFailed(test, failure); in testFailed()
125 super.testFailed(test, failure); in testFailed()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DLogcatOnFailureCollectorTest.java141 mTestListener.testFailed(test, "I failed");
152 verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any());
182 mTestListener.testFailed(test, "I failed");
190 verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any());
239 mTestListener.testFailed(test, "I failed");
245 mTestListener.testFailed(test2, "I failed");
255 verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any());
272 verify(mMockListener).testFailed(Mockito.eq(test2), (String) Mockito.any());
DScreenshotOnFailureCollectorTest.java73 mTestListener.testFailed(test, "I failed"); in testCollect()
76 verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any()); in testCollect()
96 mTestListener.testFailed(test, "I failed"); in testCollect_skipOffline()
99 verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any()); in testCollect_skipOffline()
DDebugHostLogOnFailureCollectorTest.java109 mTestListener.testFailed(test, "I failed"); in testCollect()
121 Mockito.verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any()); in testCollect()
144 mTestListener.testFailed(test, "I failed"); in testCollect_null()
156 Mockito.verify(mMockListener).testFailed(Mockito.eq(test), (String) Mockito.any()); in testCollect_null()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DTestTimeoutEnforcerTest.java69 .testFailed( in testTimeout()
81 mEnforcer.testFailed(mTest, "i failed"); in testFailedTest()
85 verify(mListener).testFailed(mTest, "i failed"); in testFailedTest()
DPythonUnitTestResultParserTest.java328 inOrder.verify(mMockListener, times(1)).testFailed(Mockito.any(), (String) Mockito.any()); in testParseSingleTestFail()
362 inOrder.verify(mMockListener, times(1)).testFailed(Mockito.any(), (String) Mockito.any()); in testParseSubtestFailure()
398 inOrder.verify(mMockListener, times(1)).testFailed(Mockito.any(), (String) Mockito.any()); in testParseMultiTestFailWithExpectedFailure()
433 verify(mMockListener, times(1)).testFailed(Mockito.any(), (String) Mockito.any()); in testParseMultiTestWithModuleClassAndMixedResults()
456 inOrder.verify(mMockListener, times(1)).testFailed(Mockito.any(), (String) Mockito.any()); in testParseSingleTestUnexpectedSuccess()
535 inOrder.verify(mMockListener, times(1)).testFailed(Mockito.any(), (String) Mockito.any()); in testParseSingleTestFailWithDocString()
653 .testFailed(Mockito.any(), Mockito.eq(expectedTrackback)); in testCaptureMultilineTraceback()
670 .testFailed( in testParseRealOutput()
676 .testFailed( in testParseRealOutput()
686 .testFailed( in testParseRealOutput()
[all …]
DDeviceBatteryLevelCheckerTest.java157 .testFailed( in testNull()
164 verify(mMockListener).testFailed(mTestDescription2, failure); in testNull()
205 .testFailed(Mockito.eq(mTestDescription2), Mockito.<FailureDescription>any()); in testLow()
271 .testFailed( in testLow_becomeNull()
278 verify(mMockListener).testFailed(mTestDescription2, failure); in testLow_becomeNull()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDynamicFileStubTest.java79 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()
DDeviceBatteryLevelChecker.java156 listener.testFailed(mChargingSpeed, failure); in run()
180 listener.testFailed( in runTest()
268 listener.testFailed( in runBatteryCharging()
289 listener.testFailed( in checkChargingSpeed()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DITestLifeCycleReceiver.java155 public default void testFailed(TestDescription test, String trace) {} in testFailed() method
165 public default void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method
166 testFailed(test, failure.toString()); in testFailed()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DConditionFailureMonitor.java59 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in ConditionFailureMonitor
65 public void testFailed(TestDescription test, String trace) { in testFailed() method in ConditionFailureMonitor
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java114 .testFailed(eq(new TestDescription("test", "test")), eq(failure)); in testRunHostExecutable_doesNotExists()
139 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable()
173 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable_relativePath()
219 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable_dnae()
252 verify(mMockListener, Mockito.times(0)).testFailed(any(), (String) any()); in testRunHostExecutable_search()
287 verify(mMockListener, Mockito.times(1)).testFailed(any(), eq(failure)); in testRunHostExecutable_notFound()
329 .testFailed( in testRunHostExecutable_failure()
375 .testFailed( in testRunHostExecutable_timeout()
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DForwardingTestListener.java101 public void testFailed(TestDescription test, String trace) { in testFailed() method in ForwardingTestListener
102 delegate().testFailed(test, trace); in testFailed()
106 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in ForwardingTestListener
107 delegate().testFailed(test, failure); in testFailed()
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DStreamProtoResultReporterTest.java104 mReporter.testFailed(test2, "I failed"); in testStream()
132 inOrder.verify(mMockListener).testFailed(test2, FailureDescription.create("I failed")); in testStream()
151 verify(mMockListener).testFailed(test2, FailureDescription.create("I failed")); in testStream()
215 mReporter.testFailed(test2, "I failed"); in testStream_noInvocationReporting()
242 verify(mMockListener).testFailed(test2, FailureDescription.create("I failed")); in testStream_noInvocationReporting()
/tools/tradefederation/core/src/com/android/tradefed/retry/
DResultAggregator.java335 public void testFailed(TestDescription test, String trace) { in testFailed() method in ResultAggregator
336 super.testFailed(test, trace); in testFailed()
337 mDetailedForwarder.testFailed(test, trace); in testFailed()
341 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in ResultAggregator
342 super.testFailed(test, failure); in testFailed()
343 mDetailedForwarder.testFailed(test, failure); in testFailed()
477 listener.testFailed(testEntry.getKey(), testEntry.getValue().getFailure()); in forwardTestResults()
487 listener.testFailed( in forwardTestResults()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java173 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/javatests/com/android/tradefed/retry/
DResultAggregatorTest.java155 mAggregator.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding()
195 .testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding()
290 mAggregator.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_emptyModule()
318 .testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_emptyModule()
342 .testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_emptyModule()
406 mAggregator.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_newResult()
446 .testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_newResult()
553 mAggregator.testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_assumptionFailure()
593 .testFailed(test2, FailureDescription.create("I failed. retry me.")); in testForwarding_assumptionFailure()
698 mAggregator.testFailed(test2, "I failed. retry me."); in testForwarding_runFailure()
[all …]
/tools/asuite/atest/bazel/reporter/src/com/android/tradefed/result/
DBazelExitCodeResultReporter.java73 public void testFailed(TestDescription test, String trace) { in testFailed() method in BazelExitCodeResultReporter
78 public void testFailed(TestDescription test, FailureDescription failure) { in testFailed() method in BazelExitCodeResultReporter

123456