Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java1130 FailureDescription failureDescription = in reportSetupFailure() local
1135 failureDescription.setErrorIdentifier(id); in reportSetupFailure()
1136 failureDescription.setFailureStatus(id.status()); in reportSetupFailure()
1137 failureDescription.setOrigin(((IHarnessException) setupException).getOrigin()); in reportSetupFailure()
1140 failureDescription.setFailureStatus(FailureStatus.UNSET); in reportSetupFailure()
1141 failureDescription.setErrorIdentifier( in reportSetupFailure()
1144 failureDescription.setFailureStatus(FailureStatus.UNSET); in reportSetupFailure()
1146 failureDescription.setCause(setupException); in reportSetupFailure()
1147 forwarder.testRunFailed(failureDescription); in reportSetupFailure()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java529 FailureDescription failureDescription = in run()
531 failureDescription.setFailureStatus(FailureStatus.TEST_FAILURE); in run()
532 listener.testRunFailed(failureDescription); in run()
593 FailureDescription failureDescription = in runTestClasses()
595 failureDescription.setFailureStatus(FailureStatus.TEST_FAILURE); in runTestClasses()
596 listener.testRunFailed(failureDescription); in runTestClasses()
628 FailureDescription failureDescription = in runTestCases()
630 failureDescription.setFailureStatus(FailureStatus.TEST_FAILURE); in runTestCases()
631 listener.testRunFailed(failureDescription); in runTestCases()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DTestRunResult.java342 public void testRunFailed(FailureDescription failureDescription) { in testRunFailed() argument
343 if (failureDescription == null) { in testRunFailed()
344 failureDescription = FailureDescription.create("testRunFailed(null) was called."); in testRunFailed()
349 ((MultiFailureDescription) mRunFailureError).addFailure(failureDescription); in testRunFailed()
352 new MultiFailureDescription(mRunFailureError, failureDescription); in testRunFailed()
356 mRunFailureError = failureDescription; in testRunFailed()
DTestResult.java143 public void setFailure(FailureDescription failureDescription) { in setFailure() argument
144 mFailureDescription = failureDescription; in setFailure()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestListenerTest.java127 FailureDescription failureDescription = capturedFailureDescription.getValue(); in testDuplicateTestsFailsWithOptionEnabled() local
128 assertTrue(failureDescription.getErrorMessage().contains(duplicateTestsMessage)); in testDuplicateTestsFailsWithOptionEnabled()
129 assertTrue(FailureStatus.TEST_FAILURE.equals(failureDescription.getFailureStatus())); in testDuplicateTestsFailsWithOptionEnabled()
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/
DTestRunToTestInvocationForwarder.java187 FailureDescription failureDescription = FailureDescription.create(failure); in testRunFailed() local
188 failureDescription.setFailureStatus(FailureStatus.TEST_FAILURE); in testRunFailed()
191 listener.testRunFailed(failureDescription); in testRunFailed()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultParser.java94 FailureDescription failureDescription = in reportToListeners() local
106 listener.testFailed(testDescription, failureDescription); in reportToListeners()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java457 Capture<FailureDescription> failureDescription = new Capture<>(); in testDynamicDownloadThrows_ReportsRunFailed() local
458 mMockListener.testRunFailed(EasyMock.capture(failureDescription)); in testDynamicDownloadThrows_ReportsRunFailed()
463 assertThat(failureDescription.getValue().getErrorMessage()).contains(expectedMessage); in testDynamicDownloadThrows_ReportsRunFailed()