Add mock_bitrate_controller.h.

Bug: webrtc:7622
Change-Id: I346dca091406ec7ef7c65fae9fe89c4dc2a94514
Reviewed-on: https://webrtc-review.googlesource.com/37020
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21472}
This commit is contained in:
Patrik Höglund 2018-01-02 14:20:17 +01:00 committed by Commit Bot
parent bb7c94aedd
commit 94dc17710f
3 changed files with 13 additions and 0 deletions

View File

@ -109,6 +109,7 @@ if (rtc_include_tests) {
"../modules/audio_mixer:audio_mixer_impl",
"../modules/audio_processing:audio_processing_statistics",
"../modules/audio_processing:mocks",
"../modules/bitrate_controller:mocks",
"../modules/congestion_controller:congestion_controller",
"../modules/congestion_controller:mock_congestion_controller",
"../modules/pacing:mock_paced_sender",

View File

@ -44,6 +44,17 @@ rtc_static_library("bitrate_controller") {
}
if (rtc_include_tests) {
rtc_source_set("mocks") {
testonly = true
sources = [
"include/mock/mock_bitrate_controller.h",
]
deps = [
":bitrate_controller",
"../../test:test_support",
]
}
rtc_source_set("bitrate_controller_unittests") {
testonly = true

View File

@ -98,6 +98,7 @@ if (rtc_include_tests) {
"../../test:field_trial",
"../../test:test_support",
"../bitrate_controller:bitrate_controller",
"../bitrate_controller:mocks",
"../pacing:mock_paced_sender",
"../pacing:pacing",
"../remote_bitrate_estimator:remote_bitrate_estimator",