Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: chrome/browser/debugger/devtools_sanity_unittest.cc

Issue 229002: DevTools: added a new test for console evaluation on call frame. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/glue/devtools/js/tests.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, 158 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest,
159 TestNoScriptDuplicatesOnPanelSwitch) { 159 TestNoScriptDuplicatesOnPanelSwitch) {
160 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); 160 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage);
161 } 161 }
162 162
163 // Tests set breakpoint. 163 // Tests set breakpoint.
164 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) { 164 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) {
165 RunTest("testSetBreakpoint", kDebuggerTestPage); 165 RunTest("testSetBreakpoint", kDebuggerTestPage);
166 } 166 }
167 167
168 // Tests eval on call frame.
169 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalOnCallFrame) {
170 RunTest("testEvalOnCallFrame", kDebuggerTestPage);
171 }
172
168 // Tests that 'Pause' button works for eval. 173 // Tests that 'Pause' button works for eval.
169 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { 174 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) {
170 RunTest("testPauseInEval", kDebuggerTestPage); 175 RunTest("testPauseInEval", kDebuggerTestPage);
171 } 176 }
172 177
173 // Tests console eval. 178 // Tests console eval.
174 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { 179 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) {
175 RunTest("testConsoleEval", kConsoleTestPage); 180 RunTest("testConsoleEval", kConsoleTestPage);
176 } 181 }
177 182
178 // Tests console log. 183 // Tests console log.
179 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { 184 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) {
180 RunTest("testConsoleLog", kConsoleTestPage); 185 RunTest("testConsoleLog", kConsoleTestPage);
181 } 186 }
182 187
183 // Tests eval global values. 188 // Tests eval global values.
184 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { 189 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) {
185 RunTest("testEvalGlobal", kEvalTestPage); 190 RunTest("testEvalGlobal", kEvalTestPage);
186 } 191 }
187 192
188 // Tests eval on call frame.
189 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalCallFrame) {
190 RunTest("testEvalCallFrame", kEvalTestPage);
191 }
192
193 } // namespace 193 } // namespace
OLDNEW
« no previous file with comments | « no previous file | webkit/glue/devtools/js/tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698