| Index: webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc
|
| index 9bbec26cbe83195d3129b974f0e46ee8ee428c79..823763f091985c3fda5128ef1d8dcd89a45fabdc 100644
|
| --- a/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/audio_network_adaptor/fec_controller_unittest.cc
|
| @@ -10,8 +10,8 @@
|
|
|
| #include <utility>
|
|
|
| +#include "webrtc/common_audio/mocks/mock_smoothing_filter.h"
|
| #include "webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.h"
|
| -#include "webrtc/modules/audio_coding/audio_network_adaptor/mock/mock_smoothing_filter.h"
|
| #include "webrtc/test/gtest.h"
|
|
|
| namespace webrtc {
|
| @@ -55,7 +55,6 @@ FecControllerStates CreateFecController(bool initial_fec_enabled) {
|
| std::unique_ptr<MockSmoothingFilter> mock_smoothing_filter(
|
| new NiceMock<MockSmoothingFilter>());
|
| states.packet_loss_smoothed = mock_smoothing_filter.get();
|
| - EXPECT_CALL(*states.packet_loss_smoothed, Die());
|
| using Threshold = FecController::Config::Threshold;
|
| states.controller.reset(new FecController(
|
| FecController::Config(
|
| @@ -262,7 +261,6 @@ TEST(FecControllerTest, CheckBehaviorOnSpecialCurves) {
|
| std::unique_ptr<MockSmoothingFilter> mock_smoothing_filter(
|
| new NiceMock<MockSmoothingFilter>());
|
| states.packet_loss_smoothed = mock_smoothing_filter.get();
|
| - EXPECT_CALL(*states.packet_loss_smoothed, Die());
|
| using Threshold = FecController::Config::Threshold;
|
| states.controller.reset(new FecController(
|
| FecController::Config(
|
| @@ -293,7 +291,6 @@ TEST(FecControllerDeathTest, InvalidConfig) {
|
| std::unique_ptr<MockSmoothingFilter> mock_smoothing_filter(
|
| new NiceMock<MockSmoothingFilter>());
|
| states.packet_loss_smoothed = mock_smoothing_filter.get();
|
| - EXPECT_CALL(*states.packet_loss_smoothed, Die());
|
| using Threshold = FecController::Config::Threshold;
|
| EXPECT_DEATH(
|
| states.controller.reset(new FecController(
|
|
|