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

Side by Side Diff: webrtc/call/rtp_demuxer_unittest.cc

Issue 2913143003: New targets call:rtp_interfaces, call:rtp_receiver, call:rtp_sender. (Closed)
Patch Set: Rebase, needed additional include in unit test. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/call/rtp_demuxer.cc ('k') | webrtc/call/rtp_packet_sink_interface.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2017 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/call/rtp_demuxer.h" 11 #include "webrtc/call/rtp_demuxer.h"
12 12
13 #include <memory> 13 #include <memory>
14 14
15 #include "webrtc/base/arraysize.h" 15 #include "webrtc/base/arraysize.h"
16 #include "webrtc/base/checks.h" 16 #include "webrtc/base/checks.h"
17 #include "webrtc/base/ptr_util.h" 17 #include "webrtc/base/ptr_util.h"
18 #include "webrtc/call/rtp_packet_sink_interface.h"
18 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" 19 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
19 #include "webrtc/test/gmock.h" 20 #include "webrtc/test/gmock.h"
20 #include "webrtc/test/gtest.h" 21 #include "webrtc/test/gtest.h"
21 22
22 namespace webrtc { 23 namespace webrtc {
23 24
24 namespace { 25 namespace {
25 26
26 using ::testing::_; 27 using ::testing::_;
27 28
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 #if RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID) 139 #if RTC_DCHECK_IS_ON && GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
139 TEST_F(RtpDemuxerTest, RepeatedAssociationsForbidden) { 140 TEST_F(RtpDemuxerTest, RepeatedAssociationsForbidden) {
140 // Set-up already associated sinks[0] with kSsrcs[0]. Repeating the 141 // Set-up already associated sinks[0] with kSsrcs[0]. Repeating the
141 // association is an error. 142 // association is an error.
142 EXPECT_DEATH(demuxer.AddSink(kSsrcs[0], &sinks[0]), ""); 143 EXPECT_DEATH(demuxer.AddSink(kSsrcs[0], &sinks[0]), "");
143 } 144 }
144 #endif 145 #endif
145 146
146 } // namespace 147 } // namespace
147 } // namespace webrtc 148 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/rtp_demuxer.cc ('k') | webrtc/call/rtp_packet_sink_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698