Index: webrtc/call/bitrate_allocator_unittest.cc |
diff --git a/webrtc/call/bitrate_allocator_unittest.cc b/webrtc/call/bitrate_allocator_unittest.cc |
index 63149acbe317786239c792d81158ee26cd488e0c..6e0cdd4d781e8b1f747f929e5a775fec3499ea13 100644 |
--- a/webrtc/call/bitrate_allocator_unittest.cc |
+++ b/webrtc/call/bitrate_allocator_unittest.cc |
@@ -96,12 +96,6 @@ TEST_F(BitrateAllocatorTest, TwoBitrateObserversOneRtcpObserver) { |
allocator_->OnNetworkChanged(1500000, 0, 50); |
EXPECT_EQ(600000u, bitrate_observer_1.last_bitrate_); |
EXPECT_EQ(600000u, bitrate_observer_2.last_bitrate_); |
- |
- // Verify that if the bandwidth estimate is set to zero, the allocated rate is |
- // zero. |
- allocator_->OnNetworkChanged(0, 0, 50); |
- EXPECT_EQ(0u, bitrate_observer_1.last_bitrate_); |
- EXPECT_EQ(0u, bitrate_observer_2.last_bitrate_); |
} |
class BitrateAllocatorTestNoEnforceMin : public ::testing::Test { |
@@ -177,13 +171,6 @@ TEST_F(BitrateAllocatorTestNoEnforceMin, ThreeBitrateObservers) { |
EXPECT_EQ(0u, bitrate_observer_2.last_bitrate_); |
EXPECT_EQ(0u, bitrate_observer_3.last_bitrate_); |
- allocator_->OnNetworkChanged(0, 0, 0); |
- // Verify that zero estimated bandwidth, means that that all gets zero, |
- // regardless of set min bitrate. |
- EXPECT_EQ(0u, bitrate_observer_1.last_bitrate_); |
- EXPECT_EQ(0u, bitrate_observer_2.last_bitrate_); |
- EXPECT_EQ(0u, bitrate_observer_3.last_bitrate_); |
- |
allocator_->RemoveObserver(&bitrate_observer_1); |
allocator_->RemoveObserver(&bitrate_observer_2); |
allocator_->RemoveObserver(&bitrate_observer_3); |