[Extensions Menu] Update ExtensionActionViewController tests
Update ExtensionActionViewController tests to work with the ExtensionsMenu. This includes: - Parameterizing the UI for both the legacy UI and the extensions menu. Note that this means we are no longer parameterizing for both touchable and untouchable UI with the MaterialDesignControllerTestAPI. - Instantiating the right type of UI for the selected behavior. - Introducing a legacy toolbar helper for constructing overflow UI in overflow-specific unit tests (which only apply to the legacy toolbar). - Adding a new test specific to the ExtensionsMenu that's analogous to the ExtensionActionContextMenuVisibility for the legacy toolbar. With this change, all ExtensionActionViewController related tests pass with and without the ExtensionsMenu feature enabled. Bug: 984654 Change-Id: I825c20af39b6217259f63b7f34149d3bb7545eb7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1941080 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#723005}
Showing
This diff is collapsed.
Please register or sign in to comment