Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(505)

Unified Diff: webrtc/test/mock_audio_decoder.h

Issue 2798063004: Move AudioDecoder and AudioDecoderFactory mocks to webrtc/test/ (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/test/mock_audio_decoder_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/mock_audio_decoder.h
diff --git a/webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h b/webrtc/test/mock_audio_decoder.h
similarity index 76%
rename from webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h
rename to webrtc/test/mock_audio_decoder.h
index f5b343d8fa93304aef2620d96f944d88d11037e8..883002112024b7a51ee71810d0e14f696ed44662 100644
--- a/webrtc/modules/audio_coding/neteq/mock/mock_audio_decoder.h
+++ b/webrtc/test/mock_audio_decoder.h
@@ -8,8 +8,8 @@
* be found in the AUTHORS file in the root of the source tree.
*/
-#ifndef WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_AUDIO_DECODER_H_
-#define WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_AUDIO_DECODER_H_
+#ifndef WEBRTC_TEST_MOCK_AUDIO_DECODER_H_
+#define WEBRTC_TEST_MOCK_AUDIO_DECODER_H_
#include "webrtc/api/audio_codecs/audio_decoder.h"
#include "webrtc/test/gmock.h"
@@ -26,8 +26,8 @@ class MockAudioDecoder : public AudioDecoder {
MOCK_CONST_METHOD0(HasDecodePlc, bool());
MOCK_METHOD2(DecodePlc, size_t(size_t, int16_t*));
MOCK_METHOD0(Reset, void());
- MOCK_METHOD5(IncomingPacket, int(const uint8_t*, size_t, uint16_t, uint32_t,
- uint32_t));
+ MOCK_METHOD5(IncomingPacket,
+ int(const uint8_t*, size_t, uint16_t, uint32_t, uint32_t));
MOCK_METHOD0(ErrorCode, int());
MOCK_CONST_METHOD2(PacketDuration, int(const uint8_t*, size_t));
MOCK_CONST_METHOD0(Channels, size_t());
@@ -35,4 +35,4 @@ class MockAudioDecoder : public AudioDecoder {
};
} // namespace webrtc
-#endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_MOCK_MOCK_AUDIO_DECODER_H_
+#endif // WEBRTC_TEST_MOCK_AUDIO_DECODER_H_
« no previous file with comments | « webrtc/test/BUILD.gn ('k') | webrtc/test/mock_audio_decoder_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698