ProfileMenuControllerTest: don't use CocoaProfileTest
Instead, use BrowserWithTestWindowTest. One wrinkle is that it doesn't seem to work to use BrowserList:: SetLastActive - something that BrowserWithTestWindowTest sets up causes a crash in other profiles code when really changing the last active browser. Instead, to make the test more unit-y, just bypass BrowserList and call the controller directly. Bug: 39725 Change-Id: I3f872c936ea8e81cb4647cc7f25257fde0a4cc63 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2108626Reviewed-by:Robert Sesek <rsesek@chromium.org> Commit-Queue: Elly Fong-Jones <ellyjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#751377}
Showing
Please register or sign in to comment