Restore tests that were accidently deleted during refactoring
Bug: None
Change-Id: Ic68282d9879581c2d7d42d5d80c876e252e53c37
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/160920
Reviewed-by: Artem Titarenko <artit@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29934}
diff --git a/test/BUILD.gn b/test/BUILD.gn
index 7656ecc..0c30e7f 100644
--- a/test/BUILD.gn
+++ b/test/BUILD.gn
@@ -379,9 +379,11 @@
rtc_test("test_support_unittests") {
deps = [
":call_config_utils",
+ ":copy_to_file_audio_capturer_unittest",
":direct_transport",
":fake_video_codecs",
":fileutils",
+ ":fileutils_unittests",
":perf_test",
":rtp_test_utils",
":test_main",
@@ -392,6 +394,7 @@
"../api:create_simulcast_test_fixture_api",
"../api:scoped_refptr",
"../api:simulcast_test_fixture_api",
+ "../api/task_queue:task_queue_test",
"../api/test/video:function_video_factory",
"../api/video:encoded_image",
"../api/video:video_frame",
@@ -411,7 +414,11 @@
"../rtc_base:criticalsection",
"../rtc_base:rtc_event",
"../rtc_base/system:file_wrapper",
+ "pc/e2e:e2e_unittests",
+ "peer_scenario/tests",
+ "scenario:scenario_unittests",
"time_controller:time_controller",
+ "time_controller:time_controller_unittests",
"//third_party/abseil-cpp/absl/flags:flag",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/types:optional",
diff --git a/test/peer_scenario/scenario_connection.cc b/test/peer_scenario/scenario_connection.cc
index 9f0d3bf..d6d2880 100644
--- a/test/peer_scenario/scenario_connection.cc
+++ b/test/peer_scenario/scenario_connection.cc
@@ -44,7 +44,6 @@
const std::string& mid,
RtpTransportInternal* rtp_transport,
rtc::scoped_refptr<DtlsTransport> dtls_transport,
- MediaTransportInterface* media_transport,
DataChannelTransportInterface* data_channel_transport) override;
void OnRtpPacket(const RtpPacketReceived& packet) override;
@@ -208,7 +207,6 @@
const std::string& mid,
RtpTransportInternal* rtp_transport,
rtc::scoped_refptr<DtlsTransport> dtls_transport,
- MediaTransportInterface* media_transport,
DataChannelTransportInterface* data_channel_transport) {
RTC_DCHECK_RUN_ON(network_thread_);
if (rtp_transport == nullptr) {