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

Issue 1585783003: Fix expectation bug in the RTPSender unit test. (Closed)

Created:
4 years, 11 months ago by terelius
Modified:
4 years, 11 months ago
Reviewers:
stefan-webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhuangzesen_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix expectation bug in the RTPSender unit test. The current expectation for InsertPacket(...) uses WillRepeatedly, which accepts if the function is called zero or more times. This CL changes this to either a fixed number of calls, or at least a positive number of calls. Committed: https://crrev.com/5d332ac8ffc1ff8efb35abd12b913ec495873494 Cr-Commit-Position: refs/heads/master@{#11256}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Use default action instead of WillOnce/WillRepeatedly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -16 lines) Patch
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 9 chunks +16 lines, -16 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
terelius
This CL makes sure the InsertPacket is called from the RTPSender.
4 years, 11 months ago (2016-01-14 14:57:55 UTC) #2
stefan-webrtc
https://codereview.webrtc.org/1585783003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc (right): https://codereview.webrtc.org/1585783003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc#newcode629 webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc:629: .WillOnce(testing::Return()); I _think_ you don't need this if the ...
4 years, 11 months ago (2016-01-14 15:03:42 UTC) #3
terelius
https://codereview.webrtc.org/1585783003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc File webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc (right): https://codereview.webrtc.org/1585783003/diff/1/webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc#newcode629 webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc:629: .WillOnce(testing::Return()); On 2016/01/14 15:03:42, stefan-webrtc (holmer) wrote: > I ...
4 years, 11 months ago (2016-01-14 15:41:01 UTC) #4
stefan-webrtc
lgtm
4 years, 11 months ago (2016-01-14 18:53:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1585783003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1585783003/20001
4 years, 11 months ago (2016-01-14 21:02:46 UTC) #7
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 11 months ago (2016-01-14 22:37:43 UTC) #8
commit-bot: I haz the power
4 years, 11 months ago (2016-01-14 22:37:52 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5d332ac8ffc1ff8efb35abd12b913ec495873494
Cr-Commit-Position: refs/heads/master@{#11256}

Powered by Google App Engine
This is Rietveld 408576698