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

Side by Side Diff: webrtc/modules/rtp_rtcp/source/flexfec_receiver_unittest.cc

Issue 2969653002: Update includes for webrtc/{base => rtc_base} rename (1/3) (Closed)
Patch Set: Rebased onto 89c4a7e57d524b13fbe0c823a83a4c10c2e63bd0 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 <algorithm> 11 #include <algorithm>
12 #include <memory> 12 #include <memory>
13 13
14 #include "webrtc/base/basictypes.h"
15 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" 14 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h"
16 #include "webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h" 15 #include "webrtc/modules/rtp_rtcp/mocks/mock_recovered_packet_receiver.h"
17 #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h" 16 #include "webrtc/modules/rtp_rtcp/source/fec_test_helper.h"
18 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h" 17 #include "webrtc/modules/rtp_rtcp/source/forward_error_correction.h"
19 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" 18 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h"
19 #include "webrtc/rtc_base/basictypes.h"
20 #include "webrtc/test/gmock.h" 20 #include "webrtc/test/gmock.h"
21 #include "webrtc/test/gtest.h" 21 #include "webrtc/test/gtest.h"
22 22
23 namespace webrtc { 23 namespace webrtc {
24 24
25 namespace { 25 namespace {
26 26
27 using ::testing::_; 27 using ::testing::_;
28 using ::testing::Args; 28 using ::testing::Args;
29 using ::testing::ElementsAreArray; 29 using ::testing::ElementsAreArray;
(...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after
562 receiver_.OnRtpPacket(ParsePacket(*packet_with_rtp_header)); 562 receiver_.OnRtpPacket(ParsePacket(*packet_with_rtp_header));
563 563
564 // Check stats calculations. 564 // Check stats calculations.
565 FecPacketCounter packet_counter = receiver_.GetPacketCounter(); 565 FecPacketCounter packet_counter = receiver_.GetPacketCounter();
566 EXPECT_EQ(2U, packet_counter.num_packets); 566 EXPECT_EQ(2U, packet_counter.num_packets);
567 EXPECT_EQ(1U, packet_counter.num_fec_packets); 567 EXPECT_EQ(1U, packet_counter.num_fec_packets);
568 EXPECT_EQ(1U, packet_counter.num_recovered_packets); 568 EXPECT_EQ(1U, packet_counter.num_recovered_packets);
569 } 569 }
570 570
571 } // namespace webrtc 571 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/flexfec_receiver.cc ('k') | webrtc/modules/rtp_rtcp/source/flexfec_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698