diff options
author | Brett Chabot <brettchabot@android.com> | 2012-04-03 11:49:11 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-04-03 11:49:11 -0700 |
commit | e18eec42dc07c16a0e63f6f7b7f4b3f97b9801d6 (patch) | |
tree | 5bf8497b0ec2ca5b3dcbebee5ed5a6414756625f /ddms/libs | |
parent | a7621238bf0202419677380ee3a268142358df83 (diff) | |
parent | 15ccb5f288d5714cd961fc9b8195a99b3fe99a8f (diff) | |
download | sdk-e18eec42dc07c16a0e63f6f7b7f4b3f97b9801d6.zip sdk-e18eec42dc07c16a0e63f6f7b7f4b3f97b9801d6.tar.gz sdk-e18eec42dc07c16a0e63f6f7b7f4b3f97b9801d6.tar.bz2 |
Merge "Make InstrumentationResultParser#handleTestRunFailure public."
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 && |