| 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 // Tests profiler panel. | 144 // Tests profiler panel. |
| 145 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) { | 145 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) { |
| 146 RunTest("testProfilerTab", kJsPage); | 146 RunTest("testProfilerTab", kJsPage); |
| 147 } | 147 } |
| 148 | 148 |
| 149 // Tests scripts panel showing. | 149 // Tests scripts panel showing. |
| 150 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { | 150 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { |
| 151 RunTest("testShowScriptsTab", kDebuggerTestPage); | 151 RunTest("testShowScriptsTab", kDebuggerTestPage); |
| 152 } | 152 } |
| 153 | 153 |
| 154 // Tests set breakpoint. |
| 155 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) { |
| 156 RunTest("testSetBreakpoint", kDebuggerTestPage); |
| 157 } |
| 158 |
| 154 // Tests console eval. | 159 // Tests console eval. |
| 155 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { | 160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { |
| 156 RunTest("testConsoleEval", kConsoleTestPage); | 161 RunTest("testConsoleEval", kConsoleTestPage); |
| 157 } | 162 } |
| 158 | 163 |
| 159 // Tests console log. | 164 // Tests console log. |
| 160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { | 165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { |
| 161 RunTest("testConsoleLog", kConsoleTestPage); | 166 RunTest("testConsoleLog", kConsoleTestPage); |
| 162 } | 167 } |
| 163 | 168 |
| 164 // Tests eval global values. | 169 // Tests eval global values. |
| 165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { | 170 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { |
| 166 RunTest("testEvalGlobal", kEvalTestPage); | 171 RunTest("testEvalGlobal", kEvalTestPage); |
| 167 } | 172 } |
| 168 | 173 |
| 169 // Tests eval on call frame. | 174 // Tests eval on call frame. |
| 170 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalCallFrame) { | 175 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalCallFrame) { |
| 171 RunTest("testEvalCallFrame", kEvalTestPage); | 176 RunTest("testEvalCallFrame", kEvalTestPage); |
| 172 } | 177 } |
| 173 | 178 |
| 174 } // namespace | 179 } // namespace |
| OLD | NEW |