diff options
author | Brett Chabot <brettchabot@android.com> | 2012-04-02 12:33:45 -0700 |
---|---|---|
committer | Brett Chabot <brettchabot@android.com> | 2012-04-02 12:33:45 -0700 |
commit | 15ccb5f288d5714cd961fc9b8195a99b3fe99a8f (patch) | |
tree | f9facea8bd96a2486eff6e40500ea20291736384 /ddms/libs | |
parent | d22e798547d802878ac35470b2a64f4a40497c45 (diff) | |
download | sdk-15ccb5f288d5714cd961fc9b8195a99b3fe99a8f.zip sdk-15ccb5f288d5714cd961fc9b8195a99b3fe99a8f.tar.gz sdk-15ccb5f288d5714cd961fc9b8195a99b3fe99a8f.tar.bz2 |
Make InstrumentationResultParser#handleTestRunFailure public.
Done to allow reuse.
Change-Id: I7a0651bb66e51997b08af7f46b8db4da7c9a0fbf
Diffstat (limited to 'ddms/libs')
-rw-r--r-- | ddms/libs/ddmlib/src/com/android/ddmlib/testrunner/InstrumentationResultParser.java | 5 |
1 files changed, 3 insertions, 2 deletions
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 @@ public class InstrumentationResultParser extends MultiLineReceiver { } /** - * 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 && |