mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 06:10:40 +01:00
![]() MockAudioEncoder was calling a mocked Die function on itself in its destructor. This outputs "Uninteresting mock function call" warning if the Die call was not expected. This is true even if a NiceMock is used to suppress the warnings. The purpose of testing that the destructor is called might be to protect against memory leaks when audio encoder ownership is transferred using a raw pointer. However, this case is already covered by msan checks. Bug: None Change-Id: I0603c417b4b239027859228e05ebcf83ff5aaf18 Reviewed-on: https://webrtc-review.googlesource.com/56183 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Sebastian Jansson <srte@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22146} |
||
---|---|---|
.. | ||
cng | ||
g711 | ||
g722 | ||
ilbc | ||
isac | ||
opus | ||
pcm16b | ||
red | ||
tools | ||
audio_decoder.h | ||
audio_encoder.h | ||
audio_format_conversion.cc | ||
audio_format_conversion.h | ||
builtin_audio_decoder_factory_unittest.cc | ||
builtin_audio_encoder_factory_unittest.cc | ||
legacy_encoded_audio_frame.cc | ||
legacy_encoded_audio_frame.h | ||
legacy_encoded_audio_frame_unittest.cc | ||
OWNERS |