webrtc/test
Artem Titov 7e2f6b7d92 Fix reporting of metrics when there is no video in the test.
Before if there is no video in PC quality test video quaity analyzer
failed on RTC_CHECK becuase of empty counter. Now it will report no
metrics and print 0 in debug logging.

Bug: webrtc:10138
Change-Id: If6656a613465c522cac1d4b2e4dd455e409229ba
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/133886
Reviewed-by: Artem Titarenko <artit@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#27731}
2019-04-24 08:58:55 +00:00
..
android Reland "Default runner to junit4" 2018-08-21 17:10:05 +00:00
fuzzers Explicetly set task queue factory in fuzzers/RtpReplayer 2019-04-12 11:02:03 +00:00
gl Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
ios Add support for computing iOS code coverage 2018-11-06 15:18:51 +00:00
linux [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
logging (7) Rename files to snake_case: remove forwarding headers 2019-01-26 00:33:46 +00:00
mac Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
pc/e2e Fix reporting of metrics when there is no video in the test. 2019-04-24 08:58:55 +00:00
scenario Never match a decoded frame with a smaller capture. 2019-04-23 12:32:35 +00:00
testsupport Fully qualify googletest symbols. 2019-04-09 17:18:20 +00:00
time_controller Use DefaultTaskQueueFactory instead of Global in test RealTimeController 2019-04-17 15:52:28 +00:00
win Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
audio_decoder_proxy_factory.h Refactor NetEqDecoderPlc to use AudioDecoderProxyFactory 2018-12-20 10:17:15 +00:00
BUILD.gn Removes unused factories and constructor from FrameGeneratorCapturer. 2019-04-23 14:01:53 +00:00
call_config_utils_unittest.cc Replace implicit int->char->string conversion 2019-02-06 11:10:37 +00:00
call_config_utils.cc [clang-tidy] Apply performance-for-range-copy fixes. 2019-01-28 09:53:50 +00:00
call_config_utils.h Added JSON generator for VideoReceiveStream::Config objects. 2019-01-15 00:51:29 +00:00
call_test.cc Use explicit TaskQueueFactory for FrameGeneratorCapturer in CallTest. 2019-04-18 12:45:20 +00:00
call_test.h Use explicit TaskQueueFactory for FrameGeneratorCapturer in CallTest. 2019-04-18 12:45:20 +00:00
configurable_frame_size_encoder.cc Reland "Replace usage of old SetRates/SetRateAllocation methods" 2019-04-12 13:37:32 +00:00
configurable_frame_size_encoder.h Reland "Replace usage of old SetRates/SetRateAllocation methods" 2019-04-12 13:37:32 +00:00
DEPS Adds modules/utility to test/DEPS. 2019-03-20 14:48:15 +00:00
direct_transport_unittest.cc [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
direct_transport.cc Removing avoidable usages of Clock::GetRealTimeClock(). 2019-03-29 18:09:37 +00:00
direct_transport.h Replacing SequencedTaskChecker with SequenceChecker. 2019-04-09 12:28:04 +00:00
drifting_clock.cc Makes Clock interface fully mutable. 2019-01-31 08:12:05 +00:00
drifting_clock.h Makes Clock interface fully mutable. 2019-01-31 08:12:05 +00:00
encoder_settings.cc Update test::CreateVideoStreams to use the configured min bitrate if set. 2019-04-23 12:37:28 +00:00
encoder_settings.h Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
fake_decoder.cc Copy video frames metadata between encoded and plain frames in one place 2019-04-23 14:31:03 +00:00
fake_decoder.h Reland "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-04-11 13:03:52 +00:00
fake_encoder.cc Reland "Replace usage of old SetRates/SetRateAllocation methods" 2019-04-12 13:37:32 +00:00
fake_encoder.h Reland "Replace usage of old SetRates/SetRateAllocation methods" 2019-04-12 13:37:32 +00:00
fake_texture_frame.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +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 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 function_video_(en|de)coder_factory from api 2018-10-26 14:54:19 +00:00
fake_vp8_encoder.cc Rename "UpdateLayerConfig" to "NextFrameConfig" 2019-04-17 11:59:07 +00:00
fake_vp8_encoder.h Replacing SequencedTaskChecker with SequenceChecker. 2019-04-09 12:28:04 +00:00
field_trial.cc Remove deprecated field_trial_default and metrics_default. 2018-09-28 07:21:07 +00:00
field_trial.h Deleting copy constructors for Scoped* classes. 2019-03-25 09:05:29 +00:00
frame_generator_capturer.cc Removes unused factories and constructor from FrameGeneratorCapturer. 2019-04-23 14:01:53 +00:00
frame_generator_capturer.h Removes unused factories and constructor from FrameGeneratorCapturer. 2019-04-23 14:01:53 +00:00
frame_generator_unittest.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
frame_generator.cc Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
frame_generator.h Introduce VideoQualityAnalyzerInjectionHelper. 2019-01-24 17:11:21 +00:00
frame_utils.cc Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
frame_utils.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
function_audio_decoder_factory.h Replace RegisterExternalDecoder with decoder factory in NetEqImplTest120ms 2018-12-03 08:34:50 +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 Delete unneeded direct includes of common_types.h 2019-04-01 07:18:13 +00:00
layer_filtering_transport.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
mac_capturer.h Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
mac_capturer.mm Support different capture resolutions in new video_loopback. 2019-03-14 14:01:32 +00:00
mock_audio_decoder_factory.h Fully qualify googletest symbols. 2019-04-09 17:18:20 +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_encoder_factory.h Fully qualify googletest symbols. 2019-04-09 17:18:20 +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_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 Add new owners to the test/ directory. 2019-01-14 10:55:37 +00:00
platform_video_capturer.cc Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
platform_video_capturer.h Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
rtcp_packet_parser.cc Connect LossNotificationController to RtpRtcp 2019-02-25 16:08:35 +00:00
rtcp_packet_parser.h Connect LossNotificationController to RtpRtcp 2019-02-25 16:08:35 +00:00
rtp_file_reader_unittest.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_file_reader.cc Fuzzing support for RTPDump VP8 and VP9 Streams. 2019-03-15 18:48:43 +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 (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
rtp_file_writer.cc [clang-tidy] Apply modernize-use-override fixes. 2019-01-30 09:26:17 +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_rtcp_observer.h Reland "Delete test/constants.h" 2019-02-19 08:51:20 +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 [Cleanup] Add missing #include. Remove useless ones. IWYU part 2. 2018-11-28 18:25:07 +00:00
run_test.h Reformat the WebRTC code base 2018-06-19 14:00:39 +00:00
single_threaded_task_queue_unittest.cc Add default constructor for rtc::Event 2018-11-07 08:57:50 +00:00
single_threaded_task_queue.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
single_threaded_task_queue.h (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +00:00
test_main_lib.cc (4) Rename files to snake_case: update BUILD.gn, include paths, header guards, and DEPS entries 2019-01-11 17:11:39 +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_main.cc Fix: Argv may be corrupted after InitGoogleMock found any related flags 2018-10-18 07:40:13 +00:00
test_video_capturer.cc Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
test_video_capturer.h Rewrite video_loopback to use new mac capturer. 2019-03-06 14:37:33 +00:00
vcm_capturer.cc Added VcmCapturer::Create loop to allow nonzero device index. 2019-01-29 08:06:22 +00:00
vcm_capturer.h Remove rtc_base/scoped_ref_ptr.h. 2019-01-25 20:29:58 +00:00
video_codec_settings.h Delete unused constant kVideoCodecI420 2019-01-11 09:04:56 +00:00
video_decoder_proxy_factory.h Reland "Delete CodecSpecificInfo argument from VideoDecoder::Decode" 2019-04-11 13:03:52 +00:00
video_encoder_proxy_factory.h Reland "Replace usage of old SetRates/SetRateAllocation methods" 2019-04-12 13:37:32 +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