Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 191 }; | 191 }; |
| 192 | 192 |
| 193 auto add_aec_settings = [](const std::vector<TestConfig>& in) { | 193 auto add_aec_settings = [](const std::vector<TestConfig>& in) { |
| 194 std::vector<TestConfig> out; | 194 std::vector<TestConfig> out; |
| 195 AecType aec_types[] = { | 195 AecType aec_types[] = { |
| 196 AecType::BasicWebRtcAecSettings, AecType::AecTurnedOff, | 196 AecType::BasicWebRtcAecSettings, AecType::AecTurnedOff, |
| 197 AecType::BasicWebRtcAecSettingsWithExtentedFilter, | 197 AecType::BasicWebRtcAecSettingsWithExtentedFilter, |
| 198 AecType::BasicWebRtcAecSettingsWithDelayAgnosticAec, | 198 AecType::BasicWebRtcAecSettingsWithDelayAgnosticAec, |
| 199 AecType::BasicWebRtcAecSettingsWithAecMobile}; | 199 AecType::BasicWebRtcAecSettingsWithAecMobile}; |
| 200 for (auto test_config : in) { | 200 for (auto test_config : in) { |
| 201 for (auto aec_type : aec_types) { | 201 for (auto aec_type_i : aec_types) { |
| 202 test_config.aec_type = aec_type; | 202 test_config.aec_type = aec_type_i; |
|
tlegrand-webrtc
2016/01/27 12:39:43
Is this needed because TestConfig has a "member" w
| |
| 203 out.push_back(test_config); | 203 out.push_back(test_config); |
| 204 } | 204 } |
| 205 } | 205 } |
| 206 return out; | 206 return out; |
| 207 }; | 207 }; |
| 208 | 208 |
| 209 auto add_settings_scheme = [](const std::vector<TestConfig>& in) { | 209 auto add_settings_scheme = [](const std::vector<TestConfig>& in) { |
| 210 std::vector<TestConfig> out; | 210 std::vector<TestConfig> out; |
| 211 RuntimeParameterSettingScheme schemes[] = { | 211 RuntimeParameterSettingScheme schemes[] = { |
| 212 RuntimeParameterSettingScheme::SparseStreamMetadataChangeScheme, | 212 RuntimeParameterSettingScheme::SparseStreamMetadataChangeScheme, |
| (...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1124 DISABLED_AudioProcessingImplLockExtensive, | 1124 DISABLED_AudioProcessingImplLockExtensive, |
| 1125 AudioProcessingImplLockTest, | 1125 AudioProcessingImplLockTest, |
| 1126 ::testing::ValuesIn(TestConfig::GenerateExtensiveTestConfigs())); | 1126 ::testing::ValuesIn(TestConfig::GenerateExtensiveTestConfigs())); |
| 1127 | 1127 |
| 1128 INSTANTIATE_TEST_CASE_P( | 1128 INSTANTIATE_TEST_CASE_P( |
| 1129 AudioProcessingImplLockBrief, | 1129 AudioProcessingImplLockBrief, |
| 1130 AudioProcessingImplLockTest, | 1130 AudioProcessingImplLockTest, |
| 1131 ::testing::ValuesIn(TestConfig::GenerateBriefTestConfigs())); | 1131 ::testing::ValuesIn(TestConfig::GenerateBriefTestConfigs())); |
| 1132 | 1132 |
| 1133 } // namespace webrtc | 1133 } // namespace webrtc |
| OLD | NEW |