Merge "Removing numbers from error message" into ub-launcher3-qt-qpr1-dev

am: 5e893727f8

Change-Id: Ie5bfb48d233abc7c21c8ff6df97affb4c9339f8e
This commit is contained in:
Vadim Tryshev 2019-09-03 18:11:10 -07:00 committed by android-build-merger
commit c6c63706fa
1 changed files with 1 additions and 2 deletions

View File

@ -763,8 +763,7 @@ public final class LauncherInstrumentation {
final Bundle parcel = (Bundle) executeAndWaitForEvent(
() -> linearGesture(startX, startY, endX, endY, steps),
event -> TestProtocol.SWITCHED_TO_STATE_MESSAGE.equals(event.getClassName()),
"Swipe failed to receive an event for the swipe end: " + startX + ", " + startY
+ ", " + endX + ", " + endY);
"Swipe failed to receive an event for the swipe end");
assertEquals("Swipe switched launcher to a wrong state;",
TestProtocol.stateOrdinalToString(expectedState),
TestProtocol.stateOrdinalToString(parcel.getInt(TestProtocol.STATE_FIELD)));