| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestResourceHeaders) { | 143 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestResourceHeaders) { |
| 144 RunTest("testResourceHeaders", kResourceTestPage); | 144 RunTest("testResourceHeaders", kResourceTestPage); |
| 145 } | 145 } |
| 146 | 146 |
| 147 // Tests profiler panel. | 147 // Tests profiler panel. |
| 148 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) { | 148 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) { |
| 149 RunTest("testProfilerTab", kJsPage); | 149 RunTest("testProfilerTab", kJsPage); |
| 150 } | 150 } |
| 151 | 151 |
| 152 // Tests scripts panel showing. | 152 // Tests scripts panel showing. |
| 153 // http://crbug.com/16767 | |
| 154 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { | 153 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { |
| 155 RunTest("testShowScriptsTab", kDebuggerTestPage); | 154 RunTest("testShowScriptsTab", kDebuggerTestPage); |
| 156 } | 155 } |
| 157 | 156 |
| 158 // Tests that scripts are not duplicated after Scripts Panel switch. | 157 // Tests that scripts are not duplicated after Scripts Panel switch. |
| 159 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, | 158 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, |
| 160 TestNoScriptDuplicatesOnPanelSwitch) { | 159 TestNoScriptDuplicatesOnPanelSwitch) { |
| 161 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); | 160 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); |
| 162 } | 161 } |
| 163 | 162 |
| 164 // Tests set breakpoint. | 163 // Tests set breakpoint. |
| 165 // http://crbug.com/16767 | |
| 166 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) { | 164 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) { |
| 167 RunTest("testSetBreakpoint", kDebuggerTestPage); | 165 RunTest("testSetBreakpoint", kDebuggerTestPage); |
| 168 } | 166 } |
| 169 | 167 |
| 170 // Tests that 'Pause' button works for eval. | 168 // Tests that 'Pause' button works for eval. |
| 171 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { | 169 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { |
| 172 RunTest("testPauseInEval", kDebuggerTestPage); | 170 RunTest("testPauseInEval", kDebuggerTestPage); |
| 173 } | 171 } |
| 174 | 172 |
| 175 // Tests console eval. | 173 // Tests console eval. |
| 176 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleEval) { | 174 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { |
| 177 RunTest("testConsoleEval", kConsoleTestPage); | 175 RunTest("testConsoleEval", kConsoleTestPage); |
| 178 } | 176 } |
| 179 | 177 |
| 180 // Tests console log. | 178 // Tests console log. |
| 181 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleLog) { | 179 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { |
| 182 RunTest("testConsoleLog", kConsoleTestPage); | 180 RunTest("testConsoleLog", kConsoleTestPage); |
| 183 } | 181 } |
| 184 | 182 |
| 185 // Tests eval global values. | 183 // Tests eval global values. |
| 186 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalGlobal) { | 184 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { |
| 187 RunTest("testEvalGlobal", kEvalTestPage); | 185 RunTest("testEvalGlobal", kEvalTestPage); |
| 188 } | 186 } |
| 189 | 187 |
| 190 // Tests eval on call frame. | 188 // Tests eval on call frame. |
| 191 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalCallFrame) { | 189 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalCallFrame) { |
| 192 RunTest("testEvalCallFrame", kEvalTestPage); | 190 RunTest("testEvalCallFrame", kEvalTestPage); |
| 193 } | 191 } |
| 194 | 192 |
| 195 } // namespace | 193 } // namespace |
| OLD | NEW |