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}
This commit is contained in:
Artem Titov 2019-11-27 13:28:47 +01:00 committed by Commit Bot
parent 9f9e20a3dc
commit 8861d02f89
2 changed files with 7 additions and 2 deletions

View File

@ -379,9 +379,11 @@ if (rtc_include_tests) {
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 @@ if (rtc_include_tests) {
"../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 @@ if (rtc_include_tests) {
"../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",

View File

@ -44,7 +44,6 @@ class ScenarioIceConnectionImpl : public ScenarioIceConnection,
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 @@ bool ScenarioIceConnectionImpl::OnTransportChanged(
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) {