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

Side by Side Diff: webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc

Issue 2029593002: Update RateStatistics to handle too-little-data case. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed comment Created 4 years, 6 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) 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
(...skipping 17 matching lines...) Expand all
28 28
29 TEST_F(RemoteBitrateEstimatorSingleTest, InitialBehavior) { 29 TEST_F(RemoteBitrateEstimatorSingleTest, InitialBehavior) {
30 InitialBehaviorTestHelper(508017); 30 InitialBehaviorTestHelper(508017);
31 } 31 }
32 32
33 TEST_F(RemoteBitrateEstimatorSingleTest, RateIncreaseReordering) { 33 TEST_F(RemoteBitrateEstimatorSingleTest, RateIncreaseReordering) {
34 RateIncreaseReorderingTestHelper(506422); 34 RateIncreaseReorderingTestHelper(506422);
35 } 35 }
36 36
37 TEST_F(RemoteBitrateEstimatorSingleTest, RateIncreaseRtpTimestamps) { 37 TEST_F(RemoteBitrateEstimatorSingleTest, RateIncreaseRtpTimestamps) {
38 RateIncreaseRtpTimestampsTestHelper(1240); 38 RateIncreaseRtpTimestampsTestHelper(1267);
39 } 39 }
40 40
41 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropOneStream) { 41 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropOneStream) {
42 CapacityDropTestHelper(1, false, 633); 42 CapacityDropTestHelper(1, false, 633);
43 } 43 }
44 44
45 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropOneStreamWrap) { 45 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropOneStreamWrap) {
46 CapacityDropTestHelper(1, true, 633); 46 CapacityDropTestHelper(1, true, 633);
47 } 47 }
48 48
49 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropTwoStreamsWrap) { 49 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropTwoStreamsWrap) {
50 CapacityDropTestHelper(2, true, 600); 50 CapacityDropTestHelper(2, true, 767);
51 } 51 }
52 52
53 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThreeStreamsWrap) { 53 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThreeStreamsWrap) {
54 CapacityDropTestHelper(3, true, 767); 54 CapacityDropTestHelper(3, true, 567);
55 } 55 }
56 56
57 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirteenStreamsWrap) { 57 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirteenStreamsWrap) {
58 CapacityDropTestHelper(13, true, 733); 58 CapacityDropTestHelper(13, true, 567);
59 } 59 }
60 60
61 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropNineteenStreamsWrap) { 61 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropNineteenStreamsWrap) {
62 CapacityDropTestHelper(19, true, 700); 62 CapacityDropTestHelper(19, true, 700);
63 } 63 }
64 64
65 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirtyStreamsWrap) { 65 TEST_F(RemoteBitrateEstimatorSingleTest, CapacityDropThirtyStreamsWrap) {
66 CapacityDropTestHelper(30, true, 733); 66 CapacityDropTestHelper(30, true, 733);
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698