OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 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 <memory> | 11 #include <memory> |
12 | 12 |
13 #include "webrtc/test/gtest.h" | |
14 #include "webrtc/base/format_macros.h" | 13 #include "webrtc/base/format_macros.h" |
15 #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" | 14 #include "webrtc/modules/audio_coding/codecs/opus/opus_interface.h" |
| 15 #include "webrtc/test/gtest.h" |
16 #include "webrtc/test/testsupport/fileutils.h" | 16 #include "webrtc/test/testsupport/fileutils.h" |
17 | 17 |
18 using ::std::string; | 18 using ::std::string; |
19 using ::std::tr1::tuple; | 19 using ::std::tr1::tuple; |
20 using ::std::tr1::get; | 20 using ::std::tr1::get; |
21 using ::testing::TestWithParam; | 21 using ::testing::TestWithParam; |
22 | 22 |
23 namespace webrtc { | 23 namespace webrtc { |
24 | 24 |
25 // Define coding parameter as <channels, bit_rate, filename, extension>. | 25 // Define coding parameter as <channels, bit_rate, filename, extension>. |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 ::std::tr1::make_tuple(1, 32000, string("audio_coding/testfile32kHz"), | 233 ::std::tr1::make_tuple(1, 32000, string("audio_coding/testfile32kHz"), |
234 string("pcm")), | 234 string("pcm")), |
235 ::std::tr1::make_tuple(2, 64000, string("audio_coding/teststereo32kHz"), | 235 ::std::tr1::make_tuple(2, 64000, string("audio_coding/teststereo32kHz"), |
236 string("pcm"))}; | 236 string("pcm"))}; |
237 | 237 |
238 // 64 kbps, stereo | 238 // 64 kbps, stereo |
239 INSTANTIATE_TEST_CASE_P(AllTest, OpusFecTest, | 239 INSTANTIATE_TEST_CASE_P(AllTest, OpusFecTest, |
240 ::testing::ValuesIn(param_set)); | 240 ::testing::ValuesIn(param_set)); |
241 | 241 |
242 } // namespace webrtc | 242 } // namespace webrtc |
OLD | NEW |