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

Side by Side Diff: chrome/browser/media/encrypted_media_browsertest.cc

Issue 1275833002: Disable flaky EncryptedMediaTest tests on Windows which are blocking the commit queue. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/path_service.h" 7 #include "base/path_service.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "base/win/windows_version.h" 9 #include "base/win/windows_version.h"
10 #include "chrome/browser/media/media_browsertest.h" 10 #include "chrome/browser/media/media_browsertest.h"
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 Values(SRC), 527 Values(SRC),
528 Values(PREFIXED))); 528 Values(PREFIXED)));
529 529
530 INSTANTIATE_TEST_CASE_P(SRC_ClearKey, 530 INSTANTIATE_TEST_CASE_P(SRC_ClearKey,
531 EncryptedMediaTest, 531 EncryptedMediaTest,
532 Combine(Values(kClearKeyKeySystem), 532 Combine(Values(kClearKeyKeySystem),
533 Values(SRC), 533 Values(SRC),
534 Values(UNPREFIXED))); 534 Values(UNPREFIXED)));
535 #endif // !defined(OS_ANDROID) 535 #endif // !defined(OS_ANDROID)
536 536
537 #if !defined(OS_WIN) || defined(NDEBUG) 537 #if !defined(OS_WIN)
538 // Tests flaky on Win 7 dbg. http://crbug.com/517018 538 // Tests flaky on Win 7 dbg. http://crbug.com/517018
539 INSTANTIATE_TEST_CASE_P(MSE_ClearKey_Prefixed, 539 INSTANTIATE_TEST_CASE_P(MSE_ClearKey_Prefixed,
540 EncryptedMediaTest, 540 EncryptedMediaTest,
541 Combine(Values(kPrefixedClearKeyKeySystem), 541 Combine(Values(kPrefixedClearKeyKeySystem),
542 Values(MSE), 542 Values(MSE),
543 Values(PREFIXED))); 543 Values(PREFIXED)));
544 INSTANTIATE_TEST_CASE_P(MSE_ClearKey, 544 INSTANTIATE_TEST_CASE_P(MSE_ClearKey,
545 EncryptedMediaTest, 545 EncryptedMediaTest,
546 Combine(Values(kClearKeyKeySystem), 546 Combine(Values(kClearKeyKeySystem),
547 Values(MSE), 547 Values(MSE),
548 Values(UNPREFIXED))); 548 Values(UNPREFIXED)));
549 #endif // !defined(OS_WIN) || defined(NDEBUG) 549 #endif // !defined(OS_WIN)
550 550
551 // External Clear Key is currently only used on platforms that use Pepper CDMs. 551 // External Clear Key is currently only used on platforms that use Pepper CDMs.
552 #if defined(ENABLE_PEPPER_CDMS) 552 #if defined(ENABLE_PEPPER_CDMS)
553 INSTANTIATE_TEST_CASE_P(SRC_ExternalClearKey_Prefixed, 553 INSTANTIATE_TEST_CASE_P(SRC_ExternalClearKey_Prefixed,
554 EncryptedMediaTest, 554 EncryptedMediaTest,
555 Combine(Values(kExternalClearKeyKeySystem), 555 Combine(Values(kExternalClearKeyKeySystem),
556 Values(SRC), 556 Values(SRC),
557 Values(PREFIXED))); 557 Values(PREFIXED)));
558 INSTANTIATE_TEST_CASE_P(SRC_ExternalClearKey, 558 INSTANTIATE_TEST_CASE_P(SRC_ExternalClearKey,
559 EncryptedMediaTest, 559 EncryptedMediaTest,
560 Combine(Values(kExternalClearKeyKeySystem), 560 Combine(Values(kExternalClearKeyKeySystem),
561 Values(SRC), 561 Values(SRC),
562 Values(UNPREFIXED))); 562 Values(UNPREFIXED)));
563 #if !defined(OS_WIN) || defined(NDEBUG) 563 #if !defined(OS_WIN)
564 // Tests flaky on Win 7 dbg. http://crbug.com/517018 564 // Tests flaky on Win 7 dbg. http://crbug.com/517018
565 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKey_Prefixed, 565 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKey_Prefixed,
566 EncryptedMediaTest, 566 EncryptedMediaTest,
567 Combine(Values(kExternalClearKeyKeySystem), 567 Combine(Values(kExternalClearKeyKeySystem),
568 Values(MSE), 568 Values(MSE),
569 Values(PREFIXED))); 569 Values(PREFIXED)));
570 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKey, 570 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKey,
571 EncryptedMediaTest, 571 EncryptedMediaTest,
572 Combine(Values(kExternalClearKeyKeySystem), 572 Combine(Values(kExternalClearKeyKeySystem),
573 Values(MSE), 573 Values(MSE),
574 Values(UNPREFIXED))); 574 Values(UNPREFIXED)));
575 // To reduce test time, only run ExternalClearKeyDecryptOnly with MSE. 575 // To reduce test time, only run ExternalClearKeyDecryptOnly with MSE.
576 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKeyDecryptOnly_Prefixed, 576 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKeyDecryptOnly_Prefixed,
577 EncryptedMediaTest, 577 EncryptedMediaTest,
578 Combine(Values(kExternalClearKeyDecryptOnlyKeySystem), 578 Combine(Values(kExternalClearKeyDecryptOnlyKeySystem),
579 Values(MSE), 579 Values(MSE),
580 Values(PREFIXED))); 580 Values(PREFIXED)));
581 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKeyDecryptOnly, 581 INSTANTIATE_TEST_CASE_P(MSE_ExternalClearKeyDecryptOnly,
582 EncryptedMediaTest, 582 EncryptedMediaTest,
583 Combine(Values(kExternalClearKeyDecryptOnlyKeySystem), 583 Combine(Values(kExternalClearKeyDecryptOnlyKeySystem),
584 Values(MSE), 584 Values(MSE),
585 Values(UNPREFIXED))); 585 Values(UNPREFIXED)));
586 #endif // !defined(OS_WIN) || defined(NDEBUG) 586 #endif // !defined(OS_WIN)
587 #endif // defined(ENABLE_PEPPER_CDMS) 587 #endif // defined(ENABLE_PEPPER_CDMS)
588 588
589 #if defined(WIDEVINE_CDM_AVAILABLE) 589 #if defined(WIDEVINE_CDM_AVAILABLE)
590 590
591 // Prefixed Widevine tests fail in Chrome OS official builds due to the request 591 // Prefixed Widevine tests fail in Chrome OS official builds due to the request
592 // for permissions. Since prefixed EME is deprecated and will be removed soon, 592 // for permissions. Since prefixed EME is deprecated and will be removed soon,
593 // don't run these tests. http://crbug.com/430711 593 // don't run these tests. http://crbug.com/430711
594 #if !(defined(OS_CHROMEOS) && defined(OFFICIAL_BUILD)) 594 #if !(defined(OS_CHROMEOS) && defined(OFFICIAL_BUILD))
595 595
596 // This test doesn't fully test playback with Widevine. So we only run Widevine 596 // This test doesn't fully test playback with Widevine. So we only run Widevine
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 } 841 }
842 842
843 IN_PROC_BROWSER_TEST_F(ECKPrefixedEncryptedMediaTest, LoadLoadableSession) { 843 IN_PROC_BROWSER_TEST_F(ECKPrefixedEncryptedMediaTest, LoadLoadableSession) {
844 TestPlaybackCase(kLoadableSession, kEnded); 844 TestPlaybackCase(kLoadableSession, kEnded);
845 } 845 }
846 846
847 IN_PROC_BROWSER_TEST_F(ECKPrefixedEncryptedMediaTest, LoadUnknownSession) { 847 IN_PROC_BROWSER_TEST_F(ECKPrefixedEncryptedMediaTest, LoadUnknownSession) {
848 TestPlaybackCase(kUnknownSession, kPrefixedEmeErrorEvent); 848 TestPlaybackCase(kUnknownSession, kPrefixedEmeErrorEvent);
849 } 849 }
850 #endif // defined(ENABLE_PEPPER_CDMS) 850 #endif // defined(ENABLE_PEPPER_CDMS)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698