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

Issue 2861533003: Backfill some UI tests. (Closed)

Created:
3 years, 7 months ago by Bret
Modified:
3 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, groby+bubble_chromium.org, tfarina, jam, darin-cc_chromium.org, hcarmona+bubble_chromium.org, rouslan+bubble_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Backfill some UI tests. * Added a test for DialogClientView's button layout. * Added a test for non client hit results in BubbleFrameView. * Added a test for ValidationMessageBubbleView's anchor rect at HighDPI. BUG=702196, 680019 Review-Url: https://codereview.chromium.org/2861533003 Cr-Original-Commit-Position: refs/heads/master@{#472550} Committed: https://chromium.googlesource.com/chromium/src/+/819580022f1d2c8dc1eaa4d8614e765a55f95a4b Review-Url: https://codereview.chromium.org/2861533003 Cr-Commit-Position: refs/heads/master@{#472923} Committed: https://chromium.googlesource.com/chromium/src/+/ea63253fa4fdcf6db310bff500e72a8aac4ae8f9

Patch Set 1 #

Patch Set 2 : try to fix bots #

Patch Set 3 : rewrite hit test in dialog tests #

Patch Set 4 : minor edits #

Total comments: 8

Patch Set 5 : comments #

Total comments: 7

Patch Set 6 : test rwhv makes its own window #

Total comments: 2

Patch Set 7 : change window delegate plumbing #

Patch Set 8 : fix compile #

Patch Set 9 : fix compile, but for real #

Patch Set 10 : fix silent merge conflict #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -2 lines) Patch
A chrome/browser/ui/views/validation_message_bubble_view_unittest.cc View 1 2 3 4 5 1 chunk +60 lines, -0 lines 0 comments Download
M chrome/test/BUILD.gn View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M content/test/test_render_view_host.h View 1 2 3 4 5 6 7 8 4 chunks +10 lines, -2 lines 0 comments Download
M content/test/test_render_view_host.cc View 1 2 3 4 5 6 7 8 3 chunks +16 lines, -0 lines 0 comments Download
M ui/views/window/dialog_client_view_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +16 lines, -0 lines 0 comments Download
M ui/views/window/dialog_delegate_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +13 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (40 generated)
Bret
3 years, 7 months ago (2017-05-05 00:47:52 UTC) #15
sky
https://codereview.chromium.org/2861533003/diff/60001/chrome/browser/ui/views/DEPS File chrome/browser/ui/views/DEPS (right): https://codereview.chromium.org/2861533003/diff/60001/chrome/browser/ui/views/DEPS#newcode13 chrome/browser/ui/views/DEPS:13: "+content/test/test_render_view_host.h", Code outside of content should only use code ...
3 years, 7 months ago (2017-05-05 14:43:22 UTC) #16
Bret
https://codereview.chromium.org/2861533003/diff/60001/chrome/browser/ui/views/DEPS File chrome/browser/ui/views/DEPS (right): https://codereview.chromium.org/2861533003/diff/60001/chrome/browser/ui/views/DEPS#newcode13 chrome/browser/ui/views/DEPS:13: "+content/test/test_render_view_host.h", On 2017/05/05 14:43:21, sky wrote: > Code outside ...
3 years, 7 months ago (2017-05-06 01:15:12 UTC) #17
sky
https://codereview.chromium.org/2861533003/diff/80001/chrome/browser/ui/views/validation_message_bubble_view_unittest.cc File chrome/browser/ui/views/validation_message_bubble_view_unittest.cc (right): https://codereview.chromium.org/2861533003/diff/80001/chrome/browser/ui/views/validation_message_bubble_view_unittest.cc#newcode29 chrome/browser/ui/views/validation_message_bubble_view_unittest.cc:29: switches::kForceDeviceScaleFactor, std::to_string(kScaleFactor)); Wow, I didn't realize std got a ...
3 years, 7 months ago (2017-05-07 22:44:24 UTC) #22
Bret
https://codereview.chromium.org/2861533003/diff/80001/chrome/browser/ui/views/validation_message_bubble_view_unittest.cc File chrome/browser/ui/views/validation_message_bubble_view_unittest.cc (right): https://codereview.chromium.org/2861533003/diff/80001/chrome/browser/ui/views/validation_message_bubble_view_unittest.cc#newcode33 chrome/browser/ui/views/validation_message_bubble_view_unittest.cc:33: // Owned by the parent view. On 2017/05/07 22:44:23, ...
3 years, 7 months ago (2017-05-09 23:44:42 UTC) #23
sky
https://codereview.chromium.org/2861533003/diff/100001/content/test/test_render_view_host.cc File content/test/test_render_view_host.cc (right): https://codereview.chromium.org/2861533003/diff/100001/content/test/test_render_view_host.cc#newcode65 content/test/test_render_view_host.cc:65: window_(new aura::Window(this)) { Call window_->set_owned_by_parent(false). That way if test ...
3 years, 7 months ago (2017-05-10 15:49:50 UTC) #24
Bret
https://codereview.chromium.org/2861533003/diff/100001/content/test/test_render_view_host.cc File content/test/test_render_view_host.cc (right): https://codereview.chromium.org/2861533003/diff/100001/content/test/test_render_view_host.cc#newcode65 content/test/test_render_view_host.cc:65: window_(new aura::Window(this)) { On 2017/05/10 15:49:50, sky wrote: > ...
3 years, 7 months ago (2017-05-10 21:18:39 UTC) #25
Bret
ping
3 years, 7 months ago (2017-05-16 19:49:02 UTC) #38
sky
LGTM - sorry for missing the review. Please ping after a day if you don't ...
3 years, 7 months ago (2017-05-17 16:33:56 UTC) #39
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/2861533003/160001
3 years, 7 months ago (2017-05-17 18:39:40 UTC) #41
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://chromium.googlesource.com/chromium/src/+/819580022f1d2c8dc1eaa4d8614e765a55f95a4b
3 years, 7 months ago (2017-05-17 20:26:40 UTC) #44
Bret
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/2891803002/ by bsep@chromium.org. ...
3 years, 7 months ago (2017-05-17 20:37:45 UTC) #45
findit-for-me
Findit (https://goo.gl/kROfz5) confirmed this CL at revision 472550 as the culprit for failures in the ...
3 years, 7 months ago (2017-05-17 20:43:02 UTC) #46
Bret
Re-landing with the incompatible changes fixed.
3 years, 7 months ago (2017-05-17 21:51:18 UTC) #48
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/2861533003/180001
3 years, 7 months ago (2017-05-17 21:52:21 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/448092)
3 years, 7 months ago (2017-05-18 06:12:16 UTC) #53
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/2861533003/180001
3 years, 7 months ago (2017-05-18 18:42:31 UTC) #55
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 20:48:42 UTC) #58
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/ea63253fa4fdcf6db310bff500e7...

Powered by Google App Engine
This is Rietveld 408576698