webrtc/modules/audio_coding/acm2
Sebastian Jansson 5d436ac0bf Removed Die mock from MockAudioEncoder
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}
2018-02-22 12:53:38 +00:00
..
acm_codec_database.cc Don't select audio codecs depending on GN vars build_with_{chromium|mozilla} 2017-11-01 18:59:27 +00:00
acm_codec_database.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
acm_receive_test.cc Remove various IDs: 2017-09-28 14:37:11 +00:00
acm_receive_test.h Fix sign-compare warnings on win_clang 2017-12-22 08:59:23 +00:00
acm_receiver.cc Add new UMA metric for NetEq target buffer delay 2017-11-29 08:56:29 +00:00
acm_receiver.h Add new UMA metric for NetEq target buffer delay 2017-11-29 08:56:29 +00:00
acm_receiver_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
acm_resampler.cc Stop using LOG macros in favor of RTC_ prefixed macros. 2017-11-09 11:56:32 +00:00
acm_resampler.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
acm_send_test.cc Remove various IDs: 2017-09-28 14:37:11 +00:00
acm_send_test.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_coding_module.cc Add new UMA metric for NetEq target buffer delay 2017-11-29 08:56:29 +00:00
audio_coding_module_unittest.cc Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00
call_statistics.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
call_statistics.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
call_statistics_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
codec_manager.cc Optional: Use nullopt and implicit construction in /modules/audio_coding 2017-11-17 11:58:37 +00:00
codec_manager.h Optional: Use nullopt and implicit construction in /modules/audio_coding 2017-11-17 11:58:37 +00:00
codec_manager_unittest.cc Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00
rent_a_codec.cc Optional: Use nullopt and implicit construction in /modules/audio_coding 2017-11-17 11:58:37 +00:00
rent_a_codec.h Optional: Use nullopt and implicit construction in /modules/audio_coding 2017-11-17 11:58:37 +00:00
rent_a_codec_unittest.cc Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00