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

Side by Side Diff: webrtc/modules/congestion_controller/transport_feedback_adapter_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) 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2015 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 <limits> 11 #include <limits>
12 #include <memory> 12 #include <memory>
13 #include <vector> 13 #include <vector>
14 14
15 #include "webrtc/test/gmock.h"
16 #include "webrtc/test/gtest.h"
17
18 #include "webrtc/base/checks.h" 15 #include "webrtc/base/checks.h"
19 #include "webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller .h" 16 #include "webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller .h"
20 #include "webrtc/modules/congestion_controller/transport_feedback_adapter.h" 17 #include "webrtc/modules/congestion_controller/transport_feedback_adapter.h"
21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h"
22 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
23 #include "webrtc/system_wrappers/include/clock.h" 20 #include "webrtc/system_wrappers/include/clock.h"
21 #include "webrtc/test/gmock.h"
22 #include "webrtc/test/gtest.h"
24 23
25 using ::testing::_; 24 using ::testing::_;
26 using ::testing::Invoke; 25 using ::testing::Invoke;
27 26
28 namespace webrtc { 27 namespace webrtc {
29 namespace test { 28 namespace test {
30 29
31 class TransportFeedbackAdapterTest : public ::testing::Test { 30 class TransportFeedbackAdapterTest : public ::testing::Test {
32 public: 31 public:
33 TransportFeedbackAdapterTest() 32 TransportFeedbackAdapterTest()
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
347 EXPECT_TRUE(feedback.get() != nullptr); 346 EXPECT_TRUE(feedback.get() != nullptr);
348 adapter_->OnTransportFeedback(*feedback.get()); 347 adapter_->OnTransportFeedback(*feedback.get());
349 clock_.AdvanceTimeMilliseconds(50); 348 clock_.AdvanceTimeMilliseconds(50);
350 ++seq_num; 349 ++seq_num;
351 } 350 }
352 EXPECT_GT(target_bitrate_bps_, 0u); 351 EXPECT_GT(target_bitrate_bps_, 0u);
353 } 352 }
354 353
355 } // namespace test 354 } // namespace test
356 } // namespace webrtc 355 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698