Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(310)

Unified Diff: webrtc/modules/congestion_controller/BUILD.gn

Issue 2834663003: Allow mocking SendSideCongestionController for Call tests. (Closed)
Patch Set: rebase Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/congestion_controller/BUILD.gn
diff --git a/webrtc/modules/congestion_controller/BUILD.gn b/webrtc/modules/congestion_controller/BUILD.gn
index 3dcbb27b24067f49966b3a732da14acfff321199..352d41083d08d0cfa2ec075759665419d91991e0 100644
--- a/webrtc/modules/congestion_controller/BUILD.gn
+++ b/webrtc/modules/congestion_controller/BUILD.gn
@@ -85,6 +85,7 @@ if (rtc_include_tests) {
]
deps = [
":congestion_controller",
+ ":mock_congestion_controller",
"../../base:rtc_base_approved",
"../../system_wrappers:system_wrappers",
"../../test:field_trial",
@@ -101,4 +102,16 @@ if (rtc_include_tests) {
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
}
}
+
+ rtc_source_set("mock_congestion_controller") {
+ testonly = true
+ sources = [
+ "include/mock/mock_congestion_observer.h",
+ "include/mock/mock_send_side_congestion_controller.h",
+ ]
+ deps = [
+ ":congestion_controller",
+ "../../test:test_support",
+ ]
+ }
}
« no previous file with comments | « webrtc/call/rtp_transport_controller_send.cc ('k') | webrtc/modules/congestion_controller/include/congestion_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698