Apply include-cleaner to api/test/[^/]*
e.g all files in the api/test folder not including subdirectories Bug: webrtc:42226242 Change-Id: I18d74a18f8feec41eb252faa9acfffd1d6f45ce4 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/359420 Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Commit-Queue: Dor Hen <dorhen@meta.com> Cr-Commit-Position: refs/heads/main@{#42773}
This commit is contained in:
parent
0478d3e15c
commit
1921fa5ea1
103
api/BUILD.gn
103
api/BUILD.gn
@ -490,6 +490,8 @@ rtc_source_set("video_quality_analyzer_api") {
|
||||
|
||||
deps = [
|
||||
":array_view",
|
||||
":rtc_stats_api",
|
||||
":scoped_refptr",
|
||||
":stats_observer_interface",
|
||||
"../rtc_base:checks",
|
||||
"video:encoded_image",
|
||||
@ -574,6 +576,7 @@ rtc_source_set("stats_observer_interface") {
|
||||
|
||||
deps = [
|
||||
":rtc_stats_api",
|
||||
":scoped_refptr",
|
||||
"//third_party/abseil-cpp/absl/strings:string_view",
|
||||
]
|
||||
}
|
||||
@ -645,6 +648,7 @@ rtc_source_set("frame_generator_api") {
|
||||
|
||||
deps = [
|
||||
":scoped_refptr",
|
||||
"../rtc_base:checks",
|
||||
"video:video_frame",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
@ -685,6 +689,7 @@ if (rtc_include_tests) {
|
||||
"transport:bitrate_settings",
|
||||
"transport:network_control",
|
||||
"video_codecs:video_codecs_api",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -769,8 +774,10 @@ rtc_library("create_peer_connection_quality_test_frame_generator") {
|
||||
":create_frame_generator",
|
||||
":frame_generator_api",
|
||||
"../rtc_base:checks",
|
||||
"../system_wrappers",
|
||||
"../test:fileutils",
|
||||
"test/pclf:media_configuration",
|
||||
"units:time_delta",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
@ -882,19 +889,24 @@ rtc_source_set("network_emulation_manager_api") {
|
||||
]
|
||||
deps = [
|
||||
":array_view",
|
||||
":field_trials_view",
|
||||
":packet_socket_factory",
|
||||
":peer_network_dependencies",
|
||||
":simulated_network_api",
|
||||
":time_controller",
|
||||
"..//test/network:simulated_network",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:ip_address",
|
||||
"../rtc_base:network",
|
||||
"../rtc_base:network_constants",
|
||||
"../rtc_base:socket_address",
|
||||
"../rtc_base:threading",
|
||||
"test/network_emulation",
|
||||
"units:data_rate",
|
||||
"units:data_size",
|
||||
"units:timestamp",
|
||||
"//third_party/abseil-cpp/absl/strings:string_view",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -906,12 +918,14 @@ rtc_source_set("time_controller") {
|
||||
]
|
||||
|
||||
deps = [
|
||||
"../rtc_base:socket_server",
|
||||
"../rtc_base:threading",
|
||||
"../rtc_base/synchronization:yield_policy",
|
||||
"../system_wrappers",
|
||||
"task_queue",
|
||||
"units:time_delta",
|
||||
"units:timestamp",
|
||||
"//third_party/abseil-cpp/absl/strings:string_view",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1017,6 +1031,7 @@ if (rtc_include_tests) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
":scoped_refptr",
|
||||
"../modules/audio_processing",
|
||||
"../modules/audio_processing:audioproc_f_impl",
|
||||
"audio:audio_processing",
|
||||
@ -1085,8 +1100,12 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/videocodec_test_fixture.h" ]
|
||||
deps = [
|
||||
":videocodec_test_stats_api",
|
||||
"../modules/video_coding:codec_globals_headers",
|
||||
"../modules/video_coding:video_codec_interface",
|
||||
"video:encoded_image",
|
||||
"video:video_frame",
|
||||
"video_codecs:video_codecs_api",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1112,6 +1131,7 @@ if (rtc_include_tests) {
|
||||
|
||||
deps = [
|
||||
"../test:test_support",
|
||||
"audio:audio_frame_api",
|
||||
"audio:audio_mixer_api",
|
||||
]
|
||||
}
|
||||
@ -1136,7 +1156,12 @@ if (rtc_include_tests) {
|
||||
deps = [
|
||||
":libjingle_peerconnection_api",
|
||||
":priority",
|
||||
":rtc_error",
|
||||
":scoped_refptr",
|
||||
"../rtc_base:refcount",
|
||||
"../test:test_support",
|
||||
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1148,6 +1173,9 @@ if (rtc_include_tests) {
|
||||
deps = [
|
||||
":dtmf_sender_interface",
|
||||
":libjingle_peerconnection_api",
|
||||
":make_ref_counted",
|
||||
":scoped_refptr",
|
||||
"../rtc_base:refcount",
|
||||
"../test:test_support",
|
||||
]
|
||||
}
|
||||
@ -1167,6 +1195,9 @@ if (rtc_include_tests) {
|
||||
testonly = true
|
||||
sources = [ "test/mock_frame_encryptor.h" ]
|
||||
deps = [
|
||||
":array_view",
|
||||
":rtp_parameters",
|
||||
|
||||
# For api/crypto/frame_encryptor_interface.h
|
||||
":libjingle_peerconnection_api",
|
||||
"../test:test_support",
|
||||
@ -1179,7 +1210,9 @@ if (rtc_include_tests) {
|
||||
testonly = true
|
||||
sources = [ "test/mock_frame_decryptor.h" ]
|
||||
deps = [
|
||||
":array_view",
|
||||
":libjingle_peerconnection_api",
|
||||
":rtp_parameters",
|
||||
"../test:test_support",
|
||||
"crypto:frame_decryptor_interface",
|
||||
]
|
||||
@ -1191,6 +1224,7 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_frame_transformer.h" ]
|
||||
deps = [
|
||||
":frame_transformer_interface",
|
||||
":scoped_refptr",
|
||||
"../test:test_support",
|
||||
]
|
||||
}
|
||||
@ -1203,6 +1237,9 @@ if (rtc_include_tests) {
|
||||
":libjingle_peerconnection_api",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../test:test_support",
|
||||
"units:data_rate",
|
||||
"video:render_resolution",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1248,7 +1285,10 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_media_stream_interface.h" ]
|
||||
|
||||
deps = [
|
||||
":audio_options_api",
|
||||
":media_stream_interface",
|
||||
":scoped_refptr",
|
||||
"../rtc_base:refcount",
|
||||
"../test:test_support",
|
||||
]
|
||||
}
|
||||
@ -1259,7 +1299,10 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_packet_socket_factory.h" ]
|
||||
|
||||
deps = [
|
||||
":async_dns_resolver",
|
||||
":packet_socket_factory",
|
||||
"../rtc_base:async_packet_socket",
|
||||
"../rtc_base:socket_address",
|
||||
"../test:test_support",
|
||||
]
|
||||
}
|
||||
@ -1270,11 +1313,24 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_peerconnectioninterface.h" ]
|
||||
|
||||
deps = [
|
||||
":candidate",
|
||||
":dtls_transport_interface",
|
||||
":libjingle_logging_api",
|
||||
":libjingle_peerconnection_api",
|
||||
":make_ref_counted",
|
||||
":media_stream_interface",
|
||||
":ref_count",
|
||||
":rtc_error",
|
||||
":rtc_stats_api",
|
||||
":rtp_parameters",
|
||||
"../api:scoped_refptr",
|
||||
"../rtc_base:refcount",
|
||||
"../test:test_support",
|
||||
"adaptation:resource_adaptation_api",
|
||||
"transport:bandwidth_estimation_settings",
|
||||
"transport:bitrate_settings",
|
||||
"transport:network_control",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1284,8 +1340,17 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_peer_connection_factory_interface.h" ]
|
||||
|
||||
deps = [
|
||||
":audio_options_api",
|
||||
":libjingle_peerconnection_api",
|
||||
":media_stream_interface",
|
||||
":rtc_error",
|
||||
":rtp_parameters",
|
||||
":scoped_refptr",
|
||||
"../p2p:rtc_p2p",
|
||||
"../rtc_base:refcount",
|
||||
"../rtc_base:rtc_certificate_generator",
|
||||
"../test:test_support",
|
||||
"//third_party/abseil-cpp/absl/strings:string_view",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1317,7 +1382,9 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_async_dns_resolver.h" ]
|
||||
deps = [
|
||||
":async_dns_resolver",
|
||||
"../rtc_base:socket_address",
|
||||
"../test:test_support",
|
||||
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1331,10 +1398,24 @@ if (rtc_include_tests) {
|
||||
]
|
||||
|
||||
deps = [
|
||||
":array_view",
|
||||
":dtls_transport_interface",
|
||||
":frame_transformer_interface",
|
||||
":libjingle_peerconnection_api",
|
||||
":make_ref_counted",
|
||||
":media_stream_interface",
|
||||
":rtc_error",
|
||||
":rtp_parameters",
|
||||
":rtp_sender_interface",
|
||||
":rtp_transceiver_direction",
|
||||
":scoped_refptr",
|
||||
"../api/crypto:frame_decryptor_interface",
|
||||
"../rtc_base:refcount",
|
||||
"../test:test_support",
|
||||
"crypto:frame_encryptor_interface",
|
||||
"transport/rtp:rtp_source",
|
||||
"video_codecs:video_codecs_api",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1344,9 +1425,11 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_transformable_audio_frame.h" ]
|
||||
|
||||
deps = [
|
||||
":array_view",
|
||||
":frame_transformer_interface",
|
||||
"../api/units:timestamp",
|
||||
"../test:test_support",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1356,8 +1439,12 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_transformable_video_frame.h" ]
|
||||
|
||||
deps = [
|
||||
":array_view",
|
||||
":frame_transformer_interface",
|
||||
"../test:test_support",
|
||||
"units:timestamp",
|
||||
"video:video_frame_metadata",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1369,6 +1456,7 @@ if (rtc_include_tests) {
|
||||
deps = [
|
||||
"../api/video:video_bitrate_allocator",
|
||||
"../test:test_support",
|
||||
"video:video_bitrate_allocation",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1380,6 +1468,9 @@ if (rtc_include_tests) {
|
||||
deps = [
|
||||
"../api/video:video_bitrate_allocator_factory",
|
||||
"../test:test_support",
|
||||
"environment",
|
||||
"video:video_bitrate_allocator",
|
||||
"video_codecs:video_codecs_api",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1406,6 +1497,9 @@ if (rtc_include_tests) {
|
||||
deps = [
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../test:test_support",
|
||||
"video:encoded_image",
|
||||
"video:video_frame",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1415,8 +1509,12 @@ if (rtc_include_tests) {
|
||||
sources = [ "test/mock_video_encoder.h" ]
|
||||
|
||||
deps = [
|
||||
":fec_controller_api",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../test:test_support",
|
||||
"video:encoded_image",
|
||||
"video:video_frame",
|
||||
"video:video_frame_type",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1431,6 +1529,7 @@ if (rtc_include_tests) {
|
||||
"../api:scoped_refptr",
|
||||
"../rtc_base:refcount",
|
||||
"../test:test_support",
|
||||
"video:video_frame",
|
||||
]
|
||||
}
|
||||
|
||||
@ -1448,12 +1547,14 @@ if (rtc_include_tests) {
|
||||
":time_controller",
|
||||
"../call",
|
||||
"../call:call_interfaces",
|
||||
"../media:media_engine",
|
||||
"../pc:media_factory",
|
||||
"../rtc_base:checks",
|
||||
"../system_wrappers",
|
||||
"../test/time_controller",
|
||||
"environment",
|
||||
"environment:environment_factory",
|
||||
"units:timestamp",
|
||||
"//third_party/abseil-cpp/absl/base:nullability",
|
||||
]
|
||||
}
|
||||
@ -1508,6 +1609,7 @@ if (rtc_include_tests) {
|
||||
"../rtc_base/containers:flat_set",
|
||||
"../rtc_base/synchronization:sequence_checker_internal",
|
||||
"../rtc_base/task_utils:repeating_task",
|
||||
"../system_wrappers",
|
||||
"../system_wrappers:field_trial",
|
||||
"../test:field_trial",
|
||||
"../test:fileutils",
|
||||
@ -1523,6 +1625,7 @@ if (rtc_include_tests) {
|
||||
"units:units_unittests",
|
||||
"video:frame_buffer_unittest",
|
||||
"video:rtp_video_frame_assembler_unittests",
|
||||
"video:video_frame",
|
||||
"video:video_frame_metadata_unittest",
|
||||
"//testing/gtest",
|
||||
"//third_party/abseil-cpp/absl/functional:any_invocable",
|
||||
|
||||
@ -5,6 +5,9 @@ specific_include_rules = {
|
||||
".*": [
|
||||
"+video"
|
||||
],
|
||||
".*": [
|
||||
"+rtc_base/ref_counted_object.h",
|
||||
],
|
||||
"dummy_peer_connection\.h": [
|
||||
"+rtc_base/ref_counted_object.h",
|
||||
],
|
||||
@ -15,6 +18,8 @@ specific_include_rules = {
|
||||
"+rtc_base/thread.h",
|
||||
"+rtc_base/network.h",
|
||||
"+rtc_base/network_constants.h",
|
||||
"+rtc_base/ip_address.h",
|
||||
"+rtc_base/socket_address.h",
|
||||
],
|
||||
"peer_network_dependencies\.h": [
|
||||
"+rtc_base/network.h",
|
||||
@ -32,8 +37,23 @@ specific_include_rules = {
|
||||
"time_controller\.h": [
|
||||
"+rtc_base/synchronization/yield_policy.h",
|
||||
"+system_wrappers/include/clock.h",
|
||||
"+rtc_base/socket_server.h",
|
||||
],
|
||||
"create_frame_generator\.h": [
|
||||
"+system_wrappers/include/clock.h",
|
||||
],
|
||||
"mock_async_dns_resolver\.h": [
|
||||
"+rtc_base/socket_address.h",
|
||||
],
|
||||
"mock_packet_socket_factory\.h": [
|
||||
"+rtc_base/async_packet_socket.h",
|
||||
"+rtc_base/socket_address.h",
|
||||
],
|
||||
"mock_peer_connection_factory_interface\.h": [
|
||||
"+p2p/base/port_allocator.h",
|
||||
"+rtc_base/rtc_certificate_generator.h",
|
||||
],
|
||||
"videocodec_test_fixture\.h": [
|
||||
"+modules/video_coding/codecs/h264/include/h264_globals.h",
|
||||
],
|
||||
}
|
||||
|
||||
@ -10,8 +10,11 @@
|
||||
|
||||
#include "api/test/audioproc_float.h"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "api/audio/audio_processing.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "modules/audio_processing/test/audioproc_float_impl.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -12,9 +12,9 @@
|
||||
#define API_TEST_AUDIOPROC_FLOAT_H_
|
||||
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "api/audio/audio_processing.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
@ -10,12 +10,18 @@
|
||||
|
||||
#include "api/test/create_frame_generator.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <utility>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/base/nullability.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/environment/environment.h"
|
||||
#include "api/environment/environment_factory.h"
|
||||
#include "api/test/frame_generator_interface.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "test/frame_generator.h"
|
||||
#include "test/testsupport/ivf_video_frame_generator.h"
|
||||
|
||||
@ -11,6 +11,8 @@
|
||||
#ifndef API_TEST_CREATE_FRAME_GENERATOR_H_
|
||||
#define API_TEST_CREATE_FRAME_GENERATOR_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
#include <utility>
|
||||
|
||||
#include "api/field_trials_view.h"
|
||||
#include "api/test/network_emulation_manager.h"
|
||||
#include "test/network/network_emulation_manager.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -10,12 +10,18 @@
|
||||
|
||||
#include "api/test/create_peer_connection_quality_test_frame_generator.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/test/create_frame_generator.h"
|
||||
#include "api/test/frame_generator_interface.h"
|
||||
#include "api/test/pclf/media_configuration.h"
|
||||
#include "api/units/time_delta.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
#include "test/testsupport/file_utils.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,10 +11,14 @@
|
||||
#include "api/test/create_peerconnection_quality_test_fixture.h"
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "api/test/audio_quality_analyzer_interface.h"
|
||||
#include "api/test/metrics/global_metrics_logger_and_exporter.h"
|
||||
#include "api/test/peerconnection_quality_test_fixture.h"
|
||||
#include "api/test/time_controller.h"
|
||||
#include "api/test/video_quality_analyzer_interface.h"
|
||||
#include "test/pc/e2e/peer_connection_quality_test.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -14,6 +14,9 @@
|
||||
#include <utility>
|
||||
|
||||
#include "api/test/simulcast_test_fixture.h"
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "api/video_codecs/video_decoder_factory.h"
|
||||
#include "api/video_codecs/video_encoder_factory.h"
|
||||
#include "modules/video_coding/utility/simulcast_test_fixture_impl.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -18,8 +18,11 @@
|
||||
#include "api/environment/environment.h"
|
||||
#include "api/environment/environment_factory.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
#include "api/test/time_controller.h"
|
||||
#include "api/units/timestamp.h"
|
||||
#include "call/call.h"
|
||||
#include "call/call_config.h"
|
||||
#include "media/base/media_engine.h"
|
||||
#include "pc/media_factory.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
|
||||
@ -10,10 +10,12 @@
|
||||
|
||||
#include "api/test/create_time_controller.h"
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include "api/test/time_controller.h"
|
||||
#include "api/units/time_delta.h"
|
||||
#include "api/units/timestamp.h"
|
||||
#include "test/gmock.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -13,6 +13,8 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "api/fec_controller.h"
|
||||
#include "api/test/video_quality_test_fixture.h"
|
||||
#include "video/video_quality_test.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -14,6 +14,8 @@
|
||||
#include <utility>
|
||||
|
||||
#include "api/test/videocodec_test_fixture.h"
|
||||
#include "api/video_codecs/video_decoder_factory.h"
|
||||
#include "api/video_codecs/video_encoder_factory.h"
|
||||
#include "modules/video_coding/codecs/test/videocodec_test_fixture_impl.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -10,8 +10,12 @@
|
||||
|
||||
#include "api/test/fake_frame_decryptor.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "api/array_view.h"
|
||||
#include "api/media_types.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -10,6 +10,11 @@
|
||||
|
||||
#include "api/test/fake_frame_encryptor.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
#include "api/array_view.h"
|
||||
#include "api/media_types.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -10,6 +10,8 @@
|
||||
|
||||
#include "api/test/frame_generator_interface.h"
|
||||
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
#ifndef API_TEST_FRAME_GENERATOR_INTERFACE_H_
|
||||
#define API_TEST_FRAME_GENERATOR_INTERFACE_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <utility>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
|
||||
@ -11,10 +11,11 @@
|
||||
#ifndef API_TEST_MOCK_ASYNC_DNS_RESOLVER_H_
|
||||
#define API_TEST_MOCK_ASYNC_DNS_RESOLVER_H_
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#include "absl/functional/any_invocable.h"
|
||||
#include "api/async_dns_resolver.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,6 +11,9 @@
|
||||
#ifndef API_TEST_MOCK_AUDIO_MIXER_H_
|
||||
#define API_TEST_MOCK_AUDIO_MIXER_H_
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#include "api/audio/audio_frame.h"
|
||||
#include "api/audio/audio_mixer.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
||||
@ -11,6 +11,9 @@
|
||||
#ifndef API_TEST_MOCK_AUDIO_SINK_H_
|
||||
#define API_TEST_MOCK_AUDIO_SINK_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
@ -11,10 +11,16 @@
|
||||
#ifndef API_TEST_MOCK_DATA_CHANNEL_H_
|
||||
#define API_TEST_MOCK_DATA_CHANNEL_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "absl/functional/any_invocable.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/data_channel_interface.h"
|
||||
#include "api/priority.h"
|
||||
#include "api/rtc_error.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -12,8 +12,12 @@
|
||||
#define API_TEST_MOCK_DTMF_SENDER_H_
|
||||
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "api/dtmf_sender_interface.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,6 +11,10 @@
|
||||
#ifndef API_TEST_MOCK_ENCODER_SELECTOR_H_
|
||||
#define API_TEST_MOCK_ENCODER_SELECTOR_H_
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/units/data_rate.h"
|
||||
#include "api/video/render_resolution.h"
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "api/video_codecs/video_encoder_factory.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
||||
@ -11,9 +11,13 @@
|
||||
#ifndef API_TEST_MOCK_FRAME_DECRYPTOR_H_
|
||||
#define API_TEST_MOCK_FRAME_DECRYPTOR_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "api/array_view.h"
|
||||
#include "api/crypto/frame_decryptor_interface.h"
|
||||
#include "api/media_types.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,7 +11,12 @@
|
||||
#ifndef API_TEST_MOCK_FRAME_ENCRYPTOR_H_
|
||||
#define API_TEST_MOCK_FRAME_ENCRYPTOR_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
|
||||
#include "api/array_view.h"
|
||||
#include "api/crypto/frame_encryptor_interface.h"
|
||||
#include "api/media_types.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,10 +11,11 @@
|
||||
#ifndef API_TEST_MOCK_FRAME_TRANSFORMER_H_
|
||||
#define API_TEST_MOCK_FRAME_TRANSFORMER_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
#include "api/frame_transformer_interface.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -12,8 +12,12 @@
|
||||
#define API_TEST_MOCK_MEDIA_STREAM_INTERFACE_H_
|
||||
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "api/audio_options.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,10 +11,14 @@
|
||||
#ifndef API_TEST_MOCK_PACKET_SOCKET_FACTORY_H_
|
||||
#define API_TEST_MOCK_PACKET_SOCKET_FACTORY_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "api/async_dns_resolver.h"
|
||||
#include "api/packet_socket_factory.h"
|
||||
#include "rtc_base/async_packet_socket.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace rtc {
|
||||
|
||||
@ -11,10 +11,22 @@
|
||||
#ifndef API_TEST_MOCK_PEER_CONNECTION_FACTORY_INTERFACE_H_
|
||||
#define API_TEST_MOCK_PEER_CONNECTION_FACTORY_INTERFACE_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <cstdio>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/audio_options.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "api/media_types.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
#include "api/rtc_error.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "p2p/base/port_allocator.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,15 +11,35 @@
|
||||
#ifndef API_TEST_MOCK_PEERCONNECTIONINTERFACE_H_
|
||||
#define API_TEST_MOCK_PEERCONNECTIONINTERFACE_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/adaptation/resource.h"
|
||||
#include "api/candidate.h"
|
||||
#include "api/data_channel_interface.h"
|
||||
#include "api/dtls_transport_interface.h"
|
||||
#include "api/jsep.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "api/media_types.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
#include "api/rtc_error.h"
|
||||
#include "api/rtc_event_log_output.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
#include "api/rtp_receiver_interface.h"
|
||||
#include "api/rtp_sender_interface.h"
|
||||
#include "api/rtp_transceiver_interface.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "api/sctp_transport_interface.h"
|
||||
#include "api/set_remote_description_observer_interface.h"
|
||||
#include "api/stats/rtc_stats_collector_callback.h"
|
||||
#include "api/transport/bandwidth_estimation_settings.h"
|
||||
#include "api/transport/bitrate_settings.h"
|
||||
#include "api/transport/network_control.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
||||
@ -14,7 +14,17 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/array_view.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/media_types.h"
|
||||
#include "api/rtc_error.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
#include "api/rtp_receiver_interface.h"
|
||||
#include "api/rtp_sender_interface.h"
|
||||
#include "api/rtp_transceiver_direction.h"
|
||||
#include "api/rtp_transceiver_interface.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -14,8 +14,15 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/crypto/frame_decryptor_interface.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "api/media_types.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
#include "api/rtp_receiver_interface.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "api/transport/rtp/rtp_source.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,11 +11,25 @@
|
||||
#ifndef API_TEST_MOCK_RTPSENDER_H_
|
||||
#define API_TEST_MOCK_RTPSENDER_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#include "api/crypto/frame_encryptor_interface.h"
|
||||
#include "api/dtls_transport_interface.h"
|
||||
#include "api/dtmf_sender_interface.h"
|
||||
#include "api/frame_transformer_interface.h"
|
||||
#include "api/make_ref_counted.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "api/media_types.h"
|
||||
#include "api/rtc_error.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
#include "api/rtp_sender_interface.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "api/video_codecs/video_encoder_factory.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,8 +11,11 @@
|
||||
#ifndef API_TEST_MOCK_TRANSFORMABLE_AUDIO_FRAME_H_
|
||||
#define API_TEST_MOCK_TRANSFORMABLE_AUDIO_FRAME_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/array_view.h"
|
||||
#include "api/frame_transformer_interface.h"
|
||||
#include "api/units/timestamp.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
|
||||
#include <optional>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "api/array_view.h"
|
||||
#include "api/frame_transformer_interface.h"
|
||||
|
||||
@ -11,10 +11,15 @@
|
||||
#ifndef API_TEST_MOCK_TRANSFORMABLE_VIDEO_FRAME_H_
|
||||
#define API_TEST_MOCK_TRANSFORMABLE_VIDEO_FRAME_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <type_traits>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/array_view.h"
|
||||
#include "api/frame_transformer_interface.h"
|
||||
#include "api/units/timestamp.h"
|
||||
#include "api/video/video_frame_metadata.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
#ifndef API_TEST_MOCK_VIDEO_BITRATE_ALLOCATOR_H_
|
||||
#define API_TEST_MOCK_VIDEO_BITRATE_ALLOCATOR_H_
|
||||
|
||||
#include "api/video/video_bitrate_allocation.h"
|
||||
#include "api/video/video_bitrate_allocator.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
||||
@ -13,7 +13,10 @@
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "api/environment/environment.h"
|
||||
#include "api/video/video_bitrate_allocator.h"
|
||||
#include "api/video/video_bitrate_allocator_factory.h"
|
||||
#include "api/video_codecs/video_codec.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,8 +11,11 @@
|
||||
#ifndef API_TEST_MOCK_VIDEO_DECODER_H_
|
||||
#define API_TEST_MOCK_VIDEO_DECODER_H_
|
||||
|
||||
#include <utility>
|
||||
#include <cstdint>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/video/encoded_image.h"
|
||||
#include "api/video/video_frame.h"
|
||||
#include "api/video_codecs/video_decoder.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
||||
@ -11,8 +11,15 @@
|
||||
#ifndef API_TEST_MOCK_VIDEO_ENCODER_H_
|
||||
#define API_TEST_MOCK_VIDEO_ENCODER_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <vector>
|
||||
|
||||
#include "api/fec_controller_override.h"
|
||||
#include "api/video/encoded_image.h"
|
||||
#include "api/video/video_frame.h"
|
||||
#include "api/video/video_frame_type.h"
|
||||
#include "api/video_codecs/video_codec.h"
|
||||
#include "api/video_codecs/video_encoder.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
||||
@ -15,6 +15,9 @@
|
||||
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "api/video/video_frame.h"
|
||||
#include "api/video/video_sink_interface.h"
|
||||
#include "api/video/video_source_interface.h"
|
||||
#include "rtc_base/ref_counted_object.h"
|
||||
#include "test/gmock.h"
|
||||
|
||||
|
||||
@ -12,12 +12,10 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/flags/flag.h"
|
||||
#include "absl/flags/parse.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/test/neteq_simulator.h"
|
||||
#include "modules/audio_coding/neteq/tools/neteq_test_factory.h"
|
||||
#include "rtc_base/checks.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
@ -9,8 +9,13 @@
|
||||
*/
|
||||
#include "api/test/network_emulation_manager.h"
|
||||
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "api/units/data_rate.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "test/network/simulated_network.h"
|
||||
|
||||
@ -11,13 +11,17 @@
|
||||
#ifndef API_TEST_NETWORK_EMULATION_MANAGER_H_
|
||||
#define API_TEST_NETWORK_EMULATION_MANAGER_H_
|
||||
|
||||
#include <cstdint>
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/array_view.h"
|
||||
#include "api/field_trials_view.h"
|
||||
#include "api/packet_socket_factory.h"
|
||||
#include "api/test/network_emulation/cross_traffic.h"
|
||||
#include "api/test/network_emulation/network_emulation_interfaces.h"
|
||||
@ -25,9 +29,10 @@
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "api/test/time_controller.h"
|
||||
#include "api/units/data_rate.h"
|
||||
#include "api/units/timestamp.h"
|
||||
#include "rtc_base/ip_address.h"
|
||||
#include "rtc_base/network.h"
|
||||
#include "rtc_base/network_constants.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -11,51 +11,16 @@
|
||||
#define API_TEST_PEERCONNECTION_QUALITY_TEST_FIXTURE_H_
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <functional>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/base/macros.h"
|
||||
#include "absl/memory/memory.h"
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/array_view.h"
|
||||
#include "api/audio/audio_mixer.h"
|
||||
#include "api/audio/audio_processing.h"
|
||||
#include "api/fec_controller.h"
|
||||
#include "api/function_view.h"
|
||||
#include "api/media_stream_interface.h"
|
||||
#include "api/peer_connection_interface.h"
|
||||
#include "api/rtc_event_log/rtc_event_log_factory_interface.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
#include "api/task_queue/task_queue_factory.h"
|
||||
#include "api/test/audio_quality_analyzer_interface.h"
|
||||
#include "api/test/frame_generator_interface.h"
|
||||
#include "api/test/pclf/media_configuration.h"
|
||||
#include "api/test/pclf/media_quality_test_params.h"
|
||||
#include "api/test/pclf/peer_configurer.h"
|
||||
#include "api/test/peer_network_dependencies.h"
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "api/test/stats_observer_interface.h"
|
||||
#include "api/test/track_id_stream_info_map.h"
|
||||
#include "api/test/video/video_frame_writer.h"
|
||||
#include "api/test/video_quality_analyzer_interface.h"
|
||||
#include "api/transport/network_control.h"
|
||||
#include "api/units/time_delta.h"
|
||||
#include "api/video_codecs/video_decoder_factory.h"
|
||||
#include "api/video_codecs/video_encoder.h"
|
||||
#include "api/video_codecs/video_encoder_factory.h"
|
||||
#include "media/base/media_constants.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/network.h"
|
||||
#include "rtc_base/rtc_certificate_generator.h"
|
||||
#include "rtc_base/ssl_certificate.h"
|
||||
#include "rtc_base/thread.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace webrtc_pc_e2e {
|
||||
|
||||
@ -8,15 +8,18 @@
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
|
||||
#include "api/test/peerconnection_quality_test_fixture.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/test/pclf/media_configuration.h"
|
||||
#include "api/test/video/video_frame_writer.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "api/video/video_frame.h"
|
||||
#include "test/gmock.h"
|
||||
#include "test/gtest.h"
|
||||
#include "test/testsupport/file_utils.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -14,13 +14,12 @@
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <functional>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/functional/any_invocable.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/units/data_rate.h"
|
||||
#include "rtc_base/random.h"
|
||||
#include "rtc_base/thread_annotations.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
|
||||
@ -12,6 +12,7 @@
|
||||
#define API_TEST_STATS_OBSERVER_INTERFACE_H_
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "api/stats/rtc_stats_report.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "api/test/video_quality_test_fixture.h"
|
||||
#include "rtc_base/checks.h"
|
||||
#include "rtc_base/platform_thread_types.h"
|
||||
|
||||
|
||||
@ -9,6 +9,14 @@
|
||||
*/
|
||||
#include "api/test/time_controller.h"
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "api/task_queue/task_queue_base.h"
|
||||
#include "api/task_queue/task_queue_factory.h"
|
||||
#include "api/units/time_delta.h"
|
||||
|
||||
namespace webrtc {
|
||||
std::unique_ptr<TaskQueueFactory> TimeController::CreateTaskQueueFactory() {
|
||||
class FactoryWrapper final : public TaskQueueFactory {
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include "api/task_queue/task_queue_factory.h"
|
||||
#include "api/units/time_delta.h"
|
||||
#include "api/units/timestamp.h"
|
||||
#include "rtc_base/synchronization/yield_policy.h"
|
||||
#include "rtc_base/socket_server.h"
|
||||
#include "rtc_base/thread.h"
|
||||
#include "system_wrappers/include/clock.h"
|
||||
|
||||
|
||||
@ -11,12 +11,14 @@
|
||||
#ifndef API_TEST_VIDEO_QUALITY_ANALYZER_INTERFACE_H_
|
||||
#define API_TEST_VIDEO_QUALITY_ANALYZER_INTERFACE_H_
|
||||
|
||||
#include <memory>
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
|
||||
#include "absl/strings/string_view.h"
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/array_view.h"
|
||||
#include "api/scoped_refptr.h"
|
||||
#include "api/stats/rtc_stats_report.h"
|
||||
#include "api/test/stats_observer_interface.h"
|
||||
#include "api/video/encoded_image.h"
|
||||
#include "api/video/video_frame.h"
|
||||
|
||||
@ -11,18 +11,23 @@
|
||||
#ifndef API_TEST_VIDEO_QUALITY_TEST_FIXTURE_H_
|
||||
#define API_TEST_VIDEO_QUALITY_TEST_FIXTURE_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/fec_controller.h"
|
||||
#include "api/media_types.h"
|
||||
#include "api/network_state_predictor.h"
|
||||
#include "api/rtp_parameters.h"
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "api/transport/bitrate_settings.h"
|
||||
#include "api/transport/network_control.h"
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "api/video_codecs/spatial_layer.h"
|
||||
#include "api/video_codecs/video_codec.h"
|
||||
#include "api/video_codecs/video_decoder_factory.h"
|
||||
#include "api/video_codecs/video_encoder_factory.h"
|
||||
#include "video/config/video_encoder_config.h"
|
||||
|
||||
@ -11,14 +11,18 @@
|
||||
#ifndef API_TEST_VIDEOCODEC_TEST_FIXTURE_H_
|
||||
#define API_TEST_VIDEOCODEC_TEST_FIXTURE_H_
|
||||
|
||||
#include <cstddef>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/test/videocodec_test_stats.h"
|
||||
#include "api/video/encoded_image.h"
|
||||
#include "api/video/video_codec_type.h"
|
||||
#include "api/video_codecs/h264_profile_level_id.h"
|
||||
#include "api/video_codecs/video_decoder_factory.h"
|
||||
#include "api/video_codecs/video_encoder_factory.h"
|
||||
#include "modules/video_coding/include/video_codec_interface.h"
|
||||
#include "api/video_codecs/sdp_video_format.h"
|
||||
#include "api/video_codecs/video_codec.h"
|
||||
#include "modules/video_coding/codecs/h264/include/h264_globals.h"
|
||||
|
||||
namespace webrtc {
|
||||
namespace test {
|
||||
|
||||
@ -10,6 +10,10 @@
|
||||
|
||||
#include "api/test/videocodec_test_stats.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
#include "rtc_base/strings/string_builder.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/units/data_rate.h"
|
||||
#include "api/units/frequency.h"
|
||||
#include "api/video/video_frame_type.h"
|
||||
|
||||
@ -954,6 +954,7 @@ if (rtc_include_tests) {
|
||||
"../../rtc_base:stringutils",
|
||||
"../../test:test_common",
|
||||
"../rtp_rtcp:rtp_rtcp_format",
|
||||
"//third_party/abseil-cpp/absl/types:optional",
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@ -17,6 +17,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "absl/types/optional.h"
|
||||
#include "api/test/videocodec_test_stats.h" // NOLINT(build/include)
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
@ -228,6 +228,7 @@ if (rtc_include_tests) {
|
||||
"../../../rtc_base:copy_on_write_buffer",
|
||||
"../../../rtc_base:gunit_helpers",
|
||||
"../../../rtc_base:logging",
|
||||
"../../../rtc_base:random",
|
||||
"../../../rtc_base:rtc_base_tests_utils",
|
||||
"../../../rtc_base:socket_address",
|
||||
"../../../rtc_base:stringutils",
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
#include "rtc_base/copy_on_write_buffer.h"
|
||||
#include "rtc_base/gunit.h"
|
||||
#include "rtc_base/logging.h"
|
||||
#include "rtc_base/random.h"
|
||||
#include "rtc_base/socket_address.h"
|
||||
#include "rtc_base/strings/string_format.h"
|
||||
#include "rtc_base/time_utils.h"
|
||||
|
||||
@ -2819,6 +2819,7 @@ if (rtc_include_tests && !build_with_chromium) {
|
||||
"../api/test/pclf:media_quality_test_params",
|
||||
"../api/test/pclf:peer_configurer",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../media:media_constants",
|
||||
"../modules/video_coding:webrtc_vp9",
|
||||
"../modules/video_coding/svc:scalability_mode_util",
|
||||
"../rtc_base/containers:flat_map",
|
||||
|
||||
@ -27,6 +27,7 @@
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "api/test/time_controller.h"
|
||||
#include "api/video_codecs/vp9_profile.h"
|
||||
#include "media/base/media_constants.h"
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9.h"
|
||||
#include "modules/video_coding/svc/scalability_mode_util.h"
|
||||
#include "rtc_base/containers/flat_map.h"
|
||||
|
||||
@ -304,6 +304,7 @@ if (!build_with_chromium) {
|
||||
"../../../api/test/pclf:peer_configurer",
|
||||
"../../../api/video_codecs:builtin_video_decoder_factory",
|
||||
"../../../api/video_codecs:builtin_video_encoder_factory",
|
||||
"../../../media:media_constants",
|
||||
"../../../media:rtc_audio_video",
|
||||
"../../../modules/audio_device:audio_device_impl",
|
||||
"../../../p2p:rtc_p2p",
|
||||
|
||||
@ -22,6 +22,7 @@
|
||||
#include "api/test/pclf/media_quality_test_params.h"
|
||||
#include "api/test/pclf/peer_configurer.h"
|
||||
#include "api/test/peerconnection_quality_test_fixture.h"
|
||||
#include "media/base/media_constants.h"
|
||||
#include "system_wrappers/include/field_trial.h"
|
||||
#include "test/field_trial.h"
|
||||
#include "test/gtest.h"
|
||||
|
||||
@ -629,6 +629,7 @@ if (rtc_include_tests) {
|
||||
"../api/test/pclf:media_quality_test_params",
|
||||
"../api/test/pclf:peer_configurer",
|
||||
"../api/video_codecs:video_codecs_api",
|
||||
"../media:media_constants",
|
||||
"../modules/video_coding:webrtc_vp9",
|
||||
"../system_wrappers:field_trial",
|
||||
"../test:field_trial",
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
#include "api/test/simulated_network.h"
|
||||
#include "api/test/time_controller.h"
|
||||
#include "api/video_codecs/vp9_profile.h"
|
||||
#include "media/base/media_constants.h"
|
||||
#include "modules/video_coding/codecs/vp9/include/vp9.h"
|
||||
#include "system_wrappers/include/field_trial.h"
|
||||
#include "test/field_trial.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user