Index: webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc |
diff --git a/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc b/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc |
index e1a0f69dfabf9af4c48609e9b9ac38d2736acc94..139106bd3c1b797aa59c4b321e2415ad5b88445a 100644 |
--- a/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc |
+++ b/webrtc/modules/audio_coding/neteq/neteq_network_stats_unittest.cc |
@@ -33,7 +33,7 @@ class MockAudioDecoderOpus : public AudioDecoderOpus { |
virtual ~MockAudioDecoderOpus() { Die(); } |
MOCK_METHOD0(Die, void()); |
- MOCK_METHOD0(Init, int()); |
+ MOCK_METHOD0(Reset, void()); |
int PacketDuration(const uint8_t* encoded, |
size_t encoded_len) const override { |
@@ -271,7 +271,6 @@ struct NetEqNetworkStatsCheck { |
TEST(NetEqNetworkStatsTest, OpusDecodeFec) { |
MockAudioDecoderOpus decoder(1); |
- EXPECT_CALL(decoder, Init()); |
NetEqNetworkStatsTest test(kDecoderOpus, &decoder); |
test.DecodeFecTest(); |
EXPECT_CALL(decoder, Die()).Times(1); |
@@ -279,7 +278,6 @@ TEST(NetEqNetworkStatsTest, OpusDecodeFec) { |
TEST(NetEqNetworkStatsTest, StereoOpusDecodeFec) { |
MockAudioDecoderOpus decoder(2); |
- EXPECT_CALL(decoder, Init()); |
NetEqNetworkStatsTest test(kDecoderOpus, &decoder); |
test.DecodeFecTest(); |
EXPECT_CALL(decoder, Die()).Times(1); |
@@ -287,7 +285,6 @@ TEST(NetEqNetworkStatsTest, StereoOpusDecodeFec) { |
TEST(NetEqNetworkStatsTest, NoiseExpansionTest) { |
MockAudioDecoderOpus decoder(1); |
- EXPECT_CALL(decoder, Init()); |
NetEqNetworkStatsTest test(kDecoderOpus, &decoder); |
test.NoiseExpansionTest(); |
EXPECT_CALL(decoder, Die()).Times(1); |