Home
last modified time | relevance | path

Searched refs:failureDescription (Results 1 – 12 of 12) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestListenerTest.java117 FailureDescription failureDescription = capturedFailureDescription.getValue(); in testDuplicateTestsFailsWithOptionEnabled() local
118 assertTrue(failureDescription.getErrorMessage().contains(duplicateTestsMessage)); in testDuplicateTestsFailsWithOptionEnabled()
119 assertTrue(FailureStatus.TEST_FAILURE.equals(failureDescription.getFailureStatus())); in testDuplicateTestsFailsWithOptionEnabled()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParser.java114 FailureDescription failureDescription = in reportToListeners() local
123 listener.testRunFailed(failureDescription); in reportToListeners()
141 listener.testFailed(testDescription, failureDescription); in reportToListeners()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java394 public void testRunFailed(FailureDescription failureDescription) { in testRunFailed() argument
395 if (failureDescription == null) { in testRunFailed()
396 failureDescription = FailureDescription.create("testRunFailed(null) was called."); in testRunFailed()
401 ((MultiFailureDescription) mRunFailureError).addFailure(failureDescription); in testRunFailed()
404 new MultiFailureDescription(mRunFailureError, failureDescription); in testRunFailed()
408 mRunFailureError = failureDescription; in testRunFailed()
DTestResult.java158 public void setFailure(FailureDescription failureDescription) { in setFailure() argument
159 mFailureDescription = failureDescription; in setFailure()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java205 FailureDescription failureDescription = FailureDescription.create(failure); in testRunFailed() local
206 failureDescription.setFailureStatus(FailureStatus.TEST_FAILURE); in testRunFailed()
209 listener.testRunFailed(failureDescription); in testRunFailed()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java1540 FailureDescription failureDescription = in reportSetupFailure() local
1545 failureDescription.setErrorIdentifier(id); in reportSetupFailure()
1546 failureDescription.setFailureStatus(id.status()); in reportSetupFailure()
1547 failureDescription.setOrigin(((IHarnessException) setupException).getOrigin()); in reportSetupFailure()
1550 failureDescription.setFailureStatus(FailureStatus.UNSET); in reportSetupFailure()
1551 failureDescription.setErrorIdentifier( in reportSetupFailure()
1554 failureDescription.setFailureStatus(FailureStatus.UNSET); in reportSetupFailure()
1556 failureDescription.setCause(setupException); in reportSetupFailure()
1557 forwarder.testRunFailed(failureDescription); in reportSetupFailure()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlSuiteResultFormatter.java326 FailureDescription failureDescription = module.getRunFailureDescription(); in writeResults() local
329 if (failureDescription != null && failureDescription.getErrorIdentifier() != null) { in writeResults()
331 NS, ERROR_NAME_ATTR, failureDescription.getErrorIdentifier().name()); in writeResults()
335 Long.toString(failureDescription.getErrorIdentifier().code())); in writeResults()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/mobly/
DMoblyBinaryHostTestTest.java490 FailureDescription failureDescription = in testRun_exitFailed_withTestResultFileIncomplete_whenAlreadyFailed() local
495 verify(mockListener, times(1)).testRunFailed(eq(failureDescription)); in testRun_exitFailed_withTestResultFileIncomplete_whenAlreadyFailed()
1200 FailureDescription failureDescription = in testFilterTests_withInvalidIncludeFilters() local
1206 verify(mockListener, times(1)).testRunFailed(eq(failureDescription)); in testFilterTests_withInvalidIncludeFilters()
1274 FailureDescription failureDescription = in testFilterTests_withInvalidExcludeFilters() local
1280 verify(mockListener, times(1)).testRunFailed(eq(failureDescription)); in testFilterTests_withInvalidExcludeFilters()
/tools/tradefederation/core/javatests/com/android/tradefed/result/suite/
DXmlSuiteResultFormatterTest.java216 FailureDescription failureDescription = in testFailuresReporting_notDone() local
219 runResults.get(0).testRunFailed(failureDescription); in testFailuresReporting_notDone()
828 FailureDescription failureDescription = in createFakeResult() local
832 fakeRes.testFailed(description, failureDescription); in createFakeResult()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java471 FailureDescription failureDescription = in runRemote() local
485 failureDescription = in runRemote()
493 currentInvocationListener.invocationFailed(failureDescription); in runRemote()
/tools/asuite/atest/bazel/runner/src/com/android/tradefed/testtype/bazel/
DBazelTest.java942 public AbortRunException(FailureDescription failureDescription) { in AbortRunException() argument
943 super(failureDescription.getErrorMessage()); in AbortRunException()
944 mFailureDescription = failureDescription; in AbortRunException()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java453 ArgumentCaptor<FailureDescription> failureDescription = in testDynamicDownloadThrows_ReportsRunFailed() local
455 verify(mMockListener).testRunFailed(failureDescription.capture()); in testDynamicDownloadThrows_ReportsRunFailed()
456 assertThat(failureDescription.getValue().getErrorMessage()).contains(expectedMessage); in testDynamicDownloadThrows_ReportsRunFailed()