Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationListener.java127 String message = failure.getErrorMessage(); in testFailed()
147 if (error.getErrorMessage().startsWith(DDMLIB_INSTRU_FAILURE_MSG)) { in testRunFailed()
155 String wrapMessage = error.getErrorMessage(); in testRunFailed()
170 error.getErrorMessage()); in testRunFailed()
178 error.getErrorMessage()); in testRunFailed()
181 } else if (error.getErrorMessage().startsWith(DDMLIB_SHELL_UNRESPONSIVE)) { in testRunFailed()
187 CLog.w("ddmlib reported error: %s.", error.getErrorMessage()); in testRunFailed()
191 } else if (error.getErrorMessage().startsWith(DDMLIB_UNEXPECTED_COUNT)) { in testRunFailed()
196 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/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollector.java72 public String getErrorMessage() { in getErrorMessage() method in BaseGameQualificationMetricCollector
103 if (getErrorMessage().isEmpty()) { in onTestStart()
118 if (getErrorMessage().isEmpty()) { in onTestEnd()
/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/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollectorTest.java40 assertEquals("foo", collector.getErrorMessage()); in onTestStartHasErrorOnException()
57 assertEquals("foo", collector.getErrorMessage()); in onTestEndHasErrorOnException()
/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/src/com/android/tradefed/suite/checker/
DStatusCheckerResult.java62 public String getErrorMessage() { in getErrorMessage() method in StatusCheckerResult
/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()
353 assertEquals("Test run incomplete. Expected 11 tests, received 0", cap.getErrorMessage()); in testParse_interrupted()
DGTestListenerTest.java118 assertTrue(failureDescription.getErrorMessage().contains(duplicateTestsMessage)); in testDuplicateTestsFailsWithOptionEnabled()
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/
DProtoResultReporterTest.java152 assertEquals("run failure", run1.getDebugInfo().getErrorMessage()); in testRunFail_interleavedWithTest()
174 assertEquals("error", invocFailure.getErrorMessage()); in testInvocationFailure()
/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/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/core/javatests/com/android/tradefed/testtype/suite/
DRemoteTestTimeOutEnforcerTest.java79 .getErrorMessage() in testTimeout()
DModuleDefinitionTest.java456 assertThat(failureDescription.getValue().getErrorMessage()).contains(expectedMessage); in testDynamicDownloadThrows_ReportsRunFailed()
489 assertTrue(captured.getValue().getErrorMessage().contains("teardown failed")); in testRun_tearDownException()
568 .getErrorMessage() in testRun_aggregateRunFailures()
692 assertThat(captured.getValue().getErrorMessage()).contains(exceptionMessage); in testRun_failPreparation()
736 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_runtime()
777 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_error()
832 assertTrue(captured1.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_moduleListener()
833 assertTrue(captured2.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_moduleListener()
884 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_unresponsive()
941 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_PassAfterModuleRetry()
[all …]
/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