webrtc/test
Sebastian Jansson 8e998f17e0 Fixes stall in SimulatedProcessThread
A previous refactoring introduced an issues in SimulatedProcessThread
causing stalls when task are posted. This CL fixes this and cleans up
the code to make it easier to see that it's correct.

Bug: webrtc:11255
Change-Id: I33d7daa993ad2a4cfe2b63f674692455c2e09d05
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/167380
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Reviewed-by: Ali Tofigh <alito@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#30429}
2020-01-30 17:37:36 +00:00
..
android
fuzzers Remove unused NextFrame function from FrameBuffer. 2020-01-30 12:54:08 +00:00
gl Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
ios Revert "Delete NO_MAIN_THREAD_WRAPPING preprocessor define." 2019-05-21 07:26:54 +00:00
linux
logging Fix MemoryLogWriter so that it always writes the full data. 2019-10-25 12:07:32 +00:00
mac
network Add ability to set custom adapter type on emulated endpoint 2020-01-24 12:53:07 +00:00
pc/e2e Propagate multicodec support to other places of PC level framework 2020-01-22 13:34:18 +00:00
peer_scenario Adds fake video codec mode to PeerScenarioClient 2020-01-27 18:07:45 +00:00
scenario Makes all units and operations constexpr 2020-01-29 10:57:54 +00:00
testsupport Concatenate string literals at compile time. 2020-01-14 14:47:48 +00:00
time_controller Fixes stall in SimulatedProcessThread 2020-01-30 17:37:36 +00:00
win Use deprecated SingleThreadedTaskQueueForTesting as regular task queue 2019-10-22 08:34:57 +00:00
audio_decoder_proxy_factory.h Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
BUILD.gn Fix public_deps presubmit and gn format fighting each other. 2020-01-30 11:22:46 +00:00
call_config_utils_unittest.cc Delete flag VideoReceiveStream::Config::Rtp::remb 2019-09-16 11:20:55 +00:00
call_config_utils.cc Delete flag VideoReceiveStream::Config::Rtp::remb 2019-09-16 11:20:55 +00:00
call_config_utils.h
call_test.cc Concatenate string literals at compile time. 2020-01-14 14:47:48 +00:00
call_test.h Trials should always be populated in call config. 2019-12-03 10:34:55 +00:00
configurable_frame_size_encoder.cc Format almost everything. 2019-07-08 13:45:15 +00:00
configurable_frame_size_encoder.h Format almost everything. 2019-07-08 13:45:15 +00:00
DEPS Revert "Enable capturing from camera in PC framework" 2019-09-26 12:00:01 +00:00
direct_transport_unittest.cc
direct_transport.cc Use deprecated SingleThreadedTaskQueueForTesting as regular task queue 2019-10-22 08:34:57 +00:00
direct_transport.h Use deprecated SingleThreadedTaskQueueForTesting as regular task queue 2019-10-22 08:34:57 +00:00
drifting_clock.cc Mark test::DriftingClock constants as constexpr 2019-09-10 12:14:50 +00:00
drifting_clock.h Mark test::DriftingClock constants as constexpr 2019-09-10 12:14:50 +00:00
encoder_settings.cc Update test::CreateVideoStreams to use configured scale_resolution_down_by if set. 2019-08-08 08:51:18 +00:00
encoder_settings.h Format almost everything. 2019-07-08 13:45:15 +00:00
fake_decoder.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
fake_decoder.h Reland "Copy video frames metadata between encoded and plain frames in one place" 2019-05-13 14:51:11 +00:00
fake_encoder.cc Add field trial for rampup in quality based on available bandwidth. 2019-11-11 10:13:28 +00:00
fake_encoder.h Add field trial for rampup in quality based on available bandwidth. 2019-11-11 10:13:28 +00:00
fake_texture_frame.cc
fake_texture_frame.h
fake_videorenderer.h
fake_vp8_decoder.cc Reland "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-04-11 13:03:52 +00:00
fake_vp8_decoder.h Reland "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-04-11 13:03:52 +00:00
fake_vp8_encoder_unittest.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
fake_vp8_encoder.cc Pass FecControllerOverride to Vp8FrameBufferControllerFactory::Create 2019-07-02 10:55:55 +00:00
fake_vp8_encoder.h Pass FecControllerOverride to Vp8FrameBufferControllerFactory::Create 2019-07-02 10:55:55 +00:00
field_trial.cc Sanity-check field trial string at initialization. 2019-06-11 14:11:06 +00:00
field_trial.h Sanity-check field trial string at initialization. 2019-06-11 14:11:06 +00:00
frame_forwarder.cc Migrate WebRTC on FrameGeneratorInterface and remove FrameGenerator class 2019-12-07 00:54:26 +00:00
frame_forwarder.h Migrate WebRTC on FrameGeneratorInterface and remove FrameGenerator class 2019-12-07 00:54:26 +00:00
frame_generator_capturer_unittest.cc Run delay tasks on time when using GlobalSimulatedTimeController. 2020-01-03 16:37:42 +00:00
frame_generator_capturer.cc Migrate WebRTC on FrameGeneratorInterface and remove FrameGenerator class 2019-12-07 00:54:26 +00:00
frame_generator_capturer.h Migrate WebRTC on FrameGeneratorInterface and remove FrameGenerator class 2019-12-07 00:54:26 +00:00
frame_generator_unittest.cc Migrate WebRTC on FrameGeneratorInterface and remove FrameGenerator class 2019-12-07 00:54:26 +00:00
frame_generator.cc Migrate WebRTC on FrameGeneratorInterface and remove FrameGenerator class 2019-12-07 00:54:26 +00:00
frame_generator.h Migrate WebRTC on FrameGeneratorInterface and remove FrameGenerator class 2019-12-07 00:54:26 +00:00
frame_utils.cc Format almost everything. 2019-07-08 13:45:15 +00:00
frame_utils.h
function_audio_decoder_factory.h
gmock.h
gtest.h
layer_filtering_transport.cc Migrate tests from RtpDepacketizer to VideoRtpDepacketizer interface 2019-12-10 17:37:46 +00:00
layer_filtering_transport.h Migrate tests from RtpDepacketizer to VideoRtpDepacketizer interface 2019-12-10 17:37:46 +00:00
mac_capturer.h
mac_capturer.mm
mock_audio_decoder_factory.h Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
mock_audio_decoder.cc
mock_audio_decoder.h Delete AudioDecoder method IncomingPacket 2019-09-24 08:30:24 +00:00
mock_audio_encoder_factory.h Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
mock_audio_encoder.cc
mock_audio_encoder.h Adds trial to calculate audio overhead based on available data. 2019-10-02 13:42:15 +00:00
mock_transport.cc
mock_transport.h
null_platform_renderer.cc
null_transport.cc
null_transport.h
OWNERS
platform_video_capturer.cc
platform_video_capturer.h
rtcp_packet_parser.cc Allowing buffering a LNTF (loss notification) feedback message in RTCPSender 2019-06-03 16:28:34 +00:00
rtcp_packet_parser.h Allowing buffering a LNTF (loss notification) feedback message in RTCPSender 2019-06-03 16:28:34 +00:00
rtp_file_reader_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_file_reader.cc Add missing assert.h for win no-test build 2019-11-17 07:52:32 +00:00
rtp_file_reader.h Fuzzing support for RTPDump VP8 and VP9 Streams. 2019-03-15 18:48:43 +00:00
rtp_file_writer_unittest.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_file_writer.cc Format almost everything. 2019-07-08 13:45:15 +00:00
rtp_file_writer.h
rtp_header_parser.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
rtp_header_parser.h Make the RtpHeaderParserImpl available to tests and tools only. 2019-08-29 15:56:40 +00:00
rtp_rtcp_observer.h Migrate several call tests from legacy RtpHeaderParser to RtpPacket parsing. 2020-01-07 13:02:52 +00:00
run_loop.cc Use deprecated SingleThreadedTaskQueueForTesting as regular task queue 2019-10-22 08:34:57 +00:00
run_loop.h Use deprecated SingleThreadedTaskQueueForTesting as regular task queue 2019-10-22 08:34:57 +00:00
run_test.cc
run_test.h
test_main_lib.cc Activate event tracing for unit tests. For good! 2020-01-29 10:11:34 +00:00
test_main_lib.h Migrate WebRTC test infra to ABSL_FLAG. 2019-07-19 06:54:04 +00:00
test_main.cc Print stack trace when a test crash 2019-08-12 15:36:20 +00:00
test_video_capturer.cc Implement automatic animation detection in VideoStreamEncoder 2019-12-04 11:24:31 +00:00
test_video_capturer.h Enable capturing from camera in PC framework 2019-10-10 13:06:39 +00:00
vcm_capturer.cc Format almost everything. 2019-07-08 13:45:15 +00:00
vcm_capturer.h
video_codec_settings.h Format almost everything. 2019-07-08 13:45:15 +00:00
video_decoder_proxy_factory.h Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
video_encoder_proxy_factory.h Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
video_renderer.cc
video_renderer.h