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

Issue 2902823004: Create unit tests for RtpDemuxer (Closed)

Created:
3 years, 7 months ago by eladalon
Modified:
3 years, 6 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Create unit tests for RtpDemuxer 1. Create unit tests for RtpDemuxer. 2. Add an RTC_DCHECK in RtpDemuxer that makes sure that the sink<->ssrc multimap does not allow multiple instances of the same association. BUG=None Review-Url: https://codereview.webrtc.org/2902823004 Cr-Commit-Position: refs/heads/master@{#18357} Committed: https://chromium.googlesource.com/external/webrtc/+/760a076a5293b65d70c4f3cd171e148439b3608a

Patch Set 1 #

Patch Set 2 : . #

Total comments: 29

Patch Set 3 : CR response #

Total comments: 6

Patch Set 4 : Response to CR #

Total comments: 2

Patch Set 5 : . #

Patch Set 6 : MakeUnique #

Patch Set 7 : Might as well remove the flaky death-test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+166 lines, -0 lines) Patch
M webrtc/BUILD.gn View 1 2 3 4 5 6 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/call/BUILD.gn View 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/call/rtp_demuxer.cc View 1 2 2 chunks +15 lines, -0 lines 0 comments Download
A webrtc/call/rtp_demuxer_unittest.cc View 1 2 3 4 5 6 1 chunk +147 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (18 generated)
danilchap
https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/BUILD.gn File webrtc/call/BUILD.gn (right): https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/BUILD.gn#newcode92 webrtc/call/BUILD.gn:92: "rtp_demuxer_unittest.cc", # TODO(eladalon): Not really video-engine specific. same can ...
3 years, 7 months ago (2017-05-24 17:14:03 UTC) #4
eladalon
https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/BUILD.gn File webrtc/call/BUILD.gn (right): https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/BUILD.gn#newcode92 webrtc/call/BUILD.gn:92: "rtp_demuxer_unittest.cc", # TODO(eladalon): Not really video-engine specific. On 2017/05/24 ...
3 years, 7 months ago (2017-05-25 08:00:05 UTC) #5
nisse-webrtc
https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/BUILD.gn File webrtc/call/BUILD.gn (right): https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/BUILD.gn#newcode92 webrtc/call/BUILD.gn:92: "rtp_demuxer_unittest.cc", # TODO(eladalon): Not really video-engine specific. On 2017/05/25 ...
3 years, 6 months ago (2017-05-29 07:58:22 UTC) #6
danilchap
https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/rtp_demuxer_unittest.cc#newcode15 webrtc/call/rtp_demuxer_unittest.cc:15: #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" On 2017/05/25 08:00:05, eladalon wrote: > On ...
3 years, 6 months ago (2017-05-29 08:59:54 UTC) #7
eladalon
https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/rtp_demuxer_unittest.cc#newcode15 webrtc/call/rtp_demuxer_unittest.cc:15: #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" On 2017/05/29 08:59:53, danilchap wrote: > On ...
3 years, 6 months ago (2017-05-30 14:23:37 UTC) #8
danilchap
lgtm https://codereview.webrtc.org/2902823004/diff/60001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2902823004/diff/60001/webrtc/call/rtp_demuxer_unittest.cc#newcode25 webrtc/call/rtp_demuxer_unittest.cc:25: using testing::_; nit: prefer full qualified named when ...
3 years, 6 months ago (2017-05-30 14:32:35 UTC) #9
eladalon
https://codereview.webrtc.org/2902823004/diff/60001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2902823004/diff/60001/webrtc/call/rtp_demuxer_unittest.cc#newcode25 webrtc/call/rtp_demuxer_unittest.cc:25: using testing::_; On 2017/05/30 14:32:35, danilchap wrote: > nit: ...
3 years, 6 months ago (2017-05-30 14:39:54 UTC) #10
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/2902823004/80001
3 years, 6 months ago (2017-05-30 14:40:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/17567)
3 years, 6 months ago (2017-05-30 14:44:14 UTC) #15
nisse-webrtc
lgtm https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2902823004/diff/20001/webrtc/call/rtp_demuxer_unittest.cc#newcode38 webrtc/call/rtp_demuxer_unittest.cc:38: std::unique_ptr<RtpPacketReceived> packet(new RtpPacketReceived()); On 2017/05/30 14:23:37, eladalon wrote: ...
3 years, 6 months ago (2017-05-30 14:53:23 UTC) #16
holmer
lgtm
3 years, 6 months ago (2017-05-30 14:55:42 UTC) #18
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/2902823004/100001
3 years, 6 months ago (2017-05-30 15:38:05 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/17578)
3 years, 6 months ago (2017-05-30 15:42:01 UTC) #23
stefan-webrtc
lgtm
3 years, 6 months ago (2017-05-30 20:09:26 UTC) #24
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/2902823004/100001
3 years, 6 months ago (2017-05-30 20:47:50 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/8368)
3 years, 6 months ago (2017-05-30 22:13:02 UTC) #28
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/2902823004/120001
3 years, 6 months ago (2017-05-31 14:29:34 UTC) #31
commit-bot: I haz the power
Try jobs failed on following builders: linux_memcheck on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_memcheck/builds/8393)
3 years, 6 months ago (2017-05-31 14:55:29 UTC) #33
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/2902823004/120001
3 years, 6 months ago (2017-05-31 15:59:43 UTC) #35
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 16:12:31 UTC) #38
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/external/webrtc/+/760a076a5293b65d70c4f3cd1...

Powered by Google App Engine
This is Rietveld 408576698