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

Issue 220393003: Add a unit test for resetting the app list on a reshow. (Closed)

Created:
6 years, 8 months ago by calamity
Modified:
6 years, 7 months ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@trent_whole_app_list_unit_test
Visibility:
Public.

Description

Add a unit test for app list resetting correctly. This CL adds a test for the app list showing the correct view when it hides and reshows. This tests the behavior introduced in https://codereview.chromium.org/214423002/. BUG=357058 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272777

Patch Set 1 : #

Total comments: 12

Patch Set 2 : rebase #

Patch Set 3 : address comments #

Patch Set 4 : rebase #

Patch Set 5 : remove APP_LIST_EXPORTs #

Total comments: 2

Patch Set 6 : fix NULL icon cases for app list folders #

Unified diffs Side-by-side diffs Delta from patch set Stats (+107 lines, -11 lines) Patch
M ui/app_list/app_list.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/app_list_folder_item.cc View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M ui/app_list/test/app_list_test_model.cc View 1 2 3 4 5 3 chunks +4 lines, -1 line 0 comments Download
M ui/app_list/views/app_list_view_unittest.cc View 1 2 3 6 chunks +85 lines, -10 lines 0 comments Download
M ui/app_list/views/apps_container_view.cc View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M ui/app_list/views/test/apps_grid_view_test_api.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/app_list/views/test/apps_grid_view_test_api.cc View 1 2 2 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
calamity
6 years, 8 months ago (2014-04-01 05:12:27 UTC) #1
tapted
looks good! mostly nits https://codereview.chromium.org/220393003/diff/40001/ui/app_list/test/app_list_test_model.cc File ui/app_list/test/app_list_test_model.cc (right): https://codereview.chromium.org/220393003/diff/40001/ui/app_list/test/app_list_test_model.cc#newcode24 ui/app_list/test/app_list_test_model.cc:24: SkBitmap bitmap; In my demo ...
6 years, 8 months ago (2014-04-01 06:28:26 UTC) #2
calamity
https://codereview.chromium.org/220393003/diff/40001/ui/app_list/test/app_list_test_model.cc File ui/app_list/test/app_list_test_model.cc (right): https://codereview.chromium.org/220393003/diff/40001/ui/app_list/test/app_list_test_model.cc#newcode24 ui/app_list/test/app_list_test_model.cc:24: SkBitmap bitmap; On 2014/04/01 06:28:27, tapted wrote: > In ...
6 years, 8 months ago (2014-04-01 08:08:46 UTC) #3
tapted
this should be safe to rebase now and land. It L pretty GTM, but the ...
6 years, 7 months ago (2014-05-20 05:09:35 UTC) #4
calamity
Rebased.
6 years, 7 months ago (2014-05-22 00:46:54 UTC) #5
tapted
https://codereview.chromium.org/220393003/diff/210001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/220393003/diff/210001/ui/app_list/views/app_list_view_unittest.cc#newcode323 ui/app_list/views/app_list_view_unittest.cc:323: INSTANTIATE_TEST_CASE_P(AppListViewTestAuraInstance, You'll need lines like these for any `TEST_P` ...
6 years, 7 months ago (2014-05-22 01:21:10 UTC) #6
tapted
lgtm https://codereview.chromium.org/220393003/diff/210001/ui/app_list/views/app_list_view_unittest.cc File ui/app_list/views/app_list_view_unittest.cc (right): https://codereview.chromium.org/220393003/diff/210001/ui/app_list/views/app_list_view_unittest.cc#newcode323 ui/app_list/views/app_list_view_unittest.cc:323: INSTANTIATE_TEST_CASE_P(AppListViewTestAuraInstance, On 2014/05/22 01:21:10, tapted wrote: > You'll ...
6 years, 7 months ago (2014-05-22 01:27:43 UTC) #7
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 7 months ago (2014-05-22 01:33:54 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/220393003/210001
6 years, 7 months ago (2014-05-22 01:36:26 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-22 08:18:15 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-22 09:59:12 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/31456)
6 years, 7 months ago (2014-05-22 09:59:13 UTC) #12
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 7 months ago (2014-05-23 03:09:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/220393003/220001
6 years, 7 months ago (2014-05-23 03:11:31 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 07:05:31 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-23 09:11:00 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/mac_chromium_rel/builds/31944)
6 years, 7 months ago (2014-05-23 09:11:01 UTC) #17
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 7 months ago (2014-05-26 00:37:08 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/220393003/220001
6 years, 7 months ago (2014-05-26 00:37:23 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-05-26 04:03:15 UTC) #20
Message was sent while issue was closed.
Change committed as 272777

Powered by Google App Engine
This is Rietveld 408576698