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

Issue 1953893003: Add rudimentary shelf delegate mus unit test. (Closed)

Created:
4 years, 7 months ago by msw
Modified:
4 years, 7 months ago
CC:
Ken Rockot(use gerrit already), chromium-reviews, James Cook, kalyank, mfomitchev
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add rudimentary shelf delegate mus unit test. Add simple mash shelf tests: - ash_sysui (which hosts the shelf) draws a window. - simple use of ShelfController/ShelfObserver interfaces. BUG=557406 TEST=Tests pass R=sky@chromium.org Committed: https://crrev.com/e3f59d3dfe3ec367a7ba4d2109d41fc6f2784088 Cr-Commit-Position: refs/heads/master@{#393700}

Patch Set 1 #

Patch Set 2 : Trying to test setting shelf alignment and auto_hide. #

Patch Set 3 : Fix run loop termination issue; don't reset. #

Patch Set 4 : Cleanup; tests seem to pass now. #

Total comments: 2

Patch Set 5 : Address nit. #

Patch Set 6 : Add //mash/session data_dep. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -0 lines) Patch
M ash/mus/BUILD.gn View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A ash/mus/shelf_delegate_mus_unittest.cc View 1 2 3 4 1 chunk +132 lines, -0 lines 0 comments Download
M mash/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M mash/unittests_manifest.json View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (16 generated)
msw
Hey Scott, please take a look; thanks!
4 years, 7 months ago (2016-05-13 19:17:59 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953893003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953893003/140001
4 years, 7 months ago (2016-05-13 19:18:37 UTC) #9
sky
Nice, LGTM https://codereview.chromium.org/1953893003/diff/140001/ash/mus/shelf_delegate_mus_unittest.cc File ash/mus/shelf_delegate_mus_unittest.cc (right): https://codereview.chromium.org/1953893003/diff/140001/ash/mus/shelf_delegate_mus_unittest.cc#newcode102 ash/mus/shelf_delegate_mus_unittest.cc:102: bool success = false; nit: success -> ...
4 years, 7 months ago (2016-05-13 19:35:18 UTC) #10
msw
https://codereview.chromium.org/1953893003/diff/140001/ash/mus/shelf_delegate_mus_unittest.cc File ash/mus/shelf_delegate_mus_unittest.cc (right): https://codereview.chromium.org/1953893003/diff/140001/ash/mus/shelf_delegate_mus_unittest.cc#newcode102 ash/mus/shelf_delegate_mus_unittest.cc:102: bool success = false; On 2016/05/13 19:35:18, sky wrote: ...
4 years, 7 months ago (2016-05-13 19:44:51 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953893003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953893003/160001
4 years, 7 months ago (2016-05-13 19:45:23 UTC) #14
sadrul
The first test is in https://codereview.chromium.org/1916043007/ too, but it ran into the deadlock issue that ...
4 years, 7 months ago (2016-05-13 19:50:28 UTC) #16
sky
Ken says it should be fine to land this. He has fixed most of the ...
4 years, 7 months ago (2016-05-13 19:55:35 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/228709)
4 years, 7 months ago (2016-05-13 21:36:48 UTC) #19
sadrul
On 2016/05/13 21:36:48, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 7 months ago (2016-05-13 21:47:05 UTC) #20
Ken Rockot(use gerrit already)
Are the failures to load mash_session.mojo not an issue?
4 years, 7 months ago (2016-05-13 21:51:20 UTC) #22
sadrul
On 2016/05/13 21:51:20, Ken Rockot wrote: > Are the failures to load mash_session.mojo not an ...
4 years, 7 months ago (2016-05-13 22:38:15 UTC) #23
msw
Added "//mash/session" to data_deps. Sadrul, lmk if I should nix ShelfDelegateMusTest.AshSysUIHasDrawnWindow (since it's entirely redundant ...
4 years, 7 months ago (2016-05-13 22:58:20 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1953893003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1953893003/180001
4 years, 7 months ago (2016-05-13 22:59:01 UTC) #27
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 7 months ago (2016-05-14 00:20:04 UTC) #29
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/e3f59d3dfe3ec367a7ba4d2109d41fc6f2784088 Cr-Commit-Position: refs/heads/master@{#393700}
4 years, 7 months ago (2016-05-14 00:21:24 UTC) #31
Ken Rockot(use gerrit already)
4 years, 7 months ago (2016-05-15 00:36:29 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:180001) has been created in
https://codereview.chromium.org/1979103002/ by rockot@chromium.org.

The reason for reverting is: Boo, sorry, looks like they're timing out on the
bot :(.

Powered by Google App Engine
This is Rietveld 408576698