Including go/tapl in error messages

Bug: 110103162
Test: making a test fail, checking a link
Change-Id: If64948a6656214c5065150803b2a1a7020fb82c5
This commit is contained in:
Vadim Tryshev
2018-09-07 15:46:59 -07:00
parent 1c2fb561e0
commit e02e06a9d4
5 changed files with 36 additions and 18 deletions
@@ -16,8 +16,6 @@
package com.android.launcher3.tapl;
import static org.junit.Assert.assertTrue;
import androidx.test.uiautomator.Direction;
import androidx.test.uiautomator.UiObject2;
import androidx.test.uiautomator.Until;
@@ -56,7 +54,7 @@ public final class OverviewTask {
*/
public Background open() {
verifyActiveContainer();
assertTrue("Launching task didn't open a new window: " +
LauncherInstrumentation.assertTrue("Launching task didn't open a new window: " +
mTask.getParent().getContentDescription(),
mTask.clickAndWait(Until.newWindow(), LauncherInstrumentation.WAIT_TIME_MS));
return new Background(mLauncher);