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

Side by Side Diff: webrtc/modules/audio_coding/test/TestAllCodecs.cc

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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 "webrtc/modules/audio_coding/test/TestAllCodecs.h" 11 #include "webrtc/modules/audio_coding/test/TestAllCodecs.h"
12 12
13 #include <cstdio> 13 #include <cstdio>
14 #include <limits> 14 #include <limits>
15 #include <string> 15 #include <string>
16 16
17 #include "webrtc/test/gtest.h"
18
19 #include "webrtc/common_types.h" 17 #include "webrtc/common_types.h"
20 #include "webrtc/engine_configurations.h" 18 #include "webrtc/engine_configurations.h"
21 #include "webrtc/modules/audio_coding/include/audio_coding_module.h" 19 #include "webrtc/modules/audio_coding/include/audio_coding_module.h"
22 #include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h" 20 #include "webrtc/modules/audio_coding/include/audio_coding_module_typedefs.h"
23 #include "webrtc/modules/audio_coding/test/utility.h" 21 #include "webrtc/modules/audio_coding/test/utility.h"
24 #include "webrtc/system_wrappers/include/trace.h" 22 #include "webrtc/system_wrappers/include/trace.h"
23 #include "webrtc/test/gtest.h"
25 #include "webrtc/test/testsupport/fileutils.h" 24 #include "webrtc/test/testsupport/fileutils.h"
26 #include "webrtc/typedefs.h" 25 #include "webrtc/typedefs.h"
27 26
28 // Description of the test: 27 // Description of the test:
29 // In this test we set up a one-way communication channel from a participant 28 // In this test we set up a one-way communication channel from a participant
30 // called "a" to a participant called "b". 29 // called "a" to a participant called "b".
31 // a -> channel_a_to_b -> b 30 // a -> channel_a_to_b -> b
32 // 31 //
33 // The test loops through all available mono codecs, encode at "a" sends over 32 // The test loops through all available mono codecs, encode at "a" sends over
34 // the channel, and decodes at "b". 33 // the channel, and decodes at "b".
(...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 } 481 }
483 482
484 void TestAllCodecs::DisplaySendReceiveCodec() { 483 void TestAllCodecs::DisplaySendReceiveCodec() {
485 CodecInst my_codec_param; 484 CodecInst my_codec_param;
486 printf("%s -> ", acm_a_->SendCodec()->plname); 485 printf("%s -> ", acm_a_->SendCodec()->plname);
487 acm_b_->ReceiveCodec(&my_codec_param); 486 acm_b_->ReceiveCodec(&my_codec_param);
488 printf("%s\n", my_codec_param.plname); 487 printf("%s\n", my_codec_param.plname);
489 } 488 }
490 489
491 } // namespace webrtc 490 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/test/PCMFile.cc ('k') | webrtc/modules/audio_coding/test/TestStereo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698