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

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

Issue 2381013002: Sort #includes that got unsorted when gmock.h and gtest.h moved to webrtc/test/ (Closed)
Patch Set: rebase Created 4 years, 2 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) 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 #include <memory> 11 #include <memory>
12 #include <vector> 12 #include <vector>
13 13
14 #include "webrtc/test/gmock.h"
15 #include "webrtc/test/gtest.h"
16 #include "webrtc/base/buffer.h" 14 #include "webrtc/base/buffer.h"
17 #include "webrtc/base/rate_limiter.h" 15 #include "webrtc/base/rate_limiter.h"
18 #include "webrtc/call/mock/mock_rtc_event_log.h" 16 #include "webrtc/call/mock/mock_rtc_event_log.h"
19 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h" 17 #include "webrtc/modules/rtp_rtcp/include/rtp_cvo.h"
20 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" 18 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h"
21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 20 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
23 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h" 21 #include "webrtc/modules/rtp_rtcp/source/rtp_format_video_generic.h"
24 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h" 22 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extension.h"
25 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h" 23 #include "webrtc/modules/rtp_rtcp/source/rtp_header_extensions.h"
26 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h" 24 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_to_send.h"
27 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h" 25 #include "webrtc/modules/rtp_rtcp/source/rtp_sender.h"
28 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h" 26 #include "webrtc/modules/rtp_rtcp/source/rtp_sender_video.h"
29 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h" 27 #include "webrtc/modules/rtp_rtcp/source/rtp_utility.h"
30 #include "webrtc/system_wrappers/include/stl_util.h" 28 #include "webrtc/system_wrappers/include/stl_util.h"
29 #include "webrtc/test/gmock.h"
30 #include "webrtc/test/gtest.h"
31 #include "webrtc/test/mock_transport.h" 31 #include "webrtc/test/mock_transport.h"
32 #include "webrtc/typedefs.h" 32 #include "webrtc/typedefs.h"
33 33
34 namespace webrtc { 34 namespace webrtc {
35 35
36 namespace { 36 namespace {
37 const int kTransmissionTimeOffsetExtensionId = 1; 37 const int kTransmissionTimeOffsetExtensionId = 1;
38 const int kAbsoluteSendTimeExtensionId = 14; 38 const int kAbsoluteSendTimeExtensionId = 14;
39 const int kTransportSequenceNumberExtensionId = 13; 39 const int kTransportSequenceNumberExtensionId = 13;
40 const int kPayload = 100; 40 const int kPayload = 100;
(...skipping 1763 matching lines...) Expand 10 before | Expand all | Expand 10 after
1804 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 0)); 1804 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 0));
1805 EXPECT_EQ(kVideoRotation_90, 1805 EXPECT_EQ(kVideoRotation_90,
1806 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 1)); 1806 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 1));
1807 EXPECT_EQ(kVideoRotation_180, 1807 EXPECT_EQ(kVideoRotation_180,
1808 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 2)); 1808 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 2));
1809 EXPECT_EQ(kVideoRotation_270, 1809 EXPECT_EQ(kVideoRotation_270,
1810 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 3)); 1810 ConvertCVOByteToVideoRotation(flip_bit | camera_bit | 3));
1811 } 1811 }
1812 1812
1813 } // namespace webrtc 1813 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698