Allows injection of network controller factory in test fixture.

Bug: webrtc:9155
Change-Id: I929c4cde66ad6743b4a8df2df3abfa7593992977
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/134645
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27843}
This commit is contained in:
Sebastian Jansson
2019-04-30 14:23:51 +02:00
committed by Commit Bot
parent 6cb6f08b13
commit 1391ed242a
5 changed files with 9 additions and 0 deletions

View File

@ -204,6 +204,8 @@ class CallTest : public ::testing::Test {
std::unique_ptr<FecControllerFactoryInterface> fec_controller_factory_;
std::unique_ptr<NetworkStatePredictorFactoryInterface>
network_state_predictor_factory_;
std::unique_ptr<NetworkControllerFactoryInterface>
network_controller_factory_;
test::FunctionVideoEncoderFactory fake_encoder_factory_;
int fake_encoder_max_bitrate_ = -1;