| OLD | NEW |
| 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/interface/audio_coding_module.h" | 16 #include "webrtc/modules/audio_coding/main/include/audio_coding_module.h" |
| 17 #include "webrtc/modules/audio_coding/main/test/APITest.h" | 17 #include "webrtc/modules/audio_coding/main/test/APITest.h" |
| 18 #include "webrtc/modules/audio_coding/main/test/EncodeDecodeTest.h" | 18 #include "webrtc/modules/audio_coding/main/test/EncodeDecodeTest.h" |
| 19 #include "webrtc/modules/audio_coding/main/test/iSACTest.h" | 19 #include "webrtc/modules/audio_coding/main/test/iSACTest.h" |
| 20 #include "webrtc/modules/audio_coding/main/test/opus_test.h" | 20 #include "webrtc/modules/audio_coding/main/test/opus_test.h" |
| 21 #include "webrtc/modules/audio_coding/main/test/PacketLossTest.h" | 21 #include "webrtc/modules/audio_coding/main/test/PacketLossTest.h" |
| 22 #include "webrtc/modules/audio_coding/main/test/TestAllCodecs.h" | 22 #include "webrtc/modules/audio_coding/main/test/TestAllCodecs.h" |
| 23 #include "webrtc/modules/audio_coding/main/test/TestRedFec.h" | 23 #include "webrtc/modules/audio_coding/main/test/TestRedFec.h" |
| 24 #include "webrtc/modules/audio_coding/main/test/TestStereo.h" | 24 #include "webrtc/modules/audio_coding/main/test/TestStereo.h" |
| 25 #include "webrtc/modules/audio_coding/main/test/TestVADDTX.h" | 25 #include "webrtc/modules/audio_coding/main/test/TestVADDTX.h" |
| 26 #include "webrtc/modules/audio_coding/main/test/TwoWayCommunication.h" | 26 #include "webrtc/modules/audio_coding/main/test/TwoWayCommunication.h" |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 |
| OLD | NEW |