Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Issue 552153002: Adds AppListServiceImplBrowserTest.ShowLoadedProfiles (Closed)

Created:
6 years, 3 months ago by tapted
Modified:
6 years, 3 months ago
Reviewers:
calamity
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@20140908-AppList-ALVD-SpeechUI-fromcl
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/761b2a4cbc3103ef5e48cc7e77184f57eb50f6d4 Cr-Commit-Position: refs/heads/master@{#294138}

Patch Set 1 #

Patch Set 2 : test switch as well #

Patch Set 3 : Fix ChromeOS #

Total comments: 4

Patch Set 4 : respond to commments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+172 lines, -19 lines) Patch
M chrome/browser/ui/app_list/app_list_service_impl.h View 2 chunks +5 lines, -0 lines 0 comments Download
A chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc View 1 2 3 1 chunk +104 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_interactive_uitest.cc View 1 chunk +1 line, -18 lines 0 comments Download
M chrome/browser/ui/app_list/test/chrome_app_list_test_support.h View 1 2 3 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/test/chrome_app_list_test_support.cc View 2 chunks +52 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
tapted
Hi calamity - please take a look. This is split off from the monster patch ...
6 years, 3 months ago (2014-09-10 01:56:34 UTC) #2
calamity
lgtm w/ nits. https://codereview.chromium.org/552153002/diff/40001/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc File chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc (right): https://codereview.chromium.org/552153002/diff/40001/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc#newcode53 chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc:53: // synchronous. Then tests that showing ...
6 years, 3 months ago (2014-09-10 06:18:24 UTC) #3
tapted
https://codereview.chromium.org/552153002/diff/40001/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc File chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc (right): https://codereview.chromium.org/552153002/diff/40001/chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc#newcode53 chrome/browser/ui/app_list/app_list_service_impl_browsertest.cc:53: // synchronous. Then tests that showing a second loaded ...
6 years, 3 months ago (2014-09-10 06:24:24 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tapted@chromium.org/552153002/60001
6 years, 3 months ago (2014-09-10 06:24:56 UTC) #6
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 09bd44847eec8a378cbab9d62de0272334a78126
6 years, 3 months ago (2014-09-10 07:58:53 UTC) #7
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 08:08:21 UTC) #8
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/761b2a4cbc3103ef5e48cc7e77184f57eb50f6d4
Cr-Commit-Position: refs/heads/master@{#294138}

Powered by Google App Engine
This is Rietveld 408576698