diff options
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 && |