webrtc/modules/audio_coding/codecs
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
..
cng Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00
g711 Using fully qualified #include paths in g711 code. 2018-02-01 15:05:44 +00:00
g722 Using fully qualified #include paths in g722 code. 2018-02-01 15:11:25 +00:00
ilbc Using fully qualified #include paths in ilbc code. 2018-02-02 13:28:13 +00:00
isac Don't use gtest-parallel when running webrtc_perf_tests. 2018-02-12 13:10:04 +00:00
opus Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
pcm16b Using fully qualified #include paths in pcm16b code. 2018-02-02 14:15:36 +00:00
red Removed Die mock from MockAudioEncoder 2018-02-22 12:53:38 +00:00
tools Stop using std::tr1 2017-10-23 22:11:58 +00:00
audio_decoder.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_encoder.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
audio_format_conversion.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
audio_format_conversion.h Adding NOLINT for typedefs.h and common_types.h 2017-09-15 13:03:51 +00:00
builtin_audio_decoder_factory_unittest.cc Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
builtin_audio_encoder_factory_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
legacy_encoded_audio_frame.cc Optional: Use nullopt and implicit construction in /modules/audio_coding 2017-11-17 11:58:37 +00:00
legacy_encoded_audio_frame.h Fixing WebRTC after moving from src/webrtc to src/ 2017-09-15 05:02:56 +00:00
legacy_encoded_audio_frame_unittest.cc Move some numeric utility code from rtc_base/ to rtc_base/numerics/ 2017-11-22 11:21:47 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00