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

Issue 2408273002: mash: Port TrayUpdateTest to AshTest (Closed)

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

Description

mash: Port TrayUpdateTest to AshTest * Add AshTest::GetPrimarySystemTray(). * Set a TestSystemTrayDelegate in mash unittests because this test relies on there not being an update available at test start, but SystemTrayDelegateMus is based on DefaultSystemTrayDelegate, which simulates an update being ready. BUG=654495 TEST=ash_unittests, mash_unittests Committed: https://crrev.com/9d7d8eafd909e356d87b94e3fd2fc7e3d7d78aec Cr-Commit-Position: refs/heads/master@{#424822}

Patch Set 1 #

Total comments: 2

Patch Set 2 : WmShellTestApi #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -9 lines) Patch
M ash/BUILD.gn View 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/system/update/tray_update_unittest.cc View 2 chunks +4 lines, -6 lines 0 comments Download
M ash/common/test/BUILD.gn View 1 1 chunk +2 lines, -0 lines 0 comments Download
M ash/common/test/ash_test.h View 2 chunks +4 lines, -0 lines 0 comments Download
M ash/common/test/ash_test.cc View 2 chunks +7 lines, -0 lines 0 comments Download
A ash/common/test/wm_shell_test_api.h View 1 1 chunk +30 lines, -0 lines 0 comments Download
A ash/common/test/wm_shell_test_api.cc View 1 1 chunk +21 lines, -0 lines 0 comments Download
M ash/common/wm_shell.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ash/common/wm_shell.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M ash/mus/test/wm_test_helper.cc View 1 2 chunks +8 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 31 (18 generated)
James Cook
sky, please take a look. https://codereview.chromium.org/2408273002/diff/1/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2408273002/diff/1/ash/common/wm_shell.h#newcode464 ash/common/wm_shell.h:464: friend class mus::WmTestHelper; Lemme ...
4 years, 2 months ago (2016-10-11 19:58:37 UTC) #4
sky
LGTM https://codereview.chromium.org/2408273002/diff/1/ash/common/wm_shell.h File ash/common/wm_shell.h (right): https://codereview.chromium.org/2408273002/diff/1/ash/common/wm_shell.h#newcode464 ash/common/wm_shell.h:464: friend class mus::WmTestHelper; On 2016/10/11 19:58:37, James Cook ...
4 years, 2 months ago (2016-10-11 20:56:24 UTC) #7
James Cook
sky, please take another look. I added WmShellTestApi. (FYI - This CL cannot land until ...
4 years, 2 months ago (2016-10-11 22:37:46 UTC) #10
sky
SLGTM
4 years, 2 months ago (2016-10-11 23:12:37 UTC) #13
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/2408273002/20001
4 years, 2 months ago (2016-10-12 04:11:43 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/85268)
4 years, 2 months ago (2016-10-12 04:22:46 UTC) #18
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/2408273002/20001
4 years, 2 months ago (2016-10-12 15:39:28 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/85607)
4 years, 2 months ago (2016-10-12 15:50:43 UTC) #22
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/2408273002/20001
4 years, 2 months ago (2016-10-12 15:52:36 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/85618)
4 years, 2 months ago (2016-10-12 16:02:02 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/2408273002/20001
4 years, 2 months ago (2016-10-12 19:14:35 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 2 months ago (2016-10-12 19:29:17 UTC) #29
commit-bot: I haz the power
4 years, 2 months ago (2016-10-12 19:32:48 UTC) #31
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9d7d8eafd909e356d87b94e3fd2fc7e3d7d78aec
Cr-Commit-Position: refs/heads/master@{#424822}

Powered by Google App Engine
This is Rietveld 408576698