OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 // | 4 // |
5 // Regression tests for FFmpeg. Security test files can be found in the | 5 // Regression tests for FFmpeg. Security test files can be found in the |
6 // internal media test data directory: | 6 // internal media test data directory: |
7 // | 7 // |
8 // svn://svn.chromium.org/chrome-internal/trunk/data/media/security/ | 8 // svn://svn.chromium.org/chrome-internal/trunk/data/media/security/ |
9 // | 9 // |
10 // Simply add the custom_dep below to your gclient and sync: | 10 // Simply add the custom_dep below to your gclient and sync: |
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
316 kNullVideoHash, kNullAudioHash); | 316 kNullVideoHash, kNullAudioHash); |
317 FLAKY_FFMPEG_TEST_CASE(BIG_MEM_3, "security/looping3.mov"); | 317 FLAKY_FFMPEG_TEST_CASE(BIG_MEM_3, "security/looping3.mov"); |
318 FLAKY_FFMPEG_TEST_CASE(BIG_MEM_4, "security/looping4.mov"); | 318 FLAKY_FFMPEG_TEST_CASE(BIG_MEM_4, "security/looping4.mov"); |
319 | 319 |
320 // Flaky under threading or for other reasons. Per rbultje, most of these will | 320 // Flaky under threading or for other reasons. Per rbultje, most of these will |
321 // never be reliable since FFmpeg does not guarantee consistency in error cases. | 321 // never be reliable since FFmpeg does not guarantee consistency in error cases. |
322 // We only really care that these don't cause crashes or errors under tooling. | 322 // We only really care that these don't cause crashes or errors under tooling. |
323 FLAKY_FFMPEG_TEST_CASE(Cr99652, "security/99652.webm"); | 323 FLAKY_FFMPEG_TEST_CASE(Cr99652, "security/99652.webm"); |
324 FLAKY_FFMPEG_TEST_CASE(Cr100464, "security/100464.webm"); | 324 FLAKY_FFMPEG_TEST_CASE(Cr100464, "security/100464.webm"); |
325 FLAKY_FFMPEG_TEST_CASE(Cr111342, "security/111342.ogm"); | 325 FLAKY_FFMPEG_TEST_CASE(Cr111342, "security/111342.ogm"); |
| 326 FLAKY_FFMPEG_TEST_CASE(Cr368980, "security/368980.mp4"); |
326 FLAKY_FFMPEG_TEST_CASE(OGV_0, "security/big_dims.ogv"); | 327 FLAKY_FFMPEG_TEST_CASE(OGV_0, "security/big_dims.ogv"); |
327 FLAKY_FFMPEG_TEST_CASE(OGV_3, "security/smclock_1_0.ogv"); | 328 FLAKY_FFMPEG_TEST_CASE(OGV_3, "security/smclock_1_0.ogv"); |
328 FLAKY_FFMPEG_TEST_CASE(OGV_4, "security/smclock.ogv.1.0.ogv"); | 329 FLAKY_FFMPEG_TEST_CASE(OGV_4, "security/smclock.ogv.1.0.ogv"); |
329 FLAKY_FFMPEG_TEST_CASE(OGV_6, "security/smclocktheora_1_10000.ogv"); | 330 FLAKY_FFMPEG_TEST_CASE(OGV_6, "security/smclocktheora_1_10000.ogv"); |
330 FLAKY_FFMPEG_TEST_CASE(OGV_13, "security/smclocktheora_1_790.ogv"); | 331 FLAKY_FFMPEG_TEST_CASE(OGV_13, "security/smclocktheora_1_790.ogv"); |
331 FLAKY_FFMPEG_TEST_CASE(MP4_3, "security/clockh264aac_300413969.mp4"); | 332 FLAKY_FFMPEG_TEST_CASE(MP4_3, "security/clockh264aac_300413969.mp4"); |
332 FLAKY_FFMPEG_TEST_CASE(MP4_4, "security/clockh264aac_301350139.mp4"); | 333 FLAKY_FFMPEG_TEST_CASE(MP4_4, "security/clockh264aac_301350139.mp4"); |
333 FLAKY_FFMPEG_TEST_CASE(MP4_12, "security/assert1.mov"); | 334 FLAKY_FFMPEG_TEST_CASE(MP4_12, "security/assert1.mov"); |
334 // Not really flaky, but can't pass the seek test. | 335 // Not really flaky, but can't pass the seek test. |
335 FLAKY_FFMPEG_TEST_CASE(MP4_10, "security/null1.m4a"); | 336 FLAKY_FFMPEG_TEST_CASE(MP4_10, "security/null1.m4a"); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 } | 387 } |
387 | 388 |
388 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) { | 389 TEST_P(FlakyFFmpegRegressionTest, BasicPlayback) { |
389 if (Start(GetTestDataFilePath(GetParam().filename))) { | 390 if (Start(GetTestDataFilePath(GetParam().filename))) { |
390 Play(); | 391 Play(); |
391 WaitUntilEndedOrError(); | 392 WaitUntilEndedOrError(); |
392 } | 393 } |
393 } | 394 } |
394 | 395 |
395 } // namespace media | 396 } // namespace media |
OLD | NEW |