Adds AppListServiceImplBrowserTest.ShowLoadedProfiles
Currently there is only AppListServiceInteractiveTest which is excessive for tests that do not need to be interactive. It also leaves gaps in the testing of the AppListServiceImpl, since it only uses the parent, AppListService interface. This CL adds scaffolding for better app list test coverage, leading up to better testing for Chrome's AppListViewDelegate, which is currently hard to get at in a test. The test is a non-interactive version of showing the app list, which verifies expectations about the actual Profile* that is missing from current tests (e.g. TestingAppListServiceImpl has it mocked out to return NULL, since unit_tests don't have a ProfileManager). BUG=169114 Review URL: https://codereview.chromium.org/552153002 Cr-Commit-Position: refs/heads/master@{#294138}
Showing
Please register or sign in to comment