mash: Test ChromeLauncherControllerImpl more like production use.
Adjust the ownership of the instances used by most unit test fixtures. The test Shell owns CLC as the ShelfDelegate, just like in production. Fix up test helper functions and remove ProxyShelfDelegate. Make BrowserWithTestWindowTest::TearDown more like production shutdown. (first tear down the browser instance, then the Shell, then the profile) Remove DestroyBrowserAndProfile, inline/recreate similar behavior. Add a workaround for DefaultApps test teardown crash (crbug.com/709297). BUG=557406 TEST=Automated tests still pass; more closely match production. R=jamescook@chromium.org,sky@chromium.org Review-Url: https://codereview.chromium.org/2804913002 Cr-Commit-Position: refs/heads/master@{#462880}
Showing
This diff is collapsed.
Please register or sign in to comment