| Index: webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc
|
| index 414aabf6043ecff17794a5578506273a67b0cfaf..1336166107755ec3ea6a125f58c1e57e2b3cefef 100644
|
| --- a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager_unittest.cc
|
| @@ -299,14 +299,13 @@ void CheckControllersOrder(const std::vector<Controller*>& controllers,
|
| // We also check that the controllers follow the initial settings.
|
| AudioNetworkAdaptor::EncoderRuntimeConfig encoder_config;
|
|
|
| - // We do not check the internal logic of controllers. We only check that
|
| - // when no network metrics are known, controllers provide the initial values.
|
| - Controller::NetworkMetrics metrics;
|
| -
|
| for (size_t i = 0; i < controllers.size(); ++i) {
|
| AudioNetworkAdaptor::EncoderRuntimeConfig encoder_config;
|
| // We check the order of |controllers| by judging their decisions.
|
| - controllers[i]->MakeDecision(metrics, &encoder_config);
|
| + controllers[i]->MakeDecision(&encoder_config);
|
| +
|
| + // Since controllers are not provided with network metrics, they give the
|
| + // initial values.
|
| switch (expected_types[i]) {
|
| case ControllerType::FEC:
|
| EXPECT_EQ(rtc::Optional<bool>(kInitialFecEnabled),
|
|
|