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

Issue 2694623016: chromeos: Makes AshTestBase/Helper target mash when appropriate (Closed)

Created:
3 years, 10 months ago by sky
Modified:
3 years, 10 months ago
Reviewers:
msw, reveman
CC:
chromium-reviews, kalyank, sadrul, James Cook
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

chromeos: Makes AshTestBase/Helper target mash when appropriate And gets a single test working in both mash and ash. This means we can get rid of AshTest, but that's for later. BUG=693114 TEST=covered by tests R=msw@chromium.org Review-Url: https://codereview.chromium.org/2694623016 Cr-Commit-Position: refs/heads/master@{#452116} Committed: https://chromium.googlesource.com/chromium/src/+/d06586de254e7ecfd8d3620a45253faaf520334e

Patch Set 1 #

Total comments: 1

Patch Set 2 : cleanup #

Total comments: 19

Patch Set 3 : feedback #

Patch Set 4 : comment #

Total comments: 43

Patch Set 5 : feedback #

Patch Set 6 : format #

Total comments: 5

Patch Set 7 : feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+448 lines, -1659 lines) Patch
M ash/BUILD.gn View 1 2 3 4 5 6 chunks +56 lines, -3 lines 0 comments Download
M ash/accelerators/accelerator_controller_unittest.cc View 6 chunks +22 lines, -0 lines 0 comments Download
D ash/common/BUILD.gn View 1 2 1 chunk +0 lines, -40 lines 0 comments Download
M ash/common/system/tray/tray_details_view_unittest.cc View 1 2 3 4 5 1 chunk +16 lines, -3 lines 0 comments Download
M ash/display/window_tree_host_manager_unittest.cc View 1 chunk +0 lines, -5 lines 0 comments Download
M ash/mus/BUILD.gn View 1 chunk +0 lines, -3 lines 0 comments Download
D ash/mus/accelerators/accelerator_controller_registrar_test_api.h View 1 chunk +0 lines, -33 lines 0 comments Download
D ash/mus/accelerators/accelerator_controller_registrar_test_api.cc View 1 chunk +0 lines, -43 lines 0 comments Download
D ash/mus/accelerators/accelerator_controller_unittest.cc View 1 chunk +0 lines, -1454 lines 0 comments Download
M ash/mus/bridge/wm_shell_mus.h View 1 chunk +4 lines, -1 line 0 comments Download
M ash/mus/bridge/wm_shell_mus.cc View 2 chunks +8 lines, -4 lines 0 comments Download
M ash/mus/test/wm_test_helper.h View 1 chunk +0 lines, -4 lines 0 comments Download
M ash/mus/test/wm_test_helper.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M ash/mus/window_manager.h View 3 chunks +8 lines, -0 lines 0 comments Download
M ash/mus/window_manager.cc View 1 chunk +2 lines, -1 line 0 comments Download
M ash/mus/window_manager_application.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ash/mus/window_manager_unittest.cc View 1 2 3 4 1 chunk +22 lines, -0 lines 0 comments Download
M ash/test/BUILD.gn View 1 2 3 4 2 chunks +1 line, -2 lines 0 comments Download
M ash/test/ash_test_base.h View 2 chunks +3 lines, -0 lines 0 comments Download
M ash/test/ash_test_base.cc View 1 2 3 4 5 6 5 chunks +18 lines, -8 lines 0 comments Download
M ash/test/ash_test_helper.h View 1 2 4 chunks +46 lines, -0 lines 0 comments Download
M ash/test/ash_test_helper.cc View 1 2 3 4 10 chunks +223 lines, -52 lines 0 comments Download
M components/exo/BUILD.gn View 2 chunks +6 lines, -0 lines 0 comments Download
M mash/BUILD.gn View 1 chunk +1 line, -2 lines 0 comments Download
M mash/test/mash_test_suite.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M ui/display/test/display_manager_test_api.cc View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 46 (33 generated)
sky
reveman: exo jamescook: the rest https://codereview.chromium.org/2694623016/diff/1/ash/common/system/tray/tray_details_view_unittest.cc File ash/common/system/tray/tray_details_view_unittest.cc (right): https://codereview.chromium.org/2694623016/diff/1/ash/common/system/tray/tray_details_view_unittest.cc#newcode141 ash/common/system/tray/tray_details_view_unittest.cc:141: scoped_task_runner_ = This needs ...
3 years, 10 months ago (2017-02-17 18:22:15 UTC) #4
reveman
components/exo lgtm
3 years, 10 months ago (2017-02-17 18:28:34 UTC) #6
James Cook
I'm OOO next week -- apologies to you (and the follow-up reviewer) for not getting ...
3 years, 10 months ago (2017-02-18 02:23:21 UTC) #13
sky
Mike, James is out, could you take a look? https://codereview.chromium.org/2694623016/diff/20001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2694623016/diff/20001/ash/BUILD.gn#newcode1157 ash/BUILD.gn:1157: ...
3 years, 10 months ago (2017-02-18 18:00:57 UTC) #20
msw
Sorry, I have lots of qs... extra comments or CL desc might help. https://codereview.chromium.org/2694623016/diff/60001/ash/BUILD.gn File ...
3 years, 10 months ago (2017-02-19 21:49:20 UTC) #23
sky
https://codereview.chromium.org/2694623016/diff/60001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2694623016/diff/60001/ash/BUILD.gn#newcode1103 ash/BUILD.gn:1103: "test/ash_test_suite.cc", On 2017/02/19 21:49:19, msw wrote: > Are these ...
3 years, 10 months ago (2017-02-21 17:06:51 UTC) #24
sky
As Mike is now out for a couple of days I'm passing to Dan. Dan, ...
3 years, 10 months ago (2017-02-21 23:01:53 UTC) #34
msw
lgtm with a nit and minor qs https://codereview.chromium.org/2694623016/diff/60001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2694623016/diff/60001/ash/BUILD.gn#newcode1103 ash/BUILD.gn:1103: "test/ash_test_suite.cc", On ...
3 years, 10 months ago (2017-02-22 06:25:48 UTC) #36
sky
https://codereview.chromium.org/2694623016/diff/60001/ash/BUILD.gn File ash/BUILD.gn (right): https://codereview.chromium.org/2694623016/diff/60001/ash/BUILD.gn#newcode1103 ash/BUILD.gn:1103: "test/ash_test_suite.cc", On 2017/02/22 06:25:48, msw (vacation feb 21 maybe ...
3 years, 10 months ago (2017-02-22 16:32:05 UTC) #37
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/2694623016/120001
3 years, 10 months ago (2017-02-22 16:32:41 UTC) #40
sky
-derat as Mike reviewed it
3 years, 10 months ago (2017-02-22 16:32:57 UTC) #42
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/d06586de254e7ecfd8d3620a45253faaf520334e
3 years, 10 months ago (2017-02-22 17:47:16 UTC) #45
sky
3 years, 10 months ago (2017-02-22 17:53:50 UTC) #46
Message was sent while issue was closed.
https://codereview.chromium.org/2694623016/diff/100001/ash/mus/window_manager...
File ash/mus/window_manager_unittest.cc (right):

https://codereview.chromium.org/2694623016/diff/100001/ash/mus/window_manager...
ash/mus/window_manager_unittest.cc:74: // aura::WindowTreeClient resetting the
context_factory on Env. As all
On 2017/02/22 16:32:05, sky wrote:
> On 2017/02/22 06:25:48, msw (vacation feb 21 maybe 22) wrote:
> > q: Should WindowTreeClient's dtor reset the Env instance?
> 
> If you mean reset the context factor, that sounds like a good idea. I'll do it
> separately though.

Patch for reset context factory in ~WindowTreeClient is here:
https://codereview.chromium.org/2706403004/ .

Powered by Google App Engine
This is Rietveld 408576698