[iOS] Remove UI dependencies from InfobarBadgeTabHelperTest.
The previous implementation of these tests relied on asynchronous view controller presentation as well as implementation details of InfobarCoordinator and InfobarContainerIOS. This CL updates these tests to instead directly call the public API of the tab helper. It also uses FakeInfobarIOS so that full InfobarCoordinator objects no longer need to be constructed for the tests to operate. Bug: none Change-Id: I09bc28758761d2c2c5068300b965cf565557e39c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1974579 Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org> Reviewed-by:Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#727307}
Showing
This diff is collapsed.
Please register or sign in to comment