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

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

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 "testing/gmock/include/gmock/gmock.h" 11 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 #include "webrtc/common_types.h" 14 #include "webrtc/common_types.h"
15 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" 15 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h"
16 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h" 16 #include "webrtc/modules/rtp_rtcp/interface/rtp_rtcp_defines.h"
17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h" 17 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet.h"
18 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h" 18 #include "webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.h"
19 #include "webrtc/system_wrappers/interface/scoped_vector.h" 19 #include "webrtc/system_wrappers/include/scoped_vector.h"
20 #include "webrtc/test/rtcp_packet_parser.h" 20 #include "webrtc/test/rtcp_packet_parser.h"
21 21
22 using ::testing::_; 22 using ::testing::_;
23 using ::testing::ElementsAre; 23 using ::testing::ElementsAre;
24 using ::testing::NiceMock; 24 using ::testing::NiceMock;
25 using ::testing::Return; 25 using ::testing::Return;
26 using ::testing::SaveArg; 26 using ::testing::SaveArg;
27 27
28 namespace webrtc { 28 namespace webrtc {
29 namespace { 29 namespace {
(...skipping 487 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 EXPECT_THAT(receiver_.LastNackListSent(), ElementsAre(11, 18, 20, 21)); 517 EXPECT_THAT(receiver_.LastNackListSent(), ElementsAre(11, 18, 20, 21));
518 518
519 // Send module receives the request. 519 // Send module receives the request.
520 EXPECT_EQ(2U, sender_.RtcpReceived().nack_packets); 520 EXPECT_EQ(2U, sender_.RtcpReceived().nack_packets);
521 EXPECT_EQ(8U, sender_.RtcpReceived().nack_requests); 521 EXPECT_EQ(8U, sender_.RtcpReceived().nack_requests);
522 EXPECT_EQ(6U, sender_.RtcpReceived().unique_nack_requests); 522 EXPECT_EQ(6U, sender_.RtcpReceived().unique_nack_requests);
523 EXPECT_EQ(75, sender_.RtcpReceived().UniqueNackRequestsInPercent()); 523 EXPECT_EQ(75, sender_.RtcpReceived().UniqueNackRequestsInPercent());
524 } 524 }
525 525
526 } // namespace webrtc 526 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_rtcp_impl.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698