Added test dependency factory.

Bug: b/113654555
Change-Id: I6879d0e7dcbfbb04ad7a5179c4f4fbe8d31cf3d4
Reviewed-on: https://webrtc-review.googlesource.com/101601
Commit-Queue: Patrik Höglund <phoglund@webrtc.org>
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#24855}
This commit is contained in:
Patrik Höglund
2018-09-26 14:39:17 +02:00
committed by Commit Bot
parent 10eb574582
commit d8f3c17e8d
6 changed files with 125 additions and 1 deletions

View File

@ -139,6 +139,7 @@ rtc_source_set("video_quality_test_fixture_api") {
"test/video_quality_test_fixture.h",
]
deps = [
":fec_controller_api",
":libjingle_peerconnection_api",
":simulated_network_api",
"../call:fake_network",
@ -153,6 +154,23 @@ rtc_source_set("video_quality_test_fixture_api") {
}
}
rtc_source_set("test_dependency_factory") {
visibility = [ "*" ]
testonly = true
sources = [
"test/test_dependency_factory.cc",
"test/test_dependency_factory.h",
]
deps = [
":video_quality_test_fixture_api",
"../rtc_base:thread_checker",
]
if (!build_with_chromium && is_clang) {
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
if (rtc_include_tests) {
rtc_source_set("create_video_quality_test_fixture_api") {
visibility = [ "*" ]