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

Issue 2891593003: Add DesktopRectTest for UnionWith() function (Closed)

Created:
3 years, 7 months ago by Hzj_jie
Modified:
3 years, 7 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, Jamie
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add DesktopRectTest for UnionWith() function DesktopRect::UnionWith() function has been added by change https://codereview.webrtc.org/2845213002. This change adds test cases to cover the newly added logic. More specifically, union between an empty rectangle and a non-empty one or two empty rectangles. BUG=webrtc:7541 Review-Url: https://codereview.webrtc.org/2891593003 Cr-Commit-Position: refs/heads/master@{#18201} Committed: https://chromium.googlesource.com/external/webrtc/+/8eef7aa7cf165401fe4083b02334890097e5b003

Patch Set 1 #

Total comments: 4

Patch Set 2 : Resolve review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -0 lines) Patch
M webrtc/modules/desktop_capture/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A webrtc/modules/desktop_capture/desktop_geometry_unittest.cc View 1 1 chunk +69 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (22 generated)
Hzj_jie
3 years, 7 months ago (2017-05-17 19:50:43 UTC) #13
Do not use (sergeyu)
lgtm https://codereview.webrtc.org/2891593003/diff/40001/webrtc/modules/desktop_capture/desktop_geometry_unittest.cc File webrtc/modules/desktop_capture/desktop_geometry_unittest.cc (right): https://codereview.webrtc.org/2891593003/diff/40001/webrtc/modules/desktop_capture/desktop_geometry_unittest.cc#newcode20 webrtc/modules/desktop_capture/desktop_geometry_unittest.cc:20: ASSERT_TRUE(rect.equals(DesktopRect::MakeXYWH(-2, -2, 4, 4))); nit: this test would ...
3 years, 7 months ago (2017-05-18 17:37:53 UTC) #15
Sergey Ulanov
lgtm from the right account
3 years, 7 months ago (2017-05-18 17:38:41 UTC) #17
Hzj_jie
https://codereview.webrtc.org/2891593003/diff/40001/webrtc/modules/desktop_capture/desktop_geometry_unittest.cc File webrtc/modules/desktop_capture/desktop_geometry_unittest.cc (right): https://codereview.webrtc.org/2891593003/diff/40001/webrtc/modules/desktop_capture/desktop_geometry_unittest.cc#newcode20 webrtc/modules/desktop_capture/desktop_geometry_unittest.cc:20: ASSERT_TRUE(rect.equals(DesktopRect::MakeXYWH(-2, -2, 4, 4))); On 2017/05/18 17:37:53, Do not ...
3 years, 7 months ago (2017-05-18 19:24:01 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2891593003/60001
3 years, 7 months ago (2017-05-18 19:24:28 UTC) #25
commit-bot: I haz the power
3 years, 7 months ago (2017-05-18 19:27:22 UTC) #28
Message was sent while issue was closed.
Committed patchset #2 (id:60001) as
https://chromium.googlesource.com/external/webrtc/+/8eef7aa7cf165401fe4083b02...

Powered by Google App Engine
This is Rietveld 408576698