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

Side by Side Diff: webrtc/api/rtpsenderreceiver_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
« no previous file with comments | « webrtc/api/proxy_unittest.cc ('k') | webrtc/api/statscollector_unittest.cc » ('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 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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 <string> 12 #include <string>
13 #include <utility> 13 #include <utility>
14 14
15 #include "webrtc/test/gmock.h"
16 #include "webrtc/test/gtest.h"
17 #include "webrtc/api/audiotrack.h" 15 #include "webrtc/api/audiotrack.h"
18 #include "webrtc/api/fakemediacontroller.h" 16 #include "webrtc/api/fakemediacontroller.h"
19 #include "webrtc/api/localaudiosource.h" 17 #include "webrtc/api/localaudiosource.h"
20 #include "webrtc/api/mediastream.h" 18 #include "webrtc/api/mediastream.h"
21 #include "webrtc/api/remoteaudiosource.h" 19 #include "webrtc/api/remoteaudiosource.h"
22 #include "webrtc/api/rtpreceiver.h" 20 #include "webrtc/api/rtpreceiver.h"
23 #include "webrtc/api/rtpsender.h" 21 #include "webrtc/api/rtpsender.h"
24 #include "webrtc/api/streamcollection.h" 22 #include "webrtc/api/streamcollection.h"
25 #include "webrtc/api/test/fakevideotracksource.h" 23 #include "webrtc/api/test/fakevideotracksource.h"
24 #include "webrtc/api/videotrack.h"
26 #include "webrtc/api/videotracksource.h" 25 #include "webrtc/api/videotracksource.h"
27 #include "webrtc/api/videotrack.h"
28 #include "webrtc/base/gunit.h" 26 #include "webrtc/base/gunit.h"
27 #include "webrtc/media/base/fakemediaengine.h"
29 #include "webrtc/media/base/mediachannel.h" 28 #include "webrtc/media/base/mediachannel.h"
30 #include "webrtc/media/base/fakemediaengine.h"
31 #include "webrtc/media/engine/fakewebrtccall.h" 29 #include "webrtc/media/engine/fakewebrtccall.h"
32 #include "webrtc/p2p/base/faketransportcontroller.h" 30 #include "webrtc/p2p/base/faketransportcontroller.h"
33 #include "webrtc/pc/channelmanager.h" 31 #include "webrtc/pc/channelmanager.h"
32 #include "webrtc/test/gmock.h"
33 #include "webrtc/test/gtest.h"
34 34
35 using ::testing::_; 35 using ::testing::_;
36 using ::testing::Exactly; 36 using ::testing::Exactly;
37 using ::testing::InvokeWithoutArgs; 37 using ::testing::InvokeWithoutArgs;
38 using ::testing::Return; 38 using ::testing::Return;
39 39
40 static const char kStreamLabel1[] = "local_stream_1"; 40 static const char kStreamLabel1[] = "local_stream_1";
41 static const char kVideoTrackId[] = "video_1"; 41 static const char kVideoTrackId[] = "video_1";
42 static const char kAudioTrackId[] = "audio_1"; 42 static const char kAudioTrackId[] = "audio_1";
43 static const uint32_t kVideoSsrc = 98; 43 static const uint32_t kVideoSsrc = 98;
(...skipping 567 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 CreateVideoRtpReceiver(); 611 CreateVideoRtpReceiver();
612 612
613 RtpParameters params = video_rtp_receiver_->GetParameters(); 613 RtpParameters params = video_rtp_receiver_->GetParameters();
614 EXPECT_EQ(1u, params.encodings.size()); 614 EXPECT_EQ(1u, params.encodings.size());
615 EXPECT_TRUE(video_rtp_receiver_->SetParameters(params)); 615 EXPECT_TRUE(video_rtp_receiver_->SetParameters(params));
616 616
617 DestroyVideoRtpReceiver(); 617 DestroyVideoRtpReceiver();
618 } 618 }
619 619
620 } // namespace webrtc 620 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/api/proxy_unittest.cc ('k') | webrtc/api/statscollector_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698