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

Side by Side Diff: webrtc/modules/audio_coding/main/test/TwoWayCommunication.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 "TwoWayCommunication.h" 11 #include "TwoWayCommunication.h"
12 12
13 #include <ctype.h> 13 #include <ctype.h>
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <string.h> 15 #include <string.h>
16 16
17 #ifdef WIN32 17 #ifdef WIN32
18 #include <Windows.h> 18 #include <Windows.h>
19 #endif 19 #endif
20 20
21 #include "testing/gtest/include/gtest/gtest.h" 21 #include "testing/gtest/include/gtest/gtest.h"
22 #include "webrtc/engine_configurations.h" 22 #include "webrtc/engine_configurations.h"
23 #include "webrtc/common_types.h" 23 #include "webrtc/common_types.h"
24 #include "webrtc/modules/audio_coding/main/test/PCMFile.h" 24 #include "webrtc/modules/audio_coding/main/test/PCMFile.h"
25 #include "webrtc/modules/audio_coding/main/test/utility.h" 25 #include "webrtc/modules/audio_coding/main/test/utility.h"
26 #include "webrtc/system_wrappers/interface/trace.h" 26 #include "webrtc/system_wrappers/include/trace.h"
27 #include "webrtc/test/testsupport/fileutils.h" 27 #include "webrtc/test/testsupport/fileutils.h"
28 28
29 namespace webrtc { 29 namespace webrtc {
30 30
31 #define MAX_FILE_NAME_LENGTH_BYTE 500 31 #define MAX_FILE_NAME_LENGTH_BYTE 500
32 32
33 TwoWayCommunication::TwoWayCommunication(int testMode) 33 TwoWayCommunication::TwoWayCommunication(int testMode)
34 : _acmA(AudioCodingModule::Create(1)), 34 : _acmA(AudioCodingModule::Create(1)),
35 _acmRefA(AudioCodingModule::Create(3)), 35 _acmRefA(AudioCodingModule::Create(3)),
36 _testMode(testMode) { 36 _testMode(testMode) {
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 if (((secPassed % 7) == 6) && (msecPassed == 0)) 292 if (((secPassed % 7) == 6) && (msecPassed == 0))
293 EXPECT_EQ(0, _acmA->InitializeReceiver()); 293 EXPECT_EQ(0, _acmA->InitializeReceiver());
294 // Re-register codec on side A. 294 // Re-register codec on side A.
295 if (((secPassed % 7) == 6) && (msecPassed >= 990)) { 295 if (((secPassed % 7) == 6) && (msecPassed >= 990)) {
296 EXPECT_EQ(0, _acmA->RegisterReceiveCodec(codecInst_B)); 296 EXPECT_EQ(0, _acmA->RegisterReceiveCodec(codecInst_B));
297 } 297 }
298 } 298 }
299 } 299 }
300 300
301 } // namespace webrtc 301 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/main/test/Tester.cc ('k') | webrtc/modules/audio_coding/main/test/delay_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698