OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/browser/plugin_service.h" | 9 #include "content/browser/plugin_service.h" |
10 #include "content/public/common/content_switches.h" | 10 #include "content/public/common/content_switches.h" |
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
508 #define MAYBE_FlashFullscreen DISABLED_FlashFullscreen | 508 #define MAYBE_FlashFullscreen DISABLED_FlashFullscreen |
509 #endif | 509 #endif |
510 | 510 |
511 TEST_F(PPAPITest, MAYBE_FlashFullscreen) { | 511 TEST_F(PPAPITest, MAYBE_FlashFullscreen) { |
512 RunTestViaHTTP("FlashFullscreen"); | 512 RunTestViaHTTP("FlashFullscreen"); |
513 } | 513 } |
514 TEST_F(OutOfProcessPPAPITest, MAYBE_FlashFullscreen) { | 514 TEST_F(OutOfProcessPPAPITest, MAYBE_FlashFullscreen) { |
515 RunTestViaHTTP("FlashFullscreen"); | 515 RunTestViaHTTP("FlashFullscreen"); |
516 } | 516 } |
517 | 517 |
518 // Fullscreen test fails on Mac. | 518 // Fullscreen test fails on Mac. |
Sergey Ulanov
2011/12/09 01:49:22
1. Comment is not correct now.
2. Is there a bug f
| |
519 #if defined(OS_MACOSX) | 519 #if defined(OS_MACOSX) || defined(OS_CHROMEOS) |
520 #define MAYBE_Fullscreen FAILS_Fullscreen | 520 #define MAYBE_Fullscreen FAILS_Fullscreen |
521 #else | 521 #else |
522 #define MAYBE_Fullscreen Fullscreen | 522 #define MAYBE_Fullscreen Fullscreen |
523 #endif | 523 #endif |
524 | 524 |
525 // TODO(bbudge) Fix fullscreen on Mac. | 525 // TODO(bbudge) Fix fullscreen on Mac. |
526 TEST_PPAPI_IN_PROCESS_VIA_HTTP(MAYBE_Fullscreen) | 526 TEST_PPAPI_IN_PROCESS_VIA_HTTP(MAYBE_Fullscreen) |
527 // TODO(bbudge) Will fail until we add an ACK message to extend user gesture. | 527 // TODO(bbudge) Will fail until we add an ACK message to extend user gesture. |
528 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FAILS_Fullscreen) | 528 TEST_PPAPI_OUT_OF_PROCESS_VIA_HTTP(FAILS_Fullscreen) |
529 // TODO(bbudge) Enable when PPB_Testing_Dev SimulateInputEvent is proxied. | 529 // TODO(bbudge) Enable when PPB_Testing_Dev SimulateInputEvent is proxied. |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
604 TEST_PPAPI_OUT_OF_PROCESS(AudioConfig_InvalidConfigs) | 604 TEST_PPAPI_OUT_OF_PROCESS(AudioConfig_InvalidConfigs) |
605 | 605 |
606 TEST_PPAPI_IN_PROCESS(Audio_Creation) | 606 TEST_PPAPI_IN_PROCESS(Audio_Creation) |
607 TEST_PPAPI_IN_PROCESS(Audio_DestroyNoStop) | 607 TEST_PPAPI_IN_PROCESS(Audio_DestroyNoStop) |
608 TEST_PPAPI_IN_PROCESS(Audio_Failures) | 608 TEST_PPAPI_IN_PROCESS(Audio_Failures) |
609 TEST_PPAPI_OUT_OF_PROCESS(Audio_Creation) | 609 TEST_PPAPI_OUT_OF_PROCESS(Audio_Creation) |
610 TEST_PPAPI_OUT_OF_PROCESS(Audio_DestroyNoStop) | 610 TEST_PPAPI_OUT_OF_PROCESS(Audio_DestroyNoStop) |
611 TEST_PPAPI_OUT_OF_PROCESS(Audio_Failures) | 611 TEST_PPAPI_OUT_OF_PROCESS(Audio_Failures) |
612 | 612 |
613 #endif // ADDRESS_SANITIZER | 613 #endif // ADDRESS_SANITIZER |
OLD | NEW |