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 #include "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/cancelable_callback.h" | 6 #include "base/cancelable_callback.h" |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 | 484 |
485 // Tests that debugger works correctly if pause event occurs when DevTools | 485 // Tests that debugger works correctly if pause event occurs when DevTools |
486 // frontend is being loaded. | 486 // frontend is being loaded. |
487 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, | 487 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, |
488 TestPauseWhenLoadingDevTools) { | 488 TestPauseWhenLoadingDevTools) { |
489 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); | 489 RunTest("testPauseWhenLoadingDevTools", kPauseWhenLoadingDevTools); |
490 } | 490 } |
491 | 491 |
492 // Tests that pressing 'Pause' will pause script execution if the script | 492 // Tests that pressing 'Pause' will pause script execution if the script |
493 // is already running. | 493 // is already running. |
494 // Timing out on all platforms. http://crbug.com/226862 | 494 #if defined(OS_WIN) |
495 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, | 495 // Timing out on windows tryservers: http://crbug.com/219515 |
496 DISABLED_TestPauseWhenScriptIsRunning) { | 496 #define MAYBE_TestPauseWhenScriptIsRunning DISABLED_TestPauseWhenScriptIsRunning |
| 497 #else |
| 498 #define MAYBE_TestPauseWhenScriptIsRunning TestPauseWhenScriptIsRunning |
| 499 #endif |
| 500 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, MAYBE_TestPauseWhenScriptIsRunning) { |
497 RunTest("testPauseWhenScriptIsRunning", kPauseWhenScriptIsRunning); | 501 RunTest("testPauseWhenScriptIsRunning", kPauseWhenScriptIsRunning); |
498 } | 502 } |
499 | 503 |
500 // Tests network timing. | 504 // Tests network timing. |
501 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkTiming) { | 505 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkTiming) { |
502 RunTest("testNetworkTiming", kSlowTestPage); | 506 RunTest("testNetworkTiming", kSlowTestPage); |
503 } | 507 } |
504 | 508 |
505 // Tests network size. | 509 // Tests network size. |
506 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkSize) { | 510 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestNetworkSize) { |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
637 PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir_); | 641 PathService::Get(chrome::DIR_TEST_DATA, &test_data_dir_); |
638 test_data_dir_ = test_data_dir_.AppendASCII("devtools"); | 642 test_data_dir_ = test_data_dir_.AppendASCII("devtools"); |
639 } | 643 } |
640 }; | 644 }; |
641 | 645 |
642 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { | 646 IN_PROC_BROWSER_TEST_F(RemoteDebuggingTest, RemoteDebugger) { |
643 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; | 647 ASSERT_TRUE(RunExtensionTest("target_list")) << message_; |
644 } | 648 } |
645 | 649 |
646 } // namespace | 650 } // namespace |
OLD | NEW |