/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | LogcatCrashResultForwarder.java | 75 public void testRunFailed(String errorMessage) { in testRunFailed() argument 80 super.testRunFailed(addJavaCrashToString(mLogcatItem, errorMessage)); in testRunFailed() 84 errorMessage = extractCrashAndAddToMessage(errorMessage, mLastStartTime); in testRunFailed() 85 super.testRunFailed(errorMessage); in testRunFailed() 96 private String extractCrashAndAddToMessage(String errorMessage, Long startTime) { in extractCrashAndAddToMessage() argument 97 if (errorMessage.contains(ERROR_MESSAGE) && startTime != null) { in extractCrashAndAddToMessage() 99 errorMessage = addJavaCrashToString(mLogcatItem, errorMessage); in extractCrashAndAddToMessage() 101 return errorMessage; in extractCrashAndAddToMessage()
|
D | TestRunResult.java | 288 public void testRunFailed(String errorMessage) { in testRunFailed() argument 289 if (errorMessage == null) { in testRunFailed() 291 errorMessage = "testRunFailed(null) was called."; in testRunFailed() 295 mRunFailureError += (ERROR_DIVIDER + errorMessage); in testRunFailed() 297 mRunFailureError = errorMessage; in testRunFailed()
|
D | CollectingTestListener.java | 209 String errorMessage = in testRunStarted() local 213 result.testRunFailed(errorMessage); in testRunStarted() 235 public void testRunFailed(String errorMessage) { in testRunFailed() argument 237 mCurrentTestRunResult.testRunFailed(errorMessage); in testRunFailed()
|
D | NameMangleListener.java | 104 public void testRunFailed(String errorMessage) { in testRunFailed() argument 105 mListener.testRunFailed(errorMessage); in testRunFailed()
|
D | InvocationToJUnitResultForwarder.java | 82 public void testRunFailed(String errorMessage) { in testRunFailed() argument 84 Log.e(LOG_TAG, String.format("run failed: %s", errorMessage)); in testRunFailed()
|
D | BugreportCollector.java | 473 public void testRunFailed(String errorMessage) { in testRunFailed() argument 474 mListener.testRunFailed(errorMessage); in testRunFailed() 475 mCollector.testRunFailed(errorMessage); in testRunFailed()
|
D | ResultForwarder.java | 185 public void testRunFailed(String errorMessage) { in testRunFailed() argument 188 listener.testRunFailed(errorMessage); in testRunFailed()
|
D | StubTestRunListener.java | 72 public void testRunFailed(String errorMessage) { in testRunFailed() argument
|
D | ITestLifeCycleReceiver.java | 88 public default void testRunFailed(String errorMessage) {} in testRunFailed() argument
|
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/ |
D | TestMapping.java | 76 String errorMessage = null; in TestMapping() local 127 errorMessage = String.format("TEST_MAPPING file does not exist: %s.", path.toString()); in TestMapping() 128 CLog.e(errorMessage); in TestMapping() 130 errorMessage = in TestMapping() 135 if (errorMessage != null) { in TestMapping() 136 CLog.e(errorMessage); in TestMapping() 137 throw new RuntimeException(errorMessage); in TestMapping()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | InstrumentationTestFuncTest.java | 237 public void testRunFailed(String errorMessage) { in testRun_deviceReboot() 238 error[0] = errorMessage; in testRun_deviceReboot() 265 public void testRunFailed(String errorMessage) { in testRun_maxTimeout() 266 called[0] = errorMessage; in testRun_maxTimeout() 318 public void testRunFailed(String errorMessage) { in testRun_deviceRuntimeReset() 319 error[0] = errorMessage; in testRun_deviceRuntimeReset()
|
/tools/tradefederation/core/src/com/android/tradefed/sandbox/ |
D | SandboxConfigUtil.java | 98 String errorMessage = "Error when dumping the config."; in dumpConfigForVersion() local 100 errorMessage += in dumpConfigForVersion() 103 errorMessage += String.format(" stderr: %s", result.getStderr()); in dumpConfigForVersion() 104 throw new SandboxConfigurationException(errorMessage); in dumpConfigForVersion()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/binary/ |
D | ExecutableHostTest.java | 117 String errorMessage = res.getStdout(); in runBinary() local 119 errorMessage += "\nTimeout."; in runBinary() 122 errorMessage += String.format("\nExit Code: %s", res.getExitCode()); in runBinary() 124 listener.testFailed(description, errorMessage); in runBinary()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | GTestXmlResultParser.java | 101 String errorMessage = String.format("Failed to get an xml output from tests," in parseResult() 104 errorMessage += "\nlogs:\n" + output.getOutput(); in parseResult() 105 CLog.e(errorMessage); in parseResult() 107 listener.testRunFailed(errorMessage); in parseResult()
|
D | NoisyDryRunTest.java | 162 String errorMessage = String.format("Failed to parse command line: %s.", cmdLine); in testCommandLines() 163 CLog.e(errorMessage); in testCommandLines() 167 String.format("%s\n%s", errorMessage, StreamUtil.getStackTrace(e))); in testCommandLines()
|
D | AndroidJUnitTest.java | 499 private void reportEarlyFailure(ITestInvocationListener listener, String errorMessage) { in reportEarlyFailure() argument 501 listener.testRunFailed(errorMessage); in reportEarlyFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | ModuleListener.java | 79 public void testRunFailed(String errorMessage) { in testRunFailed() argument 81 CLog.d("ModuleListener.testRunFailed(%s)", errorMessage); in testRunFailed() 82 super.testRunFailed(errorMessage); in testRunFailed()
|
D | ITestSuite.java | 730 String errorMessage = in runPreModuleCheck() local 732 failures.put(checker.getClass().getCanonicalName(), errorMessage); in runPreModuleCheck() local 778 String errorMessage = in runPostModuleCheck() local 780 failures.put(checker.getClass().getCanonicalName(), errorMessage); in runPostModuleCheck() local
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | DeviceSettingChecker.java | 90 String errorMessage = in preExecutionCheck() local 94 CLog.w(errorMessage); in preExecutionCheck() 95 result.setErrorMessage(errorMessage); in preExecutionCheck()
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | CameraStartupTest.java | 112 private void exitTestRunsOnError(ITestInvocationListener listener, String errorMessage) { in exitTestRunsOnError() argument 114 + " Test results will not be posted. errorMsg: %s", errorMessage); in exitTestRunsOnError() 115 listener.testRunFailed(errorMessage); in exitTestRunsOnError()
|
D | CameraTestBase.java | 316 public void testRunFailed(String errorMessage) { in testRunFailed() argument 317 super.testRunFailed(errorMessage); in testRunFailed() 318 mFatalErrors.put(getRuKey(), errorMessage); in testRunFailed() local
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 170 public final void testRunFailed(String errorMessage) { in testRunFailed() argument 171 mForwarder.testRunFailed(errorMessage); in testRunFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/python/ |
D | PythonBinaryHostTest.java | 272 ITestInvocationListener listener, String runName, String errorMessage) { in reportFailure() argument 274 listener.testRunFailed(errorMessage); in reportFailure()
|
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/ |
D | BasePostProcessor.java | 121 public final void testRunFailed(String errorMessage) { in testRunFailed() argument 122 mForwarder.testRunFailed(errorMessage); in testRunFailed()
|
/tools/tradefederation/core/src/com/android/tradefed/result/proto/ |
D | ProtoResultReporter.java | 261 public final void testRunFailed(String errorMessage) { in testRunFailed() argument 264 debugBuilder.setErrorMessage(errorMessage); in testRunFailed()
|