OLD | NEW |
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/base/checks.h" | |
16 #include "webrtc/base/safe_conversions.h" | |
17 #include "webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller
.h" | 15 #include "webrtc/modules/bitrate_controller/include/mock/mock_bitrate_controller
.h" |
18 #include "webrtc/modules/congestion_controller/congestion_controller_unittests_h
elper.h" | 16 #include "webrtc/modules/congestion_controller/congestion_controller_unittests_h
elper.h" |
19 #include "webrtc/modules/congestion_controller/transport_feedback_adapter.h" | 17 #include "webrtc/modules/congestion_controller/transport_feedback_adapter.h" |
20 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" |
21 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" | 19 #include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h" |
| 20 #include "webrtc/rtc_base/checks.h" |
| 21 #include "webrtc/rtc_base/safe_conversions.h" |
22 #include "webrtc/system_wrappers/include/clock.h" | 22 #include "webrtc/system_wrappers/include/clock.h" |
23 #include "webrtc/test/gmock.h" | 23 #include "webrtc/test/gmock.h" |
24 #include "webrtc/test/gtest.h" | 24 #include "webrtc/test/gtest.h" |
25 | 25 |
26 using ::testing::_; | 26 using ::testing::_; |
27 using ::testing::Invoke; | 27 using ::testing::Invoke; |
28 | 28 |
29 namespace webrtc { | 29 namespace webrtc { |
30 | 30 |
31 namespace { | 31 namespace { |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 adapter_->OnTransportFeedback(*feedback.get()); | 382 adapter_->OnTransportFeedback(*feedback.get()); |
383 { | 383 { |
384 std::vector<PacketFeedback> expected_packets; | 384 std::vector<PacketFeedback> expected_packets; |
385 expected_packets.push_back(packet_feedback); | 385 expected_packets.push_back(packet_feedback); |
386 ComparePacketFeedbackVectors(expected_packets, | 386 ComparePacketFeedbackVectors(expected_packets, |
387 adapter_->GetTransportFeedbackVector()); | 387 adapter_->GetTransportFeedbackVector()); |
388 } | 388 } |
389 } | 389 } |
390 } // namespace test | 390 } // namespace test |
391 } // namespace webrtc | 391 } // namespace webrtc |
OLD | NEW |