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