[Extensions UI] Add a suite for ExtensionActionViewController tests
Create a new class, ExtensionActionViewControllerUnitTest, which subclasses ToolbarActionsBarTest, and add common utility methods in that test class. Also move ToolbarActionsBarTest::SetActionWantsToRunOnTab() to this new class, as it was only used in these tests. This reduces a lot of the repeated boilerplate code in the ExtensionActionViewController related unittests, and will make adjusting them for the ExtensionsMenu behavior easier. No behavior change is expected. Bug: 984654 Change-Id: Ic85832939187d04dd64ff0e9ef995cd86a8f5925 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1940881 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#722663}
Showing
This diff is collapsed.
Please register or sign in to comment