webrtc/logging/rtc_event_log
Xuanxi Leng 85abbdf526 RtcEventLogImpl: Add test cases
This change adds below test cases:
1. Keep most recent config events on start.
2. Rewrite all previous config events on restart.
3. Do not drop events when far more events than max event history logged
on logging start.

Bug: chromium:1288710
Change-Id: Ifc227e8be788d33dc2ed65f49281b3d0809231c6
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/291739
Reviewed-by: Markus Handell <handellm@webrtc.org>
Reviewed-by: Björn Terelius <terelius@webrtc.org>
Commit-Queue: Björn Terelius <terelius@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39253}
2023-02-03 09:55:33 +00:00
..
encoder Add RtcEvent to store when MinimumSetDelay is set on NetEq 2023-01-13 17:15:48 +00:00
events in rtcp::TransportFeedback do not memorise all described packet 2023-01-26 16:32:49 +00:00
mock Replace mock macros with unified MOCK_METHOD macro 2020-05-28 14:11:53 +00:00
output Promote RtcEventLogOutputFile to api/ 2019-05-08 12:29:42 +00:00
DEPS Cleanup of bwe_defines.h 2020-11-26 12:26:02 +00:00
fake_rtc_event_log.cc Cleanup FakeRtcEventLog from thread awareness 2021-01-20 14:06:47 +00:00
fake_rtc_event_log.h Cleanup FakeRtcEventLog from thread awareness 2021-01-20 14:06:47 +00:00
fake_rtc_event_log_factory.cc Change RTCEventLogFactory to have a const Create function 2022-06-28 23:48:37 +00:00
fake_rtc_event_log_factory.h Change RTCEventLogFactory to have a const Create function 2022-06-28 23:48:37 +00:00
ice_logger.cc Use std::make_unique instead of absl::make_unique. 2019-09-17 15:47:29 +00:00
ice_logger.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
logged_events.h Add noop stubs for encoding/parsing all RTC event log events. 2022-02-11 15:00:14 +00:00
rtc_event_log.proto Encode remote link capacity estimates in legacy RTC event log format 2022-08-11 12:57:02 +00:00
rtc_event_log2.proto Add RtcEvent to store when MinimumSetDelay is set on NetEq 2023-01-13 17:15:48 +00:00
rtc_event_log2rtp_dump.cc adopt absl::string_view in logging/ 2022-07-15 16:08:39 +00:00
rtc_event_log_impl.cc RtcEventLogImpl: Add mocked time test. 2023-01-03 14:08:16 +00:00
rtc_event_log_impl.h RtcEventLogImpl: Add mocked time test. 2023-01-03 14:08:16 +00:00
rtc_event_log_impl_unittest.cc RtcEventLogImpl: Add test cases 2023-02-03 09:55:33 +00:00
rtc_event_log_parser.cc in rtcp::TransportFeedback do not memorise all described packet 2023-01-26 16:32:49 +00:00
rtc_event_log_parser.h Add RtcEvent to store when MinimumSetDelay is set on NetEq 2023-01-13 17:15:48 +00:00
rtc_event_log_unittest.cc Fix race in KeepsMostRecentEvents. 2022-04-08 08:21:34 +00:00
rtc_event_log_unittest_helper.cc Add RtcEvent to store when MinimumSetDelay is set on NetEq 2023-01-13 17:15:48 +00:00
rtc_event_log_unittest_helper.h Add RtcEvent to store when MinimumSetDelay is set on NetEq 2023-01-13 17:15:48 +00:00
rtc_event_processor.cc Use backticks not vertical bars to denote variables in comments for /logging 2021-07-30 19:19:34 +00:00
rtc_event_processor.h Use backticks not vertical bars to denote variables in comments for /logging 2021-07-30 19:19:34 +00:00
rtc_event_processor_unittest.cc Reland "Deprecate microsecond timestamps in RTC event log." 2021-06-17 12:08:54 +00:00
rtc_stream_config.cc adopt absl::string_view in logging/ 2022-07-15 16:08:39 +00:00
rtc_stream_config.h adopt absl::string_view in logging/ 2022-07-15 16:08:39 +00:00