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

Unified Diff: webrtc/modules/pacing/bitrate_prober_unittest.cc

Issue 2246403002: CongestionController::SetBweBitrates may now trigger probing. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Feedback fixes. Created 4 years, 4 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/modules/pacing/bitrate_prober_unittest.cc
diff --git a/webrtc/modules/pacing/bitrate_prober_unittest.cc b/webrtc/modules/pacing/bitrate_prober_unittest.cc
index 1b2a321573b6267bb2c42584882bad0fd574b952..422bd27b686f38d466c3a8936caf65990d5a7004 100644
--- a/webrtc/modules/pacing/bitrate_prober_unittest.cc
+++ b/webrtc/modules/pacing/bitrate_prober_unittest.cc
@@ -21,8 +21,8 @@ TEST(BitrateProberTest, VerifyStatesAndTimeBetweenProbes) {
int64_t now_ms = 0;
EXPECT_EQ(-1, prober.TimeUntilNextProbe(now_ms));
- prober.ProbeAtBitrate(900000, 6);
- prober.ProbeAtBitrate(1800000, 5);
+ prober.CreateProbeCluster(900000, 6);
+ prober.CreateProbeCluster(1800000, 5);
EXPECT_FALSE(prober.IsProbing());
prober.OnIncomingPacket(1000);
@@ -60,7 +60,7 @@ TEST(BitrateProberTest, DoesntProbeWithoutRecentPackets) {
int64_t now_ms = 0;
EXPECT_EQ(-1, prober.TimeUntilNextProbe(now_ms));
- prober.ProbeAtBitrate(900000, 6);
+ prober.CreateProbeCluster(900000, 6);
EXPECT_FALSE(prober.IsProbing());
prober.OnIncomingPacket(1000);

Powered by Google App Engine
This is Rietveld 408576698