| 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 823763f091985c3fda5128ef1d8dcd89a45fabdc..9bbec26cbe83195d3129b974f0e46ee8ee428c79 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,6 +55,7 @@
|
| 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(
|
| @@ -261,6 +262,7 @@
|
| 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(
|
| @@ -291,6 +293,7 @@
|
| 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(
|
|
|