/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | InstrumentationListener.java | 127 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/ |
D | LogcatCrashResultForwarderTest.java | 120 .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()
|
D | SubprocessResultsReporterTest.java | 141 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/ |
D | DeviceUnavailableMonitor.java | 85 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/ |
D | BaseGameQualificationMetricCollector.java | 72 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/ |
D | LeakedThreadStatusCheckerTest.java | 53 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()
|
D | ShellStatusCheckerTest.java | 107 String msg = res.getErrorMessage(); in expectPreAndPost() 118 msg = res.getErrorMessage(); in expectPreAndPost()
|
D | UserCheckerTest.java | 179 result.getErrorMessage() in testCreateCleanup_cleanupFail() 181 assertTrue(result.getErrorMessage().contains("Failed to remove new user 10")); in testCreateCleanup_cleanupFail()
|
D | SystemServerFileDescriptorCheckerTest.java | 94 assertNotNull(postResult.getErrorMessage()); in testUnacceptableFdCount()
|
/tools/test/graphicsbenchmark/performance_tests/hostside/test/com/android/game/qualification/metric/ |
D | BaseGameQualificationMetricCollectorTest.java | 40 assertEquals("foo", collector.getErrorMessage()); in onTestStartHasErrorOnException() 57 assertEquals("foo", collector.getErrorMessage()); in onTestEndHasErrorOnException()
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 110 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()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | GTestResultParserTest.java | 233 .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()
|
D | GoogleBenchmarkResultParserTest.java | 321 assertEquals(failure.getErrorMessage(), errorMessage); in testParse_aborted() 343 assertEquals(failure.getErrorMessage(), errorMessage); in testParse_timedout()
|
D | GTestListenerTest.java | 118 assertTrue(failureDescription.getErrorMessage().contains(duplicateTestsMessage)); in testDuplicateTestsFailsWithOptionEnabled()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultParser.java | 376 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/ |
D | ModuleDefinitionTest.java | 456 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 …]
|
D | ITestSuiteTest.java | 677 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_preparationPassAfterRetry_report2times() 763 assertTrue(failure.getErrorMessage().equals("unresponsive")); in testRun_unresponsiveDevice() 833 assertTrue(failures.get(0).getErrorMessage().equals("I failed")); in testRun_deviceUnavailable() 836 .getErrorMessage() in testRun_deviceUnavailable() 895 assertTrue(exception.getErrorMessage().contains("runtime")); in testRun_runtimeException() 1882 assertTrue(failure.getErrorMessage().equals("Injected message")); in testReportNotExecuted() 1929 .getErrorMessage() in testReportNotExecuted_moduleInProgress() 1934 assertTrue(failures.get(1).getErrorMessage().equals("Injected message")); in testReportNotExecuted_moduleInProgress()
|
D | RemoteTestTimeOutEnforcerTest.java | 79 .getErrorMessage() in testTimeout()
|
/tools/tradefederation/core/javatests/com/android/tradefed/result/proto/ |
D | ProtoResultReporterTest.java | 152 assertEquals("run failure", run1.getDebugInfo().getErrorMessage()); in testRunFail_interleavedWithTest() 174 assertEquals("error", invocFailure.getErrorMessage()); in testInvocationFailure()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraTestMetricsCollectionListener.java | 97 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/util/ |
D | SubprocessEventHelper.java | 161 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()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/logger/ |
D | CurrentInvocationTest.java | 35 assertEquals("failure", description.getErrorMessage()); in testCreateFailure()
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/ |
D | ITestInvocationListener.java | 92 String.format("ConvertedFailure: %s", failure.getErrorMessage()))); in invocationFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | StatusCheckerResult.java | 62 public String getErrorMessage() { in getErrorMessage() method in StatusCheckerResult
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | MultiFailureDescription.java | 78 public String getErrorMessage() { in getErrorMessage() method in MultiFailureDescription
|