OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 "webrtc/base/constructormagic.h" | |
12 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_singl
e_stream.h" | 11 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_singl
e_stream.h" |
13 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unitt
est_helper.h" | 12 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_unitt
est_helper.h" |
| 13 #include "webrtc/rtc_base/constructormagic.h" |
14 | 14 |
15 namespace webrtc { | 15 namespace webrtc { |
16 | 16 |
17 class RemoteBitrateEstimatorSingleTest : | 17 class RemoteBitrateEstimatorSingleTest : |
18 public RemoteBitrateEstimatorTest { | 18 public RemoteBitrateEstimatorTest { |
19 public: | 19 public: |
20 RemoteBitrateEstimatorSingleTest() {} | 20 RemoteBitrateEstimatorSingleTest() {} |
21 virtual void SetUp() { | 21 virtual void SetUp() { |
22 bitrate_estimator_.reset(new RemoteBitrateEstimatorSingleStream( | 22 bitrate_estimator_.reset(new RemoteBitrateEstimatorSingleStream( |
23 bitrate_observer_.get(), &clock_)); | 23 bitrate_observer_.get(), &clock_)); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 } | 63 } |
64 | 64 |
65 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirtyStreamsWrap) { | 65 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirtyStreamsWrap) { |
66 CapacityDropTestHelper(30, true, 733, 0); | 66 CapacityDropTestHelper(30, true, 733, 0); |
67 } | 67 } |
68 | 68 |
69 TEST_F(RemoteBitrateEstimatorSingleTest, TestTimestampGrouping) { | 69 TEST_F(RemoteBitrateEstimatorSingleTest, TestTimestampGrouping) { |
70 TestTimestampGroupingTestHelper(); | 70 TestTimestampGroupingTestHelper(); |
71 } | 71 } |
72 } // namespace webrtc | 72 } // namespace webrtc |
OLD | NEW |