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

Side by Side Diff: webrtc/modules/audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc

Issue 3007243002: Add and modify a few ANA stats. (Closed)
Patch Set: Rebase. Created 3 years, 3 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/media/engine/webrtcvoiceengine_unittest.cc ('k') | webrtc/pc/statscollector.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 (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 291
292 // Check that the default stats are returned, as these have not been 292 // Check that the default stats are returned, as these have not been
293 // implemented yet). Tracking bug: https://crbug.com/8127 293 // implemented yet). Tracking bug: https://crbug.com/8127
294 auto default_stats = ANAStats(); 294 auto default_stats = ANAStats();
295 EXPECT_EQ(ana_stats.bitrate_action_counter, 295 EXPECT_EQ(ana_stats.bitrate_action_counter,
296 default_stats.bitrate_action_counter); 296 default_stats.bitrate_action_counter);
297 EXPECT_EQ(ana_stats.channel_action_counter, 297 EXPECT_EQ(ana_stats.channel_action_counter,
298 default_stats.channel_action_counter); 298 default_stats.channel_action_counter);
299 EXPECT_EQ(ana_stats.dtx_action_counter, default_stats.dtx_action_counter); 299 EXPECT_EQ(ana_stats.dtx_action_counter, default_stats.dtx_action_counter);
300 EXPECT_EQ(ana_stats.fec_action_counter, default_stats.fec_action_counter); 300 EXPECT_EQ(ana_stats.fec_action_counter, default_stats.fec_action_counter);
301 EXPECT_EQ(ana_stats.frame_length_action_counter, 301 EXPECT_EQ(ana_stats.frame_length_increase_counter,
302 default_stats.frame_length_action_counter); 302 default_stats.frame_length_increase_counter);
303 EXPECT_EQ(ana_stats.frame_length_decrease_counter,
304 default_stats.frame_length_decrease_counter);
305 EXPECT_EQ(ana_stats.uplink_packet_loss_fraction,
306 default_stats.uplink_packet_loss_fraction);
303 } 307 }
304 308
305 } // namespace webrtc 309 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/media/engine/webrtcvoiceengine_unittest.cc ('k') | webrtc/pc/statscollector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698