Descriptionmash: 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}
Committed: https://chromium.googlesource.com/chromium/src/+/e148e7ab0ffb1b5facad8c6c18a34af43f3bc1b3
Patch Set 1 : Refine pattern; tests break. #Patch Set 2 : Get *ChromeLauncher* unit tests passing. #Patch Set 3 : Cleanup. #Patch Set 4 : Sync and rebase. #Patch Set 5 : Fix BrowserWindow leak; restore InitLauncherController; cleanup. #
Total comments: 8
Patch Set 6 : Address comments. #
Messages
Total messages: 33 (27 generated)
|