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 #include "modules/audio_device/include/fake_audio_device.h" | 11 #include "modules/audio_device/include/fake_audio_device.h" |
12 #include "modules/audio_processing/include/audio_processing.h" | 12 #include "modules/audio_processing/include/audio_processing.h" |
13 #include "test/gtest.h" | 13 #include "test/gtest.h" |
14 #include "test/mock_transport.h" | 14 #include "test/mock_transport.h" |
15 #include "voice_engine/include/voe_base.h" | 15 #include "voice_engine/include/voe_base.h" |
16 #include "voice_engine/include/voe_network.h" | 16 #include "voice_engine/include/voe_network.h" |
17 #include "voice_engine/mock/mock_voe_observer.h" | |
18 | 17 |
19 namespace webrtc { | 18 namespace webrtc { |
20 | 19 |
21 class VoiceEngineFixture : public ::testing::Test { | 20 class VoiceEngineFixture : public ::testing::Test { |
22 protected: | 21 protected: |
23 VoiceEngineFixture(); | 22 VoiceEngineFixture(); |
24 ~VoiceEngineFixture(); | 23 ~VoiceEngineFixture(); |
25 | 24 |
26 VoiceEngine* voe_; | 25 VoiceEngine* voe_; |
27 VoEBase* base_; | 26 VoEBase* base_; |
28 VoENetwork* network_; | 27 VoENetwork* network_; |
29 MockVoEObserver observer_; | |
30 FakeAudioDeviceModule adm_; | 28 FakeAudioDeviceModule adm_; |
31 MockTransport transport_; | 29 MockTransport transport_; |
32 rtc::scoped_refptr<AudioProcessing> apm_; | 30 rtc::scoped_refptr<AudioProcessing> apm_; |
33 }; | 31 }; |
34 | 32 |
35 } // namespace webrtc | 33 } // namespace webrtc |
OLD | NEW |