| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/browser/browser.h" | 6 #include "chrome/browser/browser.h" |
| 7 #include "chrome/browser/debugger/devtools_client_host.h" | 7 #include "chrome/browser/debugger/devtools_client_host.h" |
| 8 #include "chrome/browser/debugger/devtools_manager.h" | 8 #include "chrome/browser/debugger/devtools_manager.h" |
| 9 #include "chrome/browser/debugger/devtools_window.h" | 9 #include "chrome/browser/debugger/devtools_window.h" |
| 10 #include "chrome/browser/renderer_host/render_view_host.h" | 10 #include "chrome/browser/renderer_host/render_view_host.h" |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDebugIntrinsicProperties) { | 206 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestDebugIntrinsicProperties) { |
| 207 RunTest("testDebugIntrinsicProperties", kDebuggerIntrinsicPropertiesPage); | 207 RunTest("testDebugIntrinsicProperties", kDebuggerIntrinsicPropertiesPage); |
| 208 } | 208 } |
| 209 | 209 |
| 210 // Tests that execution continues automatically when there is a syntax error in | 210 // Tests that execution continues automatically when there is a syntax error in |
| 211 // script and DevTools are open. | 211 // script and DevTools are open. |
| 212 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestAutoContinueOnSyntaxError) { | 212 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestAutoContinueOnSyntaxError) { |
| 213 RunTest("testAutoContinueOnSyntaxError", kSyntaxErrorTestPage); | 213 RunTest("testAutoContinueOnSyntaxError", kSyntaxErrorTestPage); |
| 214 } | 214 } |
| 215 | 215 |
| 216 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestCompletionOnPause) { | 216 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestCompletionOnPause) { |
| 217 RunTest("testCompletionOnPause", kCompletionOnPause); | 217 RunTest("testCompletionOnPause", kCompletionOnPause); |
| 218 } | 218 } |
| 219 | 219 |
| 220 // Tests that 'Pause' button works for eval. | 220 // Tests that 'Pause' button works for eval. |
| 221 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { | 221 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { |
| 222 RunTest("testPauseInEval", kDebuggerTestPage); | 222 RunTest("testPauseInEval", kDebuggerTestPage); |
| 223 } | 223 } |
| 224 | 224 |
| 225 // Tests console eval. | 225 // Tests console eval. |
| 226 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { | 226 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { |
| 227 RunTest("testConsoleEval", kConsoleTestPage); | 227 RunTest("testConsoleEval", kConsoleTestPage); |
| 228 } | 228 } |
| 229 | 229 |
| 230 // Tests console log. | 230 // Tests console log. |
| 231 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { | 231 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { |
| 232 RunTest("testConsoleLog", kConsoleTestPage); | 232 RunTest("testConsoleLog", kConsoleTestPage); |
| 233 } | 233 } |
| 234 | 234 |
| 235 // Tests eval global values. | 235 // Tests eval global values. |
| 236 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { | 236 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { |
| 237 RunTest("testEvalGlobal", kEvalTestPage); | 237 RunTest("testEvalGlobal", kEvalTestPage); |
| 238 } | 238 } |
| 239 | 239 |
| 240 } // namespace | 240 } // namespace |
| OLD | NEW |