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

Issue 1771393002: Convert mus apptests to shelltests (Closed)

Created:
4 years, 9 months ago by Ken Rockot(use gerrit already)
Modified:
4 years, 9 months ago
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-reviews, darin (slow to review), qsr+mojo_chromium.org, rjkroege, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Convert mus apptests to shelltests This reworks some shelltest boilerplate to be more easily consumable and converts all mus apptests to shelltests. BUG=592313 Committed: https://crrev.com/6a2b04272ba5fd3dad9c62f03144bad04e6cfa65 Cr-Commit-Position: refs/heads/master@{#380148}

Patch Set 1 #

Total comments: 1

Patch Set 2 : window_manager_{unittests,shelltests} --> mus_ws_unittests #

Total comments: 1

Patch Set 3 : fix component build #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : fix buildbot configs #

Patch Set 7 : rebase #

Patch Set 8 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+231 lines, -3277 lines) Patch
M BUILD.gn View 1 2 3 2 chunks +1 line, -1 line 0 comments Download
M components/mus/public/cpp/tests/BUILD.gn View 1 2 2 chunks +5 lines, -0 lines 0 comments Download
A components/mus/public/cpp/tests/window_server_shelltest_base.h View 1 2 1 chunk +31 lines, -0 lines 0 comments Download
A components/mus/public/cpp/tests/window_server_shelltest_base.cc View 1 2 3 4 1 chunk +58 lines, -0 lines 0 comments Download
M components/mus/public/cpp/tests/window_server_test_base.h View 1 2 2 chunks +4 lines, -8 lines 0 comments Download
M components/mus/public/cpp/tests/window_server_test_base.cc View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M components/mus/ws/BUILD.gn View 1 2 3 4 5 6 7 4 chunks +18 lines, -40 lines 0 comments Download
D components/mus/ws/apptest_manifest.json View 1 chunk +0 lines, -5 lines 0 comments Download
A components/mus/ws/mus_ws_unittests_app_manifest.json View 1 1 chunk +5 lines, -0 lines 0 comments Download
D components/mus/ws/window_manager_client_apptest.cc View 1 chunk +0 lines, -1182 lines 0 comments Download
A + components/mus/ws/window_manager_client_unittest.cc View 1 2 2 chunks +1 line, -3 lines 0 comments Download
D components/mus/ws/window_tree_apptest.cc View 1 chunk +0 lines, -1933 lines 0 comments Download
A + components/mus/ws/window_tree_client_unittest.cc View 1 2 39 chunks +51 lines, -51 lines 0 comments Download
M mash/wm/BUILD.gn View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
A mojo/shell/public/cpp/test/BUILD.gn View 1 chunk +28 lines, -0 lines 0 comments Download
A + mojo/shell/public/cpp/test/run_all_shelltests.cc View 1 chunk +0 lines, -2 lines 0 comments Download
M mojo/shell/tests/BUILD.gn View 1 2 3 4 5 6 3 chunks +3 lines, -1 line 0 comments Download
D mojo/shell/tests/mojo_shell_unittests.cc View 1 chunk +0 lines, -18 lines 0 comments Download
M mojo/tools/data/apptests View 2 chunks +0 lines, -17 lines 0 comments Download
M testing/buildbot/chromium.linux.json View 1 2 3 4 5 3 chunks +12 lines, -3 lines 0 comments Download
M testing/buildbot/chromium.mojo.json View 1 2 chunks +6 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.win.json View 1 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M testing/buildbot/gn_isolate_map.pyl View 1 2 3 4 5 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
Ken Rockot(use gerrit already)
so much faster
4 years, 9 months ago (2016-03-08 17:56:33 UTC) #2
Ben Goodger (Google)
https://codereview.chromium.org/1771393002/diff/1/components/mus/ws/BUILD.gn File components/mus/ws/BUILD.gn (right): https://codereview.chromium.org/1771393002/diff/1/components/mus/ws/BUILD.gn#newcode196 components/mus/ws/BUILD.gn:196: test("window_manager_shelltests") { rather than calling these out as a ...
4 years, 9 months ago (2016-03-08 18:07:23 UTC) #3
Ken Rockot(use gerrit already)
I chose not to do this because starting a background shell still carries a lot ...
4 years, 9 months ago (2016-03-08 18:10:12 UTC) #4
Ben Goodger (Google)
Sky had expressed preference for merging. +cc
4 years, 9 months ago (2016-03-08 18:13:01 UTC) #6
sky
On 2016/03/08 18:13:01, Ben Goodger (Google) wrote: > Sky had expressed preference for merging. +cc ...
4 years, 9 months ago (2016-03-08 22:40:35 UTC) #7
Ken Rockot(use gerrit already)
On 2016/03/08 at 22:40:35, sky wrote: > On 2016/03/08 18:13:01, Ben Goodger (Google) wrote: > ...
4 years, 9 months ago (2016-03-08 23:19:12 UTC) #8
Ken Rockot(use gerrit already)
Everything's in mus_ws_unittests now, PTAL!
4 years, 9 months ago (2016-03-09 00:24:30 UTC) #9
Ben Goodger (Google)
lgtm
4 years, 9 months ago (2016-03-09 00:41:51 UTC) #10
sky
LGTM https://codereview.chromium.org/1771393002/diff/20001/components/mus/public/cpp/tests/window_manager_shelltest_base.h File components/mus/public/cpp/tests/window_manager_shelltest_base.h (right): https://codereview.chromium.org/1771393002/diff/20001/components/mus/public/cpp/tests/window_manager_shelltest_base.h#newcode15 components/mus/public/cpp/tests/window_manager_shelltest_base.h:15: class WindowManagerShellTestBase : public mojo::test::ShellTest { WindowManager->WindowServer
4 years, 9 months ago (2016-03-09 00:50:42 UTC) #11
Ken Rockot(use gerrit already)
On 2016/03/09 at 00:50:42, sky wrote: > LGTM > > https://codereview.chromium.org/1771393002/diff/20001/components/mus/public/cpp/tests/window_manager_shelltest_base.h > File components/mus/public/cpp/tests/window_manager_shelltest_base.h (right): ...
4 years, 9 months ago (2016-03-09 01:06:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771393002/40001
4 years, 9 months ago (2016-03-09 01:07:09 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/154699)
4 years, 9 months ago (2016-03-09 01:21:30 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771393002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771393002/100001
4 years, 9 months ago (2016-03-09 06:33:31 UTC) #20
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/193619)
4 years, 9 months ago (2016-03-09 07:10:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1771393002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1771393002/140001
4 years, 9 months ago (2016-03-09 15:51:39 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 9 months ago (2016-03-09 17:15:12 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-09 17:16:35 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/6a2b04272ba5fd3dad9c62f03144bad04e6cfa65
Cr-Commit-Position: refs/heads/master@{#380148}

Powered by Google App Engine
This is Rietveld 408576698