Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3805cd65 authored by Cassy Chun-Crogan's avatar Cassy Chun-Crogan
Browse files

[DocsUI tests] Set withToolbarTitle mismatch description

Previously is the withToolbarTitle matcher failed, we would get
an error message like this, where the actual toolbar title was
not mentioned:

Expected: with toolbar title: is "Virtual SD card"
Got: com.google.android.material.appbar.MaterialToolbar{5683a01 V.E
...... ........
0,0-880,64 #7f09016d app:id/toolbar}


Override describeMismatch() to state the actual toolbar title
to get something like:

Expected: with toolbar title: is "Virtual SD card"
Got: unexpected toolbar title: "Brya"


Flag: EXEMPT this is not behind a flag
Bug: 438851396
Test: com.android.documentsui.FileCopyUiTest
Change-Id: I42cc758761c79e06118b39c5523e4ae4e9584565
parent 6ad1be10
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment