| Index: webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| diff --git a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| index a2ab6e8ecbca1225b21b521fbc874bb607295384..d7bc474d36492daeee8e9fb94451d84c42c9982f 100644
|
| --- a/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| +++ b/webrtc/modules/audio_coding/codecs/cng/audio_encoder_cng_unittest.cc
|
| @@ -386,6 +386,14 @@ TEST_F(AudioEncoderCngTest, VerifySidFrameAfterSpeech) {
|
| encoded_info_.encoded_bytes);
|
| }
|
|
|
| +// Resetting the CNG should reset both the VAD and the encoder.
|
| +TEST_F(AudioEncoderCngTest, Reset) {
|
| + CreateCng();
|
| + EXPECT_CALL(mock_encoder_, Reset()).Times(1);
|
| + EXPECT_CALL(*mock_vad_, Reset()).Times(1);
|
| + cng_->Reset();
|
| +}
|
| +
|
| #if GTEST_HAS_DEATH_TEST && !defined(WEBRTC_ANDROID)
|
|
|
| // This test fixture tests various error conditions that makes the
|
|
|