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

Issue 2406463002: Add unittest for I420Buffer::Rotate. (Closed)

Created:
4 years, 2 months ago by nisse-webrtc
Modified:
4 years, 2 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add unittest for I420Buffer::Rotate. Also change pointer to const ref for CheckCrop helper. BUG=webrtc:5682 Committed: https://crrev.com/f33970b15e0eeb46548fa602f6d0c1fcfd44dd19 Cr-Commit-Position: refs/heads/master@{#14663}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix EXPECT_EQ argument order. #

Total comments: 2

Patch Set 3 : Use parameterized test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -12 lines) Patch
M webrtc/common_video/i420_video_frame_unittest.cc View 1 2 8 chunks +61 lines, -12 lines 0 comments Download

Messages

Total messages: 12 (4 generated)
nisse-webrtc
PTAL.
4 years, 2 months ago (2016-10-07 14:28:06 UTC) #2
perkj_webrtc
thanks lgtm with a nit. https://codereview.webrtc.org/2406463002/diff/1/webrtc/common_video/i420_video_frame_unittest.cc File webrtc/common_video/i420_video_frame_unittest.cc (right): https://codereview.webrtc.org/2406463002/diff/1/webrtc/common_video/i420_video_frame_unittest.cc#newcode87 webrtc/common_video/i420_video_frame_unittest.cc:87: EXPECT_EQ(rotated.width(), rotated_width); nit, expect ...
4 years, 2 months ago (2016-10-09 18:13:44 UTC) #3
magjed_webrtc
https://codereview.webrtc.org/2406463002/diff/20001/webrtc/common_video/i420_video_frame_unittest.cc File webrtc/common_video/i420_video_frame_unittest.cc (right): https://codereview.webrtc.org/2406463002/diff/20001/webrtc/common_video/i420_video_frame_unittest.cc#newcode354 webrtc/common_video/i420_video_frame_unittest.cc:354: TEST(TestI420FrameBuffer, Rotate_0) { Can you turn this into a ...
4 years, 2 months ago (2016-10-13 22:35:12 UTC) #4
nisse-webrtc
https://codereview.webrtc.org/2406463002/diff/1/webrtc/common_video/i420_video_frame_unittest.cc File webrtc/common_video/i420_video_frame_unittest.cc (right): https://codereview.webrtc.org/2406463002/diff/1/webrtc/common_video/i420_video_frame_unittest.cc#newcode87 webrtc/common_video/i420_video_frame_unittest.cc:87: EXPECT_EQ(rotated.width(), rotated_width); On 2016/10/09 18:13:44, perkj_webrtc wrote: > nit, ...
4 years, 2 months ago (2016-10-18 09:34:21 UTC) #5
magjed_webrtc
lgtm
4 years, 2 months ago (2016-10-18 12:22:05 UTC) #6
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/2406463002/40001
4 years, 2 months ago (2016-10-18 12:25:15 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-10-18 13:01:37 UTC) #10
commit-bot: I haz the power
4 years, 2 months ago (2016-10-18 13:01:44 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f33970b15e0eeb46548fa602f6d0c1fcfd44dd19
Cr-Commit-Position: refs/heads/master@{#14663}

Powered by Google App Engine
This is Rietveld 408576698