Home
last modified time | relevance | path

Searched refs:getErrorMessage (Results 1 – 25 of 46) sorted by relevance

12

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationListener.java129 String message = failure.getErrorMessage(); in testFailed()
158 if (error.getErrorMessage().startsWith(DDMLIB_INSTRU_FAILURE_MSG)) { in testRunFailed()
166 String wrapMessage = error.getErrorMessage(); in testRunFailed()
181 error.getErrorMessage()); in testRunFailed()
189 error.getErrorMessage()); in testRunFailed()
192 } else if (error.getErrorMessage().startsWith(DDMLIB_SHELL_UNRESPONSIVE)) { in testRunFailed()
198 CLog.w("ddmlib reported error: %s.", error.getErrorMessage()); in testRunFailed()
202 } else if (error.getErrorMessage().startsWith(DDMLIB_UNEXPECTED_COUNT)) { in testRunFailed()
207 runLevelError = error.getErrorMessage(); in testRunFailed()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DLogcatCrashResultForwarderTest.java120 .getErrorMessage() in testCaptureTestCrash_oneCrashingLogcat()
131 .getErrorMessage() in testCaptureTestCrash_oneCrashingLogcat()
179 .getErrorMessage() in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
227 .getErrorMessage() in testCaptureTestCrash_duplicateStack()
256 assertTrue(captured.getValue().getErrorMessage().contains(trace)); in testTestTimedOutTests()
282 assertTrue(captured.getValue().getErrorMessage().contains(trace)); in testShellTimedOutTests()
DSubprocessResultsReporterTest.java141 assertEquals("no reason", capturedFailure.getErrorMessage()); in testPrintEvent_printToSocket()
193 assertEquals("no reason", capturedFailure.getErrorMessage()); in testPrintEvent_printToSocket_StructuredFailures()
205 assertEquals("invoc error", capturedInvocation.getErrorMessage()); in testPrintEvent_printToSocket_StructuredFailures()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DDeviceUnavailableMonitor.java85 return new DeviceNotAvailableException(failure.getErrorMessage(), mSerial); in analyzeFailure()
88 return new DeviceNotAvailableException(failure.getErrorMessage(), mSerial); in analyzeFailure()
91 return new DeviceUnresponsiveException(failure.getErrorMessage(), mSerial); in analyzeFailure()
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DLeakedThreadStatusCheckerTest.java53 assertNull(result.getErrorMessage()); in testNoLeakedThread()
68 assertTrue(result.getErrorMessage().contains("We have 2 threads instead of 1.")); in testLeakedThread()
87 assertNull(result.getErrorMessage()); in testLeakedThread_background()
DShellStatusCheckerTest.java107 String msg = res.getErrorMessage(); in expectPreAndPost()
118 msg = res.getErrorMessage(); in expectPreAndPost()
DSystemServerFileDescriptorCheckerTest.java94 assertNotNull(postResult.getErrorMessage()); in testUnacceptableFdCount()
DUserCheckerTest.java179 result.getErrorMessage() in testCreateCleanup_cleanupFail()
181 assertTrue(result.getErrorMessage().contains("Failed to remove new user 10")); in testCreateCleanup_cleanupFail()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogcatCrashResultForwarder.java110 String trace = extractCrashAndAddToMessage(failure.getErrorMessage(), mStartTime); in testFailed()
113 } else if (isCrash(failure.getErrorMessage())) { in testFailed()
115 } else if (isTimeout(failure.getErrorMessage())) { in testFailed()
145 String errorMessage = error.getErrorMessage(); in testRunFailed()
DEventsLoggerListener.java110 failure.getErrorMessage(), in testRunFailed()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/logger/
DCurrentInvocationTest.java35 assertEquals("failure", description.getErrorMessage()); in testCreateFailure()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DITestInvocationListener.java92 String.format("ConvertedFailure: %s", failure.getErrorMessage()))); in invocationFailed()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestResultParserTest.java233 .getErrorMessage() in testParseSimpleFile_LinkError()
262 .getErrorMessage() in testParseSimpleFile_earlyError()
313 assertEquals("Test run incomplete. Expected 11 tests, received 0", cap.getErrorMessage()); in testParseSimpleFileWithoutRunComplete()
402 assertEquals("Test run incomplete. Expected 11 tests, received 0", cap.getErrorMessage()); in testParse_interrupted()
DGTestListenerTest.java118 assertTrue(failureDescription.getErrorMessage().contains(duplicateTestsMessage)); in testDuplicateTestsFailsWithOptionEnabled()
DGoogleBenchmarkResultParserTest.java325 assertEquals(failure.getErrorMessage(), errorMessage); in testParse_aborted()
347 assertEquals(failure.getErrorMessage(), errorMessage); in testParse_timedout()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DStatusCheckerResult.java62 public String getErrorMessage() { in getErrorMessage() method in StatusCheckerResult
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DProtoResultReporterTest.java150 assertEquals("run failure", run1.getDebugInfo().getErrorMessage()); in testRunFail_interleavedWithTest()
170 assertEquals("error", invocFailure.getErrorMessage()); in testInvocationFailure()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java376 FailureDescription failure = FailureDescription.create(debugInfo.getErrorMessage()); in handleInvocationEnded()
396 failure.setCause(new RuntimeException(failure.getErrorMessage())); in handleInvocationEnded()
511 FailureDescription failure = FailureDescription.create(debugInfo.getErrorMessage()); in handleTestRunEnd()
557 FailureDescription.create(testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd()
570 FailureDescription.create(testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestMetricsCollectionListener.java97 mFatalErrors.put(mCameraTestBase.getRuKey(), failure.getErrorMessage()); in testRunFailed()
198 public String getErrorMessage() { in getErrorMessage() method in CameraTestMetricsCollectionListener.AbstractCameraTestMetricsCollectionListener
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java457 assertThat(failureDescription.getValue().getErrorMessage()).contains(expectedMessage); in testDynamicDownloadThrows_ReportsRunFailed()
490 assertTrue(captured.getValue().getErrorMessage().contains("teardown failed")); in testRun_tearDownException()
566 .getErrorMessage() in testRun_aggregateRunFailures()
690 assertThat(captured.getValue().getErrorMessage()).contains(exceptionMessage); in testRun_failPreparation()
734 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_runtime()
775 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_error()
831 assertTrue(captured1.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_moduleListener()
832 assertTrue(captured2.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_moduleListener()
883 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_unresponsive()
940 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_PassAfterModuleRetry()
[all …]
DRemoteTestTimeOutEnforcerTest.java79 .getErrorMessage() in testTimeout()
DITestSuiteTest.java693 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_preparationPassAfterRetry_report2times()
779 assertTrue(failure.getErrorMessage().equals("unresponsive")); in testRun_unresponsiveDevice()
849 assertTrue(failures.get(0).getErrorMessage().equals("I failed")); in testRun_deviceUnavailable()
852 .getErrorMessage() in testRun_deviceUnavailable()
911 assertTrue(exception.getErrorMessage().contains("runtime")); in testRun_runtimeException()
1898 assertTrue(failure.getErrorMessage().equals("Injected message")); in testReportNotExecuted()
1977 assertTrue(failures.get(0).getErrorMessage().equals("unavailable")); in testReportNotExecuted_moduleInProgress()
1981 .getErrorMessage() in testReportNotExecuted_moduleInProgress()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DMultiFailureDescription.java78 public String getErrorMessage() { in getErrorMessage() method in MultiFailureDescription
DFailureDescription.java161 public String getErrorMessage() { in getErrorMessage() method in FailureDescription
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java161 tags.put(REASON_KEY, mFailure.getErrorMessage()); in toString()
238 mCause = new Throwable(failure.getErrorMessage()); in InvocationFailedEventInfo()
306 tags.put(REASON_KEY, mFailure.getErrorMessage()); in toString()
456 tags.put(TRACE_KEY, mFailure.getErrorMessage()); in toString()

12