Index: webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
index c74342bb848f34a7221fb3b5cd3d4cbcf7cb294e..953606ad50cf9742a7d65b1f22fb2c6554cb1baa 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_impl_unittest.cc |
@@ -230,6 +230,12 @@ TEST_F(NetEqImplTest, RemovePayloadType) { |
EXPECT_EQ(NetEq::kFail, neteq_->RemovePayloadType(rtp_payload_type)); |
} |
+TEST_F(NetEqImplTest, RemoveAllPayloadTypes) { |
+ CreateInstance(); |
+ EXPECT_CALL(*mock_decoder_database_, RemoveAll()).WillOnce(Return()); |
+ neteq_->RemoveAllPayloadTypes(); |
+} |
+ |
TEST_F(NetEqImplTest, InsertPacket) { |
CreateInstance(); |
const size_t kPayloadLength = 100; |