webrtc/test
Sebastian Jansson 49a7843030 Don't restart streams in scenario tests.
This CL changes the behavior for RunFor and RunUntil so they do not
anymore restart the underlying streams every time they are called.

This has a side effect on the semantics of the calls. Previously,
both RunUntil and RunFor would restart the session and run until the
given time had passed. Now RunFor will still run for the provided
duration, however, to make the name of RunUntil more correct, it
will run until the time since start is equal to the max_duration
parameter. An extra overload of RunUntil was added to allow using
this behavior without providing an ending condition.

Bug: webrtc:9510
Change-Id: I9fe56a44116907fba3d102894b5c96af2ba6cffb
Reviewed-on: https://webrtc-review.googlesource.com/c/111502
Reviewed-by: Christoffer Rodbro <crodbro@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#25726}
2018-11-21 13:16:46 +00:00
..
android Reland "Default runner to junit4" 2018-08-21 17:10:05 +00:00
fuzzers AGC2: adding level estimation option (RMS or peak-based). 2018-11-13 14:32:13 +00:00
gl Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
ios Add support for computing iOS code coverage 2018-11-06 15:18:51 +00:00
linux Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
mac Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
scenario Don't restart streams in scenario tests. 2018-11-21 13:16:46 +00:00
testsupport Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
win Modified PressEnterToContinue() to actualy check if Enter is pressed 2018-10-29 10:21:24 +00:00
BUILD.gn Reland "Use the factory instead of using the builtin code path in VideoCodecInitializer" 2018-11-08 19:10:47 +00:00
call_test.cc Refactor bitrate configuration in CallTest 2018-11-13 16:03:00 +00:00
call_test.h Refactor bitrate configuration in CallTest 2018-11-13 16:03:00 +00:00
configurable_frame_size_encoder.cc Remove VideoEncoder::SetChannelParameters. 2018-11-05 17:37:07 +00:00
configurable_frame_size_encoder.h Remove VideoEncoder::SetChannelParameters. 2018-11-05 17:37:07 +00:00
constants.cc Reland "Added field trial WebRTC-GenericDescriptor for the new generic descriptor." 2018-09-26 10:26:43 +00:00
constants.h Reland "Added field trial WebRTC-GenericDescriptor for the new generic descriptor." 2018-09-26 10:26:43 +00:00
DEPS Adds scenario test framework. 2018-09-27 12:31:33 +00:00
direct_transport.cc Adds flags indicating presence in allocation and feedback per packet. 2018-10-09 18:24:38 +00:00
direct_transport.h Delete unused includes of assert.h 2018-10-04 14:01:44 +00:00
direct_transport_unittest.cc Moving demux from FakeNetworkPipe to DirectTransport. 2018-04-25 10:13:03 +00:00
drifting_clock.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
drifting_clock.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
encoder_settings.cc Update test::CreateVideoStreams to use num_temporal_layers. 2018-10-23 08:36:25 +00:00
encoder_settings.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
fake_decoder.cc Reland "Move FakeCodec to separate target and behave like real encoder." 2018-08-27 13:09:37 +00:00
fake_decoder.h Delete pre_decode_callback. 2018-06-20 07:04:09 +00:00
fake_encoder.cc Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
fake_encoder.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
fake_texture_frame.cc Enabling clang::find_bad_constructs for common_video. 2018-07-18 11:26:01 +00:00
fake_texture_frame.h Enabling clang::find_bad_constructs for common_video. 2018-07-18 11:26:01 +00:00
fake_videorenderer.h New file api/video/BUILD.gn 2018-05-14 06:57:38 +00:00
fake_vp8_decoder.cc Changed FakeVp8Encoder to write dimensions in payload. 2018-10-08 08:37:38 +00:00
fake_vp8_decoder.h Changed FakeVp8Encoder to write dimensions in payload. 2018-10-08 08:37:38 +00:00
fake_vp8_encoder.cc Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
fake_vp8_encoder.h Update FakeVp8Encoder to use GetEncoderInfo 2018-11-15 16:46:56 +00:00
fake_vp8_encoder_unittest.cc Use function_video_(en|de)coder_factory from api 2018-10-26 14:54:19 +00:00
field_trial.cc Remove deprecated field_trial_default and metrics_default. 2018-09-28 07:21:07 +00:00
field_trial.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
frame_generator.cc Delete deprecated class WrappedI420Buffer 2018-11-13 10:59:10 +00:00
frame_generator.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
frame_generator_capturer.cc in test::FrameGeneratorCapturer try to keep up with fps when overloaded 2018-09-12 14:55:09 +00:00
frame_generator_capturer.h Adds support for frame rate control in FrameGeneratorCapturer. 2018-08-30 13:52:46 +00:00
frame_generator_unittest.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
frame_utils.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
frame_utils.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
gmock.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
gtest.h Reland "Adding gtest-spi.h in webrtc/test/gtest.h" 2018-04-05 08:21:23 +00:00
layer_filtering_transport.cc Reland "Remove RTPVideoHeader::vp8() accessors." 2018-09-07 13:04:07 +00:00
layer_filtering_transport.h Remove deprecated ctors of DirectTransport and its subclasses and FakeNetworkPipe 2018-08-29 11:05:19 +00:00
mock_audio_decoder.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mock_audio_decoder.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
mock_audio_decoder_factory.h Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +00:00
mock_audio_encoder.cc Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00
mock_audio_encoder.h Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +00:00
mock_audio_encoder_factory.h Replace rtc::Optional with absl::optional in test and rtc_tools 2018-06-18 13:15:23 +00:00
mock_transport.cc Reland "Enable and fix chromium clang warnings in rtp_rtcp test targets" 2018-03-09 16:04:35 +00:00
mock_transport.h Reland "Enable and fix chromium clang warnings in rtp_rtcp test targets" 2018-03-09 16:04:35 +00:00
null_platform_renderer.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
null_transport.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
null_transport.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
OWNERS Makes srte owner in call/ and test/ 2018-07-13 08:39:41 +00:00
rtcp_packet_parser.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
rtcp_packet_parser.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_file_reader.cc Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
rtp_file_reader.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
rtp_file_reader_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_file_writer.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_file_writer.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
rtp_file_writer_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
rtp_rtcp_observer.h Add default constructor for rtc::Event 2018-11-07 08:57:50 +00:00
run_loop.cc Modified PressEnterToContinue() to actualy check if Enter is pressed 2018-10-29 10:21:24 +00:00
run_loop.h Modified PressEnterToContinue() to actualy check if Enter is pressed 2018-10-29 10:21:24 +00:00
run_test.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
run_test.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
single_threaded_task_queue.cc Add default constructor for rtc::Event 2018-11-07 08:57:50 +00:00
single_threaded_task_queue.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
single_threaded_task_queue_unittest.cc Add default constructor for rtc::Event 2018-11-07 08:57:50 +00:00
statistics.cc Reland "Updated analysis in videoprocessor." 2018-01-18 08:37:27 +00:00
statistics.h Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
test_main.cc Fix: Argv may be corrupted after InitGoogleMock found any related flags 2018-10-18 07:40:13 +00:00
test_main_lib.cc Reland "Prefix flag macros with WEBRTC_." 2018-10-19 15:06:43 +00:00
test_main_lib.h Fix: Argv may be corrupted after InitGoogleMock found any related flags 2018-10-18 07:40:13 +00:00
test_video_capturer.cc Renames test::VideoCapturer to TestVideoCapturer. 2018-08-20 12:25:47 +00:00
test_video_capturer.h Renames test::VideoCapturer to TestVideoCapturer. 2018-08-20 12:25:47 +00:00
vcm_capturer.cc Renames test::VideoCapturer to TestVideoCapturer. 2018-08-20 12:25:47 +00:00
vcm_capturer.h Delete unneeded includes of common_types.h and gn deps on webrtc_common. 2018-11-20 16:28:39 +00:00
video_codec_settings.h Remove assumption that all video codecs are known. 2018-08-24 08:01:03 +00:00
video_decoder_proxy_factory.h Reland "Replace VideoDecoder with VideoDecoderFactory in VideoReceiveStream config." 2018-09-28 08:48:02 +00:00
video_encoder_proxy_factory.h Remove VideoEncoder::SetChannelParameters. 2018-11-05 17:37:07 +00:00
video_renderer.cc Delete root header file typedef.h. 2018-07-25 14:59:26 +00:00
video_renderer.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00