From 7750de906ad7f59524d3669846c64057e9c63050 Mon Sep 17 00:00:00 2001 From: Bjorn Terelius Date: Thu, 28 Jun 2018 16:48:35 +0200 Subject: Port RtcEventLog encoder unittests to the new parser API. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Copy() function previously did not copy the logging timestamp. To be able to use Copy() in this test, we add private copy constructors for RtcEvents which the Copy() can use to copy everything including the timestamp. Also adds missing test for RtcEventAlrState, RtcEventIceCandidatePairConfig and RtcEventIceCandidatePair. Bug: webrtc:8111 Change-Id: I3901231735baa4e671173c921eada0a4be6de7c9 Reviewed-on: https://webrtc-review.googlesource.com/86042 Commit-Queue: Björn Terelius Reviewed-by: Elad Alon Cr-Commit-Position: refs/heads/master@{#23774} --- logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h') diff --git a/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h b/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h index ed6b9fb226..3aa9e7199a 100644 --- a/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h +++ b/logging/rtc_event_log/events/rtc_event_rtcp_packet_outgoing.h @@ -31,6 +31,9 @@ class RtcEventRtcpPacketOutgoing final : public RtcEvent { std::unique_ptr Copy() const override; rtc::Buffer packet_; + + private: + RtcEventRtcpPacketOutgoing(const RtcEventRtcpPacketOutgoing& other); }; } // namespace webrtc -- cgit v1.2.3