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

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

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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_rtcp_demuxer_helper.h ('k') | webrtc/call/rtp_stream_receiver_controller.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 <cstdio> 11 #include <cstdio>
12 12
13 #include "webrtc/call/rtp_rtcp_demuxer_helper.h" 13 #include "webrtc/call/rtp_rtcp_demuxer_helper.h"
14 14
15 #include "webrtc/base/arraysize.h"
16 #include "webrtc/base/basictypes.h"
17 #include "webrtc/base/buffer.h"
18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h" 15 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/bye.h"
19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h" 16 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_jitter_report.h"
20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h" 17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/extended_reports.h"
21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h" 18 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/pli.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h" 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/rapid_resync_request.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/receiver_report.h"
24 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/sender_report.h"
22 #include "webrtc/rtc_base/arraysize.h"
23 #include "webrtc/rtc_base/basictypes.h"
24 #include "webrtc/rtc_base/buffer.h"
25 #include "webrtc/test/gtest.h" 25 #include "webrtc/test/gtest.h"
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 namespace { 29 namespace {
30 constexpr uint32_t kSsrc = 8374; 30 constexpr uint32_t kSsrc = 8374;
31 } // namespace 31 } // namespace
32 32
33 TEST(RtpRtcpDemuxerHelperTest, ParseRtcpPacketSenderSsrc_ByePacket) { 33 TEST(RtpRtcpDemuxerHelperTest, ParseRtcpPacketSenderSsrc_ByePacket) {
34 webrtc::rtcp::Bye rtcp_packet; 34 webrtc::rtcp::Bye rtcp_packet;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 constexpr size_t rtcp_length_bytes = 8; 111 constexpr size_t rtcp_length_bytes = 8;
112 ASSERT_EQ(rtcp_length_bytes, raw_packet.size()); 112 ASSERT_EQ(rtcp_length_bytes, raw_packet.size());
113 113
114 rtc::Optional<uint32_t> ssrc = ParseRtcpPacketSenderSsrc( 114 rtc::Optional<uint32_t> ssrc = ParseRtcpPacketSenderSsrc(
115 rtc::ArrayView<const uint8_t>(raw_packet.data(), rtcp_length_bytes - 1)); 115 rtc::ArrayView<const uint8_t>(raw_packet.data(), rtcp_length_bytes - 1));
116 EXPECT_FALSE(ssrc); 116 EXPECT_FALSE(ssrc);
117 } 117 }
118 118
119 } // namespace webrtc 119 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/call/rtp_rtcp_demuxer_helper.h ('k') | webrtc/call/rtp_stream_receiver_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698