commit | 15ccb5f288d5714cd961fc9b8195a99b3fe99a8f | [log] [tgz] |
---|---|---|
author | Brett Chabot <brettchabot@android.com> | Mon Apr 02 12:33:45 2012 -0700 |
committer | Brett Chabot <brettchabot@android.com> | Mon Apr 02 12:33:45 2012 -0700 |
tree | f9facea8bd96a2486eff6e40500ea20291736384 | |
parent | d22e798547d802878ac35470b2a64f4a40497c45 [diff] |
Make InstrumentationResultParser#handleTestRunFailure public. Done to allow reuse. Change-Id: I7a0651bb66e51997b08af7f46b8db4da7c9a0fbf
diff --git a/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/InstrumentationResultParser.java b/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/InstrumentationResultParser.java index 204e07a..5885de4 100644 --- a/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/InstrumentationResultParser.java +++ b/ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/InstrumentationResultParser.java
@@ -540,9 +540,10 @@ } /** - * Process a instrumentation run failure + * Inform the parser of a instrumentation run failure. Should be called when the adb command + * used to run the test fails. */ - void handleTestRunFailed(String errorMsg) { + public void handleTestRunFailed(String errorMsg) { errorMsg = (errorMsg == null ? "Unknown error" : errorMsg); Log.i(LOG_TAG, String.format("test run failed: '%1$s'", errorMsg)); if (mLastTestResult != null &&