Index: webrtc/media/engine/webrtcvoiceengine_unittest.cc |
diff --git a/webrtc/media/engine/webrtcvoiceengine_unittest.cc b/webrtc/media/engine/webrtcvoiceengine_unittest.cc |
index 67fde12194077c05d95a600c9a82f40576cedcd7..edb861ec2e1d6106f72e2962bb20d1294328c69d 100644 |
--- a/webrtc/media/engine/webrtcvoiceengine_unittest.cc |
+++ b/webrtc/media/engine/webrtcvoiceengine_unittest.cc |
@@ -550,8 +550,12 @@ class WebRtcVoiceEngineTestFake : public testing::Test { |
stats.ana_statistics.channel_action_counter = rtc::Optional<uint32_t>(432); |
stats.ana_statistics.dtx_action_counter = rtc::Optional<uint32_t>(543); |
stats.ana_statistics.fec_action_counter = rtc::Optional<uint32_t>(654); |
- stats.ana_statistics.frame_length_action_counter = |
+ stats.ana_statistics.frame_length_increase_counter = |
rtc::Optional<uint32_t>(765); |
+ stats.ana_statistics.frame_length_decrease_counter = |
+ rtc::Optional<uint32_t>(876); |
+ stats.ana_statistics.uplink_packet_loss_fraction = |
+ rtc::Optional<float>(987.0); |
stats.typing_noise_detected = true; |
return stats; |
} |
@@ -591,8 +595,12 @@ class WebRtcVoiceEngineTestFake : public testing::Test { |
stats.ana_statistics.dtx_action_counter); |
EXPECT_EQ(info.ana_statistics.fec_action_counter, |
stats.ana_statistics.fec_action_counter); |
- EXPECT_EQ(info.ana_statistics.frame_length_action_counter, |
- stats.ana_statistics.frame_length_action_counter); |
+ EXPECT_EQ(info.ana_statistics.frame_length_increase_counter, |
+ stats.ana_statistics.frame_length_increase_counter); |
+ EXPECT_EQ(info.ana_statistics.frame_length_decrease_counter, |
+ stats.ana_statistics.frame_length_decrease_counter); |
+ EXPECT_EQ(info.ana_statistics.uplink_packet_loss_fraction, |
+ stats.ana_statistics.uplink_packet_loss_fraction); |
EXPECT_EQ(info.typing_noise_detected, |
stats.typing_noise_detected && is_sending); |
} |