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

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

Issue 1481493004: audio_coding: remove "main" directory (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years 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 <stdio.h> 11 #include <stdio.h>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" 16 #include "webrtc/modules/audio_coding/include/audio_coding_module.h"
17 #include "webrtc/modules/audio_coding/main/test/APITest.h" 17 #include "webrtc/modules/audio_coding/test/APITest.h"
18 #include "webrtc/modules/audio_coding/main/test/EncodeDecodeTest.h" 18 #include "webrtc/modules/audio_coding/test/EncodeDecodeTest.h"
19 #include "webrtc/modules/audio_coding/main/test/iSACTest.h" 19 #include "webrtc/modules/audio_coding/test/iSACTest.h"
20 #include "webrtc/modules/audio_coding/main/test/opus_test.h" 20 #include "webrtc/modules/audio_coding/test/opus_test.h"
21 #include "webrtc/modules/audio_coding/main/test/PacketLossTest.h" 21 #include "webrtc/modules/audio_coding/test/PacketLossTest.h"
22 #include "webrtc/modules/audio_coding/main/test/TestAllCodecs.h" 22 #include "webrtc/modules/audio_coding/test/TestAllCodecs.h"
23 #include "webrtc/modules/audio_coding/main/test/TestRedFec.h" 23 #include "webrtc/modules/audio_coding/test/TestRedFec.h"
24 #include "webrtc/modules/audio_coding/main/test/TestStereo.h" 24 #include "webrtc/modules/audio_coding/test/TestStereo.h"
25 #include "webrtc/modules/audio_coding/main/test/TestVADDTX.h" 25 #include "webrtc/modules/audio_coding/test/TestVADDTX.h"
26 #include "webrtc/modules/audio_coding/main/test/TwoWayCommunication.h" 26 #include "webrtc/modules/audio_coding/test/TwoWayCommunication.h"
27 #include "webrtc/system_wrappers/include/trace.h" 27 #include "webrtc/system_wrappers/include/trace.h"
28 #include "webrtc/test/testsupport/fileutils.h" 28 #include "webrtc/test/testsupport/fileutils.h"
29 #include "webrtc/test/testsupport/gtest_disable.h" 29 #include "webrtc/test/testsupport/gtest_disable.h"
30 30
31 using webrtc::Trace; 31 using webrtc::Trace;
32 32
33 // This parameter is used to describe how to run the tests. It is normally 33 // This parameter is used to describe how to run the tests. It is normally
34 // set to 0, and all tests are run in quite mode. 34 // set to 0, and all tests are run in quite mode.
35 #define ACM_TEST_MODE 0 35 #define ACM_TEST_MODE 0
36 36
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 // for offline testing. User interaction is needed. 162 // for offline testing. User interaction is needed.
163 #ifdef ACM_TEST_FULL_API 163 #ifdef ACM_TEST_FULL_API
164 TEST(AudioCodingModuleTest, TestAPI) { 164 TEST(AudioCodingModuleTest, TestAPI) {
165 Trace::CreateTrace(); 165 Trace::CreateTrace();
166 Trace::SetTraceFile((webrtc::test::OutputPath() + 166 Trace::SetTraceFile((webrtc::test::OutputPath() +
167 "acm_apitest_trace.txt").c_str()); 167 "acm_apitest_trace.txt").c_str());
168 webrtc::APITest().Perform(); 168 webrtc::APITest().Perform();
169 Trace::ReturnTrace(); 169 Trace::ReturnTrace();
170 } 170 }
171 #endif 171 #endif
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/test/TestVADDTX.cc ('k') | webrtc/modules/audio_coding/test/TimedTrace.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698