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

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

Issue 1505993003: [rtp_rtcp] lint build/include errors fixed (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 /* 11 /*
12 * This file includes unit tests for the RTPSender. 12 * This file includes unit tests for the RTPSender.
13 */ 13 */
14 14
15 #include <list>
16 #include <vector>
17
15 #include "testing/gmock/include/gmock/gmock.h" 18 #include "testing/gmock/include/gmock/gmock.h"
16 #include "testing/gtest/include/gtest/gtest.h" 19 #include "testing/gtest/include/gtest/gtest.h"
17
18 #include "webrtc/base/buffer.h" 20 #include "webrtc/base/buffer.h"
19 #include "webrtc/base/scoped_ptr.h" 21 #include "webrtc/base/scoped_ptr.h"
20 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" 22 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h"
21 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" 23 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
22 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 24 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" 25 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h"
24 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" 26 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h"
25 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" 27 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h"
26 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h" 28 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h"
29 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
27 #include "webrtc/system_wrappers/include/stl_util.h" 30 #include "webrtc/system_wrappers/include/stl_util.h"
28 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
29 #include "webrtc/test/mock_transport.h" 31 #include "webrtc/test/mock_transport.h"
30 #include "webrtc/typedefs.h" 32 #include "webrtc/typedefs.h"
31 33
32 namespace webrtc { 34 namespace webrtc {
33 35
34 namespace { 36 namespace {
35 const int kTransmissionTimeOffsetExtensionId = 1; 37 const int kTransmissionTimeOffsetExtensionId = 1;
36 const int kAbsoluteSendTimeExtensionId = 14; 38 const int kAbsoluteSendTimeExtensionId = 14;
37 const int kTransportSequenceNumberExtensionId = 13; 39 const int kTransportSequenceNumberExtensionId = 13;
38 const int kPayload = 100; 40 const int kPayload = 100;
(...skipping 1377 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 reinterpret_cast<uint8_t*>(transport_.sent_packets_[0]->data()), 1418 reinterpret_cast<uint8_t*>(transport_.sent_packets_[0]->data()),
1417 transport_.sent_packets_[0]->size(), true, &map, kSeqNum, hdr.rotation); 1419 transport_.sent_packets_[0]->size(), true, &map, kSeqNum, hdr.rotation);
1418 1420
1419 // Verify that this packet does have CVO byte. 1421 // Verify that this packet does have CVO byte.
1420 VerifyCVOPacket( 1422 VerifyCVOPacket(
1421 reinterpret_cast<uint8_t*>(transport_.sent_packets_[1]->data()), 1423 reinterpret_cast<uint8_t*>(transport_.sent_packets_[1]->data()),
1422 transport_.sent_packets_[1]->size(), true, &map, kSeqNum + 1, 1424 transport_.sent_packets_[1]->size(), true, &map, kSeqNum + 1,
1423 hdr.rotation); 1425 hdr.rotation);
1424 } 1426 }
1425 } // namespace webrtc 1427 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/source/rtp_sender.cc ('k') | webrtc/modules/rtp_rtcp/source/rtp_utility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698