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

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

Issue 2381013002: Sort #includes that got unsorted when gmock.h and gtest.h moved to webrtc/test/ (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/test/gmock.h"
17 #include "webrtc/test/gtest.h"
16 #include "webrtc/voice_engine/include/voe_audio_processing.h" 18 #include "webrtc/voice_engine/include/voe_audio_processing.h"
17 #include "webrtc/voice_engine/include/voe_base.h" 19 #include "webrtc/voice_engine/include/voe_base.h"
18 #include "webrtc/voice_engine/include/voe_codec.h" 20 #include "webrtc/voice_engine/include/voe_codec.h"
19 #include "webrtc/voice_engine/include/voe_errors.h" 21 #include "webrtc/voice_engine/include/voe_errors.h"
20 #include "webrtc/voice_engine/include/voe_external_media.h" 22 #include "webrtc/voice_engine/include/voe_external_media.h"
21 #include "webrtc/voice_engine/include/voe_file.h" 23 #include "webrtc/voice_engine/include/voe_file.h"
22 #include "webrtc/voice_engine/include/voe_hardware.h" 24 #include "webrtc/voice_engine/include/voe_hardware.h"
23 #include "webrtc/voice_engine/include/voe_neteq_stats.h" 25 #include "webrtc/voice_engine/include/voe_neteq_stats.h"
24 #include "webrtc/voice_engine/include/voe_network.h" 26 #include "webrtc/voice_engine/include/voe_network.h"
25 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h" 27 #include "webrtc/voice_engine/include/voe_rtp_rtcp.h"
26 #include "webrtc/voice_engine/include/voe_video_sync.h" 28 #include "webrtc/voice_engine/include/voe_video_sync.h"
27 #include "webrtc/voice_engine/include/voe_volume_control.h" 29 #include "webrtc/voice_engine/include/voe_volume_control.h"
28 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h" 30 #include "webrtc/voice_engine/test/auto_test/voe_test_common.h"
29 31
30 #include "webrtc/test/gmock.h"
31 #include "webrtc/test/gtest.h"
32
33 // This convenient fixture sets up all voice engine interfaces automatically for 32 // This convenient fixture sets up all voice engine interfaces automatically for
34 // use by testing subclasses. It allocates each interface and releases it once 33 // 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 34 // 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. 35 // engine and forgets to release it, this test will fail in the destructor.
37 // It will not call any init methods. 36 // It will not call any init methods.
38 // 37 //
39 // Implementation note: 38 // Implementation note:
40 // The interface fetching is done in the constructor and not SetUp() since 39 // 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 40 // this relieves our subclasses from calling SetUp in the superclass if they
42 // choose to override SetUp() themselves. This is fine as googletest will 41 // choose to override SetUp() themselves. This is fine as googletest will
(...skipping 15 matching lines...) Expand all
58 webrtc::VoEAudioProcessing* voe_apm_; 57 webrtc::VoEAudioProcessing* voe_apm_;
59 webrtc::VoENetwork* voe_network_; 58 webrtc::VoENetwork* voe_network_;
60 webrtc::VoEFile* voe_file_; 59 webrtc::VoEFile* voe_file_;
61 webrtc::VoEVideoSync* voe_vsync_; 60 webrtc::VoEVideoSync* voe_vsync_;
62 webrtc::VoEHardware* voe_hardware_; 61 webrtc::VoEHardware* voe_hardware_;
63 webrtc::VoEExternalMedia* voe_xmedia_; 62 webrtc::VoEExternalMedia* voe_xmedia_;
64 webrtc::VoENetEqStats* voe_neteq_stats_; 63 webrtc::VoENetEqStats* voe_neteq_stats_;
65 }; 64 };
66 65
67 #endif // SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_ 66 #endif // SRC_VOICE_ENGINE_MAIN_TEST_AUTO_TEST_STANDARD_TEST_BASE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698