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

Issue 2165693002: Fix tests in when MD is set to EXPERIMENTAL by default (Closed)

Created:
4 years, 5 months ago by yiyix
Modified:
4 years, 5 months ago
Reviewers:
tdanderson, James Cook, msw
CC:
chromium-reviews, kalyank, sadrul, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix tests in when MD is set to EXPERIMENTAL by default Parameterize test fixtures in ash_unittests and unit_tests to run with the three modes used in Ash material design (non-material, material stable, and material experimental); see the runtime flag --ash-md. BUG=623428, 623426, 623423, 623422, 622914, 622912 Committed: https://crrev.com/70b502aef44c4f6f9db8d1abff3ff8d4cde9eab0 Cr-Commit-Position: refs/heads/master@{#406956}

Patch Set 1 #

Total comments: 21

Patch Set 2 : address comments #

Total comments: 16

Patch Set 3 : address comments #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+262 lines, -175 lines) Patch
M ash/system/toast/toast_manager_unittest.cc View 1 2 chunks +4 lines, -3 lines 0 comments Download
M ash/test/ash_md_test_base.h View 2 chunks +5 lines, -0 lines 0 comments Download
M ash/test/ash_md_test_base.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M ash/wm/workspace/workspace_layout_manager_unittest.cc View 4 chunks +10 lines, -3 lines 0 comments Download
M ash/wm/workspace/workspace_window_resizer_unittest.cc View 1 2 61 chunks +133 lines, -110 lines 1 comment Download
M ash/wm/workspace_controller_unittest.cc View 1 38 chunks +47 lines, -38 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_non_client_frame_view_ash_browsertest.cc View 1 2 chunks +15 lines, -7 lines 0 comments Download
M chrome/browser/ui/views/frame/immersive_mode_controller_ash_unittest.cc View 1 2 5 chunks +36 lines, -14 lines 0 comments Download

Messages

Total messages: 33 (19 generated)
yiyix
On 2016/07/19 15:40:54, yiyix wrote: > mailto:yiyix@chromium.org changed reviewers: > + mailto:tdanderson@chromium.org @tdanderson, Could you ...
4 years, 5 months ago (2016-07-19 15:41:24 UTC) #3
tdanderson
Nice! LGTM (with nits) https://chromiumcodereview.appspot.com/2165693002/diff/1/ash/test/ash_md_test_base.cc File ash/test/ash_md_test_base.cc (right): https://chromiumcodereview.appspot.com/2165693002/diff/1/ash/test/ash_md_test_base.cc#newcode34 ash/test/ash_md_test_base.cc:34: const int non_md_auto_hide_shelf_size = I ...
4 years, 5 months ago (2016-07-19 21:10:24 UTC) #6
yiyix
https://codereview.chromium.org/2165693002/diff/1/ash/test/ash_md_test_base.cc File ash/test/ash_md_test_base.cc (right): https://codereview.chromium.org/2165693002/diff/1/ash/test/ash_md_test_base.cc#newcode34 ash/test/ash_md_test_base.cc:34: const int non_md_auto_hide_shelf_size = On 2016/07/19 21:10:23, tdanderson wrote: ...
4 years, 5 months ago (2016-07-20 06:03:08 UTC) #9
yiyix
On 2016/07/20 06:03:08, yiyix wrote: > https://codereview.chromium.org/2165693002/diff/1/ash/test/ash_md_test_base.cc > File ash/test/ash_md_test_base.cc (right): > > https://codereview.chromium.org/2165693002/diff/1/ash/test/ash_md_test_base.cc#newcode34 > ...
4 years, 5 months ago (2016-07-20 17:53:33 UTC) #10
tdanderson
On 2016/07/20 17:53:33, yiyix wrote: > On 2016/07/20 06:03:08, yiyix wrote: > > https://codereview.chromium.org/2165693002/diff/1/ash/test/ash_md_test_base.cc > ...
4 years, 5 months ago (2016-07-20 17:58:46 UTC) #11
yiyix
@jamescook, Could you review changes in ash/ ? @msw, could you review changes in chrome/ ...
4 years, 5 months ago (2016-07-20 18:09:48 UTC) #13
James Cook
ash/* LGTM with an optional idea https://codereview.chromium.org/2165693002/diff/20001/ash/wm/workspace/workspace_window_resizer_unittest.cc File ash/wm/workspace/workspace_window_resizer_unittest.cc (right): https://codereview.chromium.org/2165693002/diff/20001/ash/wm/workspace/workspace_window_resizer_unittest.cc#newcode1041 ash/wm/workspace/workspace_window_resizer_unittest.cc:1041: 600 - 160 ...
4 years, 5 months ago (2016-07-20 19:21:52 UTC) #16
msw
https://codereview.chromium.org/2165693002/diff/20001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc File chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc (right): https://codereview.chromium.org/2165693002/diff/20001/chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc#newcode250 chrome/browser/ui/views/frame/browser_non_client_frame_view_ash.cc:250: // TODO(yiyix): Update caption_button_container_'s visibility when Chrome OS q: ...
4 years, 5 months ago (2016-07-20 20:06:51 UTC) #19
yiyix
@jamescook, I tried to improve the readability of that test case, could you take another ...
4 years, 5 months ago (2016-07-21 18:32:36 UTC) #20
James Cook
still lgtm https://codereview.chromium.org/2165693002/diff/40001/ash/wm/workspace/workspace_window_resizer_unittest.cc File ash/wm/workspace/workspace_window_resizer_unittest.cc (right): https://codereview.chromium.org/2165693002/diff/40001/ash/wm/workspace/workspace_window_resizer_unittest.cc#newcode1008 ash/wm/workspace/workspace_window_resizer_unittest.cc:1008: int distance_to_right = Oh, this is much ...
4 years, 5 months ago (2016-07-21 19:03:33 UTC) #23
msw
lgtm
4 years, 5 months ago (2016-07-21 21:33:25 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2165693002/40001
4 years, 5 months ago (2016-07-21 21:37:03 UTC) #29
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-21 21:45:33 UTC) #31
commit-bot: I haz the power
4 years, 5 months ago (2016-07-21 21:48:16 UTC) #33
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/70b502aef44c4f6f9db8d1abff3ff8d4cde9eab0
Cr-Commit-Position: refs/heads/master@{#406956}

Powered by Google App Engine
This is Rietveld 408576698