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

Unified Diff: webrtc/api/statscollector_unittest.cc

Issue 2629563003: Added a new echo likelihood stat that reports the maximum value from a previous time period. (Closed)
Patch Set: Small bugfix. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: webrtc/api/statscollector_unittest.cc
diff --git a/webrtc/api/statscollector_unittest.cc b/webrtc/api/statscollector_unittest.cc
index 50ae51d6b0b9b8b0b375f35119a680f07f848957..1e2944cfa803734e4269a0939cf4b97283045c24 100644
--- a/webrtc/api/statscollector_unittest.cc
+++ b/webrtc/api/statscollector_unittest.cc
@@ -414,6 +414,11 @@ void VerifyVoiceSenderInfoReport(const StatsReport* report,
&value_in_report));
EXPECT_EQ(rtc::ToString<float>(sinfo.residual_echo_likelihood),
value_in_report);
+ EXPECT_TRUE(GetValue(
+ report, StatsReport::kStatsValueNameResidualEchoLikelihoodRecentMax,
+ &value_in_report));
+ EXPECT_EQ(rtc::ToString<float>(sinfo.residual_echo_likelihood_recent_max),
+ value_in_report);
EXPECT_TRUE(GetValue(report, StatsReport::kStatsValueNameAudioInputLevel,
&value_in_report));
EXPECT_EQ(rtc::ToString<int>(sinfo.audio_level), value_in_report);

Powered by Google App Engine
This is Rietveld 408576698