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

Issue 1972363002: mus: Add views_mus_interactive_ui_tests target (Closed)

Created:
4 years, 7 months ago by James Cook
Modified:
4 years, 7 months ago
Reviewers:
Dirk Pranke, sadrul, sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

mus: Add views_mus_interactive_ui_tests target * Run widget_interactive_uitests.cc in the new target. * Added a shared "test_support" target in ui/views/mus. * Pull ViewsMusTestSuite into its own file so I can share it. * Also make ViewsTestBase::IsMus static so I can call it before the PlatformTestHelper is initialized. * Disable a bunch of tests that fail on mus (I filed bugs for them). BUG=602036 TEST=views_interactive_ui_tests on mus, interactive_ui_tests elsewhere Committed: https://crrev.com/94b68793a258e9261d1dc39cc5fdd2de673ec888 Cr-Commit-Position: refs/heads/master@{#394026}

Patch Set 1 #

Patch Set 2 : disable failing tests #

Patch Set 3 : linux #

Total comments: 1

Patch Set 4 : separate views_mus_interactive_ui_tests binary #

Patch Set 5 : rebase #

Patch Set 6 : similarity #

Total comments: 2

Patch Set 7 : ui_test_pak_data #

Patch Set 8 : rebase #

Patch Set 9 : rebase onto Sadrul's patch, pull out ViewsMusTestSuite #

Unified diffs Side-by-side diffs Delta from patch set Stats (+389 lines, -186 lines) Patch
M BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M testing/buildbot/chromium.linux.json View 1 2 3 4 5 6 7 8 1 chunk +6 lines, -0 lines 0 comments Download
M testing/buildbot/chromium.mojo.json View 1 2 3 2 chunks +6 lines, -0 lines 0 comments Download
M testing/buildbot/gn_isolate_map.pyl View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
M ui/views/BUILD.gn View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -4 lines 0 comments Download
M ui/views/mus/BUILD.gn View 1 2 3 4 5 6 7 8 6 chunks +88 lines, -19 lines 0 comments Download
M ui/views/mus/DEPS View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A ui/views/mus/interactive_ui_tests_manifest.json View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download
A ui/views/mus/interactive_ui_tests_mus.cc View 1 2 3 4 5 6 7 8 1 chunk +9 lines, -0 lines 0 comments Download
M ui/views/mus/run_all_unittests_mus.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -137 lines 0 comments Download
A ui/views/mus/views_mus_test_suite.h View 1 2 3 4 5 6 7 8 1 chunk +34 lines, -0 lines 0 comments Download
A ui/views/mus/views_mus_test_suite.cc View 1 2 3 4 5 6 7 8 1 chunk +142 lines, -0 lines 0 comments Download
M ui/views/run_all_unittests.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M ui/views/run_all_unittests.cc View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -0 lines 0 comments Download
M ui/views/test/platform_test_helper.h View 1 2 3 4 5 6 7 8 1 chunk +4 lines, -1 line 0 comments Download
M ui/views/test/platform_test_helper.cc View 1 2 3 4 5 6 7 8 2 chunks +11 lines, -2 lines 0 comments Download
M ui/views/test/scoped_views_test_helper.h View 1 1 chunk +0 lines, -2 lines 0 comments Download
M ui/views/test/scoped_views_test_helper.cc View 1 2 3 4 5 6 7 8 2 chunks +1 line, -5 lines 0 comments Download
M ui/views/test/views_test_base.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M ui/views/test/views_test_base.cc View 1 3 chunks +6 lines, -4 lines 0 comments Download
M ui/views/widget/widget_interactive_uitest.cc View 1 2 9 chunks +52 lines, -10 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 42 (20 generated)
James Cook
sky, please take a look.
4 years, 7 months ago (2016-05-13 17:22:59 UTC) #3
sky
https://codereview.chromium.org/1972363002/diff/10004/ui/views/mus/BUILD.gn File ui/views/mus/BUILD.gn (right): https://codereview.chromium.org/1972363002/diff/10004/ui/views/mus/BUILD.gn#newcode142 ui/views/mus/BUILD.gn:142: "../widget/widget_interactive_uitest.cc", This needs to be in its own test ...
4 years, 7 months ago (2016-05-13 19:27:52 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972363002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972363002/90001
4 years, 7 months ago (2016-05-13 23:44:57 UTC) #6
James Cook
sky, please take another look.
4 years, 7 months ago (2016-05-13 23:46:22 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-14 01:02:34 UTC) #10
sky
LGTM
4 years, 7 months ago (2016-05-16 15:34: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/1972363002/90001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972363002/90001
4 years, 7 months ago (2016-05-16 15:40:14 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/183708)
4 years, 7 months ago (2016-05-16 15:47:52 UTC) #15
James Cook
dpranke, can I get OWNERS for //BUILD.gn? This adds a new test target for the ...
4 years, 7 months ago (2016-05-16 15:54:28 UTC) #17
Dirk Pranke
lgtm w/ change noted below. https://codereview.chromium.org/1972363002/diff/90001/ui/views/mus/BUILD.gn File ui/views/mus/BUILD.gn (right): https://codereview.chromium.org/1972363002/diff/90001/ui/views/mus/BUILD.gn#newcode158 ui/views/mus/BUILD.gn:158: data = [ This ...
4 years, 7 months ago (2016-05-16 17:35:06 UTC) #18
James Cook
https://codereview.chromium.org/1972363002/diff/90001/ui/views/mus/BUILD.gn File ui/views/mus/BUILD.gn (right): https://codereview.chromium.org/1972363002/diff/90001/ui/views/mus/BUILD.gn#newcode158 ui/views/mus/BUILD.gn:158: data = [ On 2016/05/16 17:35:06, Dirk Pranke wrote: ...
4 years, 7 months ago (2016-05-16 20:09:46 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972363002/110001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972363002/110001
4 years, 7 months ago (2016-05-16 20:10:26 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/6262) ios-device-gn on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 7 months ago (2016-05-16 20:12:58 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972363002/130001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972363002/130001
4 years, 7 months ago (2016-05-16 20:37:00 UTC) #27
commit-bot: I haz the power
Failed to apply patch for ui/views/mus/platform_test_helper_mus.cc: While running git apply --index -3 -p1; error: ui/views/mus/platform_test_helper_mus.cc: ...
4 years, 7 months ago (2016-05-16 21:47:04 UTC) #29
James Cook
sky, please take another look. The major changes vs. the last CL are pulling ViewsMusTestSuite ...
4 years, 7 months ago (2016-05-16 23:37:18 UTC) #32
sadrul
fwiw lgtm
4 years, 7 months ago (2016-05-17 00:12:05 UTC) #34
James Cook
On 2016/05/17 00:12:05, sadrul wrote: > fwiw lgtm Given that the biggest change in this ...
4 years, 7 months ago (2016-05-17 01:57:23 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1972363002/150001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1972363002/150001
4 years, 7 months ago (2016-05-17 01:58:11 UTC) #38
commit-bot: I haz the power
Committed patchset #9 (id:150001)
4 years, 7 months ago (2016-05-17 02:35:16 UTC) #39
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/94b68793a258e9261d1dc39cc5fdd2de673ec888 Cr-Commit-Position: refs/heads/master@{#394026}
4 years, 7 months ago (2016-05-17 02:36:29 UTC) #41
James Cook
4 years, 7 months ago (2016-05-17 03:03:19 UTC) #42
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:150001) has been created in
https://codereview.chromium.org/1980283002/ by jamescook@chromium.org.

The reason for reverting is: Broke Chromium Win on Win x64 Builder (dbg)

[3415/4254] CXX
obj/ui/views/mus/views_mus_interactive_ui_tests/widget_interactive_uitest.obj
FAILED:
obj/ui/views/mus/views_mus_interactive_ui_tests/widget_interactive_uitest.obj 
ninja -t msvc -e environment.x64 -- C:\b\build\slave\cache\cipd\goma/gomacc.exe
"C:\b\depot_tools\win_toolchain\vs_files\95ddda401ec5678f15eeed01d2bee08fcbc5ee97\VC\bin\amd64/cl.exe"
/nologo /showIncludes /FC
@obj/ui/views/mus/views_mus_interactive_ui_tests/widget_interactive_uitest.obj.rsp
/c ../../ui/views/widget/widget_interactive_uitest.cc
/Foobj/ui/views/mus/views_mus_interactive_ui_tests/widget_interactive_uitest.obj
/Fd"obj/ui/views/mus/views_mus_interactive_ui_tests_cc.pdb"
c:\b\build\slave\win_x64_builder__dbg_\build\src\ui\views\widget\widget_interactive_uitest.cc(658):
error C2220: warning treated as error - no 'object' file generated
c:\b\build\slave\win_x64_builder__dbg_\build\src\ui\views\widget\widget_interactive_uitest.cc(658):
warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of
data
.

Powered by Google App Engine
This is Rietveld 408576698