summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorVadim Tryshev <vadimt@google.com>2019-05-31 18:54:02 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-05-31 18:54:02 +0000
commit43522d25f277b5c4c158d8210f2533c99f47e2eb (patch)
tree895838c23f7570dae9f12d1ddb1e87c936569904 /tests
parent164ebb2e8c15ba6b21bac943490fe8c5127d230b (diff)
parent8fcf7059edc7d7ff9156d63e29a2b9a08236d311 (diff)
downloadandroid_packages_apps_Trebuchet-43522d25f277b5c4c158d8210f2533c99f47e2eb.tar.gz
android_packages_apps_Trebuchet-43522d25f277b5c4c158d8210f2533c99f47e2eb.tar.bz2
android_packages_apps_Trebuchet-43522d25f277b5c4c158d8210f2533c99f47e2eb.zip
Merge "Annotating hierarchy dump for the error description" into ub-launcher3-qt-dev
Diffstat (limited to 'tests')
-rw-r--r--tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
index 443bc1af1..e45fca8c0 100644
--- a/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
+++ b/tests/tapl/com/android/launcher3/tapl/LauncherInstrumentation.java
@@ -257,6 +257,7 @@ public final class LauncherInstrumentation {
}
private void fail(String message) {
+ log("Hierarchy dump for: " + getContextDescription() + message);
dumpViewHierarchy();
Assert.fail("http://go/tapl : " + getContextDescription() + message);
}