Merge "Further improving TAPL error messages" into sc-v2-dev am: 9d7cc7d59f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15305565 Change-Id: Ic1f59ad8b635c31c526d5211bf6926303c42dfbe
This commit is contained in:
@@ -514,9 +514,8 @@ public final class LauncherInstrumentation {
|
||||
void fail(String message) {
|
||||
checkForAnomaly();
|
||||
Assert.fail(formatSystemHealthMessage(formatErrorWithEvents(
|
||||
"http://go/tapl test failure:\nContext: " + getContextDescription()
|
||||
+ " => resulting visible state is " + getVisibleStateMessage()
|
||||
+ ";\nDetails: " + message, true)));
|
||||
"http://go/tapl test failure: " + message + ";\nContext: " + getContextDescription()
|
||||
+ "; now visible state is " + getVisibleStateMessage(), true)));
|
||||
}
|
||||
|
||||
private String getContextDescription() {
|
||||
|
||||
Reference in New Issue
Block a user