OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ | 11 #ifndef WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ |
12 #define WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ | 12 #define WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ |
13 | 13 |
14 #include <string> | 14 #include <string> |
| 15 |
15 #include "webrtc/test/gmock.h" | 16 #include "webrtc/test/gmock.h" |
16 #include "webrtc/voice_engine/channel_proxy.h" | 17 #include "webrtc/voice_engine/channel_proxy.h" |
17 | 18 |
18 namespace webrtc { | 19 namespace webrtc { |
19 namespace test { | 20 namespace test { |
20 | 21 |
21 class MockVoEChannelProxy : public voe::ChannelProxy { | 22 class MockVoEChannelProxy : public voe::ChannelProxy { |
22 public: | 23 public: |
23 MOCK_METHOD1(SetRTCPStatus, void(bool enable)); | 24 MOCK_METHOD1(SetRTCPStatus, void(bool enable)); |
24 MOCK_METHOD1(SetLocalSSRC, void(uint32_t ssrc)); | 25 MOCK_METHOD1(SetLocalSSRC, void(uint32_t ssrc)); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 MOCK_CONST_METHOD0(GetAudioDecoderFactory, | 58 MOCK_CONST_METHOD0(GetAudioDecoderFactory, |
58 const rtc::scoped_refptr<AudioDecoderFactory>&()); | 59 const rtc::scoped_refptr<AudioDecoderFactory>&()); |
59 MOCK_METHOD1(SetChannelOutputVolumeScaling, void(float scaling)); | 60 MOCK_METHOD1(SetChannelOutputVolumeScaling, void(float scaling)); |
60 MOCK_METHOD1(SetRtcEventLog, void(RtcEventLog* event_log)); | 61 MOCK_METHOD1(SetRtcEventLog, void(RtcEventLog* event_log)); |
61 MOCK_METHOD1(SetBitrate, void(int bitrate_bps)); | 62 MOCK_METHOD1(SetBitrate, void(int bitrate_bps)); |
62 }; | 63 }; |
63 } // namespace test | 64 } // namespace test |
64 } // namespace webrtc | 65 } // namespace webrtc |
65 | 66 |
66 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ | 67 #endif // WEBRTC_TEST_MOCK_VOE_CHANNEL_PROXY_H_ |
OLD | NEW |