Home
last modified time | relevance | path

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

12

/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DBaseGameQualificationMetricCollector.java72 public String getErrorMessage() { in getErrorMessage() method in BaseGameQualificationMetricCollector
104 if (getErrorMessage().isEmpty()) { in onTestStart()
120 if (getErrorMessage().isEmpty()) { in onTestEnd()
/tools/tradefederation/core/tests/src/com/android/tradefed/suite/checker/
DLeakedThreadStatusCheckerTest.java51 assertNull(result.getErrorMessage()); in testNoLeakedThread()
66 assertTrue(result.getErrorMessage().contains("We have 2 threads instead of 1.")); in testLeakedThread()
85 assertNull(result.getErrorMessage()); in testLeakedThread_background()
DShellStatusCheckerTest.java99 String msg = res.getErrorMessage(); in expectPreAndPost()
110 msg = res.getErrorMessage(); in expectPreAndPost()
DSystemServerFileDescriptorCheckerTest.java101 assertNotNull(postResult.getErrorMessage()); in testUnacceptableFdCount()
DUserCheckerTest.java181 result.getErrorMessage() in testCreateCleanup_cleanupFail()
183 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/tests/src/com/android/tradefed/result/
DLogcatCrashResultForwarderTest.java110 .getErrorMessage() in testCaptureTestCrash_oneCrashingLogcat()
155 .getErrorMessage() in testCaptureTestCrash_oneCrashingLogcatAfterTestEnded()
203 .getErrorMessage() in testCaptureTestCrash_duplicateStack()
DSubprocessResultsReporterTest.java147 assertEquals("no reason", capturedFailure.getErrorMessage()); in testPrintEvent_printToSocket()
199 assertEquals("no reason", capturedFailure.getErrorMessage()); in testPrintEvent_printToSocket_StructuredFailures()
211 assertEquals("invoc error", capturedInvocation.getErrorMessage()); in testPrintEvent_printToSocket_StructuredFailures()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DStatusCheckerResult.java57 public String getErrorMessage() { in getErrorMessage() method in StatusCheckerResult
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/result/
DITestInvocationListener.java88 String.format("ConvertedFailure: %s", failure.getErrorMessage()))); in invocationFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/logger/
DCurrentInvocationTest.java35 assertEquals("failure", description.getErrorMessage()); in testCreateFailure()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogcatCrashResultForwarder.java77 String trace = extractCrashAndAddToMessage(failure.getErrorMessage(), mStartTime); in testFailed()
99 String errorMessage = error.getErrorMessage(); in testRunFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/proto/
DProtoResultReporterTest.java150 assertEquals("run failure", run1.getDebugInfo().getErrorMessage()); in testRunFail_interleavedWithTest()
172 assertEquals("error", invocFailure.getErrorMessage()); in testInvocationFailure()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DMultiFailureDescription.java74 public String getErrorMessage() { in getErrorMessage() method in MultiFailureDescription
DFailureDescription.java139 public String getErrorMessage() { in getErrorMessage() method in FailureDescription
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultParser.java304 FailureDescription failure = FailureDescription.create(debugInfo.getErrorMessage()); in handleInvocationEnded()
415 FailureDescription failure = FailureDescription.create(debugInfo.getErrorMessage()); in handleTestRunEnd()
452 FailureDescription.create(testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd()
465 FailureDescription.create(testcaseProto.getDebugInfo().getErrorMessage()); in handleTestCaseEnd()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DInstrumentationListener.java97 if (error.getErrorMessage().startsWith(DDMLIB_INSTRU_FAILURE_MSG)) { in testRunFailed()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java460 assertThat(failureDescription.getValue().getErrorMessage()).contains(expectedMessage); in testDynamicDownloadThrows_ReportsRunFailed()
492 assertTrue(captured.getValue().getErrorMessage().contains("teardown failed")); in testRun_tearDownException()
572 .getErrorMessage() in testRun_aggregateRunFailures()
696 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation()
740 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_runtime()
781 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_error()
838 assertTrue(captured1.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_moduleListener()
839 assertTrue(captured2.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_moduleListener()
887 assertTrue(captured.getValue().getErrorMessage().contains(exceptionMessage)); in testRun_failPreparation_unresponsive()
1584 assertTrue(captured.getValue().getErrorMessage().contains("early failure!")); in testRun_earlyFailure()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSubprocessEventHelper.java198 tags.put(REASON_KEY, mFailure.getErrorMessage()); in toString()
274 mCause = new Throwable(failure.getErrorMessage()); in InvocationFailedEventInfo()
341 tags.put(REASON_KEY, mFailure.getErrorMessage()); in toString()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestListenerTest.java128 assertTrue(failureDescription.getErrorMessage().contains(duplicateTestsMessage)); in testDuplicateTestsFailsWithOptionEnabled()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCamera2FrameworkStressTest.java102 getErrorMessage()); in testEnded()
DCamera2StressTest.java86 getErrorMessage()); in testEnded()
DCameraTestMetricsCollectionListener.java178 public String getErrorMessage() { in getErrorMessage() method in CameraTestMetricsCollectionListener.AbstractCameraTestMetricsCollectionListener
DCameraStartupTest.java100 exitTestRunsOnError(listener, singleRunListener.getErrorMessage()); in runMultipleInstrumentationTests()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java833 (result.getErrorMessage() == null) ? "" : result.getErrorMessage(); in runPreModuleCheck()
881 (result.getErrorMessage() == null) ? "" : result.getErrorMessage(); in runPostModuleCheck()

12