/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | GTestListenerTest.java | 117 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/ |
D | MoblyYamlResultParser.java | 114 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/ |
D | TestRunResult.java | 394 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()
|
D | TestResult.java | 158 public void setFailure(FailureDescription failureDescription) { in setFailure() argument 159 mFailureDescription = failureDescription; in setFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ddmlib/ |
D | TestRunToTestInvocationForwarder.java | 205 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/ |
D | ModuleDefinition.java | 1540 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/ |
D | XmlSuiteResultFormatter.java | 326 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/ |
D | MoblyBinaryHostTestTest.java | 490 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/ |
D | XmlSuiteResultFormatterTest.java | 216 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/ |
D | RemoteInvocationExecution.java | 471 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/ |
D | BazelTest.java | 942 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/ |
D | ModuleDefinitionTest.java | 453 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()
|