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

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

Issue 2717993002: Disable flaky tests on iOS (Closed)
Patch Set: Created 3 years, 9 months 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
« no previous file with comments | « no previous file | webrtc/pc/currentspeakermonitor_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 int RequiredDelay() { 195 int RequiredDelay() {
196 return acm_->LeastRequiredDelayMs(); 196 return acm_->LeastRequiredDelayMs();
197 } 197 }
198 198
199 std::unique_ptr<AudioCodingModule> acm_; 199 std::unique_ptr<AudioCodingModule> acm_;
200 WebRtcRTPHeader rtp_info_; 200 WebRtcRTPHeader rtp_info_;
201 uint8_t payload_[kPayloadLenBytes]; 201 uint8_t payload_[kPayloadLenBytes];
202 }; 202 };
203 203
204 #if defined(WEBRTC_ANDROID) 204 // Flaky on iOS: webrtc:7057.
205 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
205 #define MAYBE_OutOfRangeInput DISABLED_OutOfRangeInput 206 #define MAYBE_OutOfRangeInput DISABLED_OutOfRangeInput
206 #else 207 #else
207 #define MAYBE_OutOfRangeInput OutOfRangeInput 208 #define MAYBE_OutOfRangeInput OutOfRangeInput
208 #endif 209 #endif
209 TEST_F(TargetDelayTest, MAYBE_OutOfRangeInput) { 210 TEST_F(TargetDelayTest, MAYBE_OutOfRangeInput) {
210 OutOfRangeInput(); 211 OutOfRangeInput();
211 } 212 }
212 213
213 #if defined(WEBRTC_ANDROID) 214 // Flaky on iOS: webrtc:7057.
215 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
214 #define MAYBE_NoTargetDelayBufferSizeChanges \ 216 #define MAYBE_NoTargetDelayBufferSizeChanges \
215 DISABLED_NoTargetDelayBufferSizeChanges 217 DISABLED_NoTargetDelayBufferSizeChanges
216 #else 218 #else
217 #define MAYBE_NoTargetDelayBufferSizeChanges NoTargetDelayBufferSizeChanges 219 #define MAYBE_NoTargetDelayBufferSizeChanges NoTargetDelayBufferSizeChanges
218 #endif 220 #endif
219 TEST_F(TargetDelayTest, MAYBE_NoTargetDelayBufferSizeChanges) { 221 TEST_F(TargetDelayTest, MAYBE_NoTargetDelayBufferSizeChanges) {
220 NoTargetDelayBufferSizeChanges(); 222 NoTargetDelayBufferSizeChanges();
221 } 223 }
222 224
223 #if defined(WEBRTC_ANDROID) 225 // Flaky on iOS: webrtc:7057.
226 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
224 #define MAYBE_WithTargetDelayBufferNotChanging \ 227 #define MAYBE_WithTargetDelayBufferNotChanging \
225 DISABLED_WithTargetDelayBufferNotChanging 228 DISABLED_WithTargetDelayBufferNotChanging
226 #else 229 #else
227 #define MAYBE_WithTargetDelayBufferNotChanging WithTargetDelayBufferNotChanging 230 #define MAYBE_WithTargetDelayBufferNotChanging WithTargetDelayBufferNotChanging
228 #endif 231 #endif
229 TEST_F(TargetDelayTest, MAYBE_WithTargetDelayBufferNotChanging) { 232 TEST_F(TargetDelayTest, MAYBE_WithTargetDelayBufferNotChanging) {
230 WithTargetDelayBufferNotChanging(); 233 WithTargetDelayBufferNotChanging();
231 } 234 }
232 235
233 #if defined(WEBRTC_ANDROID) 236 // Flaky on iOS: webrtc:7057.
237 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
234 #define MAYBE_RequiredDelayAtCorrectRange DISABLED_RequiredDelayAtCorrectRange 238 #define MAYBE_RequiredDelayAtCorrectRange DISABLED_RequiredDelayAtCorrectRange
235 #else 239 #else
236 #define MAYBE_RequiredDelayAtCorrectRange RequiredDelayAtCorrectRange 240 #define MAYBE_RequiredDelayAtCorrectRange RequiredDelayAtCorrectRange
237 #endif 241 #endif
238 TEST_F(TargetDelayTest, MAYBE_RequiredDelayAtCorrectRange) { 242 TEST_F(TargetDelayTest, MAYBE_RequiredDelayAtCorrectRange) {
239 RequiredDelayAtCorrectRange(); 243 RequiredDelayAtCorrectRange();
240 } 244 }
241 245
242 #if defined(WEBRTC_ANDROID) 246 // Flaky on iOS: webrtc:7057.
247 #if defined(WEBRTC_ANDROID) || defined(WEBRTC_IOS)
243 #define MAYBE_TargetDelayBufferMinMax DISABLED_TargetDelayBufferMinMax 248 #define MAYBE_TargetDelayBufferMinMax DISABLED_TargetDelayBufferMinMax
244 #else 249 #else
245 #define MAYBE_TargetDelayBufferMinMax TargetDelayBufferMinMax 250 #define MAYBE_TargetDelayBufferMinMax TargetDelayBufferMinMax
246 #endif 251 #endif
247 TEST_F(TargetDelayTest, MAYBE_TargetDelayBufferMinMax) { 252 TEST_F(TargetDelayTest, MAYBE_TargetDelayBufferMinMax) {
248 TargetDelayBufferMinMax(); 253 TargetDelayBufferMinMax();
249 } 254 }
250 255
251 } // namespace webrtc 256 } // namespace webrtc
252 257
OLDNEW
« no previous file with comments | « no previous file | webrtc/pc/currentspeakermonitor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698