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

Issue 2138433002: Add unit test for mus_demo. (Closed)

Created:
4 years, 5 months ago by kylechar
Modified:
4 years, 5 months ago
Reviewers:
rjkroege
CC:
chromium-reviews, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add unit test for mus_demo. The unit test starts mus demo and checks that it successfully draws compositor frames. Test is not setup to run on bots yet. There is a problem where the WindowTree name isn't set to the client name when the WindowTree is created for a WindowManager. Once this is fixed EnsureClientHasDrawnWindow() should be using "mojo:mus_demo" as the name it's looking for. Also use this chance to fix some namespace stuff for MusDemo. BUG=611473 Committed: https://crrev.com/e4f4e191d33ee769ea258ca885938fa9ee3bf278 Cr-Commit-Position: refs/heads/master@{#405493}

Patch Set 1 #

Patch Set 2 : Change name. #

Total comments: 2

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -50 lines) Patch
M services/ui/demo/BUILD.gn View 1 2 chunks +29 lines, -0 lines 0 comments Download
M services/ui/demo/main.cc View 1 chunk +1 line, -1 line 0 comments Download
M services/ui/demo/mus_demo.h View 1 2 5 chunks +21 lines, -19 lines 0 comments Download
M services/ui/demo/mus_demo.cc View 1 2 5 chunks +18 lines, -17 lines 0 comments Download
A + services/ui/demo/mus_demo_unittests.cc View 1 1 chunk +22 lines, -13 lines 0 comments Download
A services/ui/demo/test_manifest.json View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (6 generated)
kylechar
4 years, 5 months ago (2016-07-08 18:16:10 UTC) #2
rjkroege
lgtm. I presume that we can get this on the oxygen builder yes? https://codereview.chromium.org/2138433002/diff/20001/services/ui/demo/mus_demo_unittests.cc File ...
4 years, 5 months ago (2016-07-08 21:38:33 UTC) #3
kylechar
I think we should be able to get the test running on some bots. The ...
4 years, 5 months ago (2016-07-13 13:55:32 UTC) #4
rjkroege
On 2016/07/13 13:55:32, kylechar wrote: > I think we should be able to get the ...
4 years, 5 months ago (2016-07-13 23:10:22 UTC) #5
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/2138433002/20001
4 years, 5 months ago (2016-07-14 13:03:08 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/35786) ios-device-gn on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years, 5 months ago (2016-07-14 13:04:34 UTC) #9
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/2138433002/40001
4 years, 5 months ago (2016-07-14 13:26:50 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-14 14:45:33 UTC) #13
commit-bot: I haz the power
4 years, 5 months ago (2016-07-14 14:47:21 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/e4f4e191d33ee769ea258ca885938fa9ee3bf278
Cr-Commit-Position: refs/heads/master@{#405493}

Powered by Google App Engine
This is Rietveld 408576698