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

Side by Side Diff: webrtc/voice_engine/test/auto_test/fixtures/before_initialization_fixture.h

Issue 2358993004: Enable the -Wundef warning for clang (Closed)
Patch Set: rebase Created 4 years, 2 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_ 11 #ifndef SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_
12 #define SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_ 12 #define SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_
13 13
14 #include "webrtc/common_types.h" 14 #include "webrtc/common_types.h"
15 #include "webrtc/engine_configurations.h" 15 #include "webrtc/engine_configurations.h"
16 #include "webrtc/voice_engine/include/voe_audio_processing.h" 16 #include "webrtc/voice_engine/include/voe_audio_processing.h"
17 #include "webrtc/voice_engine/include/voe_base.h" 17 #include "webrtc/voice_engine/include/voe_base.h"
18 #include "webrtc/voice_engine/include/voe_codec.h" 18 #include "webrtc/voice_engine/include/voe_codec.h"
19 #include "webrtc/voice_engine/include/voe_errors.h" 19 #include "webrtc/voice_engine/include/voe_errors.h"
20 #include "webrtc/voice_engine/include/voe_external_media.h" 20 #include "webrtc/voice_engine/include/voe_external_media.h"
21 #include "webrtc/voice_engine/include/voe_file.h" 21 #include "webrtc/voice_engine/include/voe_file.h"
22 #include "webrtc/voice_engine/include/voe_hardware.h" 22 #include "webrtc/voice_engine/include/voe_hardware.h"
23 #include "webrtc/voice_engine/include/voe_neteq_stats.h" 23 #include "webrtc/voice_engine/include/voe_neteq_stats.h"
24 #include "webrtc/voice_engine/include/voe_network.h" 24 #include "webrtc/voice_engine/include/voe_network.h"
25 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" 25 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h"
26 #include "webrtc/voice_engine/include/voe_video_sync.h" 26 #include "webrtc/voice_engine/include/voe_video_sync.h"
27 #include "webrtc/voice_engine/include/voe_volume_control.h" 27 #include "webrtc/voice_engine/include/voe_volume_control.h"
28 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h" 28 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h"
29 29
30 #include "testing/gmock/include/gmock/gmock.h" 30 #include "webrtc/test/gmock.h"
31 #include "testing/gtest/include/gtest/gtest.h" 31 #include "webrtc/test/gtest.h"
32 32
33 // This convenient fixture sets up all voice engine interfaces automatically for 33 // This convenient fixture sets up all voice engine interfaces automatically for
34 // use by testing subclasses. It allocates each interface and releases it once 34 // use by testing subclasses. It allocates each interface and releases it once
35 // which means that if a tests allocates additional interfaces from the voice 35 // which means that if a tests allocates additional interfaces from the voice
36 // engine and forgets to release it, this test will fail in the destructor. 36 // engine and forgets to release it, this test will fail in the destructor.
37 // It will not call any init methods. 37 // It will not call any init methods.
38 // 38 //
39 // Implementation note: 39 // Implementation note:
40 // The interface fetching is done in the constructor and not SetUp() since 40 // The interface fetching is done in the constructor and not SetUp() since
41 // this relieves our subclasses from calling SetUp in the superclass if they 41 // this relieves our subclasses from calling SetUp in the superclass if they
(...skipping 16 matching lines...) Expand all
58 webrtc::VoEAudioProcessing* voe_apm_; 58 webrtc::VoEAudioProcessing* voe_apm_;
59 webrtc::VoENetwork* voe_network_; 59 webrtc::VoENetwork* voe_network_;
60 webrtc::VoEFile* voe_file_; 60 webrtc::VoEFile* voe_file_;
61 webrtc::VoEVideoSync* voe_vsync_; 61 webrtc::VoEVideoSync* voe_vsync_;
62 webrtc::VoEHardware* voe_hardware_; 62 webrtc::VoEHardware* voe_hardware_;
63 webrtc::VoEExternalMedia* voe_xmedia_; 63 webrtc::VoEExternalMedia* voe_xmedia_;
64 webrtc::VoENetEqStats* voe_neteq_stats_; 64 webrtc::VoENetEqStats* voe_neteq_stats_;
65 }; 65 };
66 66
67 #endif // SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_ 67 #endif // SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698