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

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

Issue 257049: Temporarily disable the dev tools unit tests. They were broken by the webkit... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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 | no next file » | 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 DevToolsWindow* window_; 125 DevToolsWindow* window_;
126 RenderViewHost* inspected_rvh_; 126 RenderViewHost* inspected_rvh_;
127 }; 127 };
128 128
129 // WebInspector opens. 129 // WebInspector opens.
130 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) { 130 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) {
131 RunTest("testHostIsPresent", kSimplePage); 131 RunTest("testHostIsPresent", kSimplePage);
132 } 132 }
133 133
134 // Tests elements panel basics. 134 // Tests elements panel basics.
135 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) { 135 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestElementsTreeRoot) {
136 RunTest("testElementsTreeRoot", kSimplePage); 136 RunTest("testElementsTreeRoot", kSimplePage);
137 } 137 }
138 138
139 // Tests main resource load. 139 // Tests main resource load.
140 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestMainResource) { 140 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestMainResource) {
141 RunTest("testMainResource", kSimplePage); 141 RunTest("testMainResource", kSimplePage);
142 } 142 }
143 143
144 // Tests resources panel enabling. 144 // Tests resources panel enabling.
145 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEnableResourcesTab) { 145 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEnableResourcesTab) {
146 RunTest("testEnableResourcesTab", kSimplePage); 146 RunTest("testEnableResourcesTab", kSimplePage);
147 } 147 }
148 148
149 // Tests resource headers. 149 // Tests resource headers.
150 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestResourceHeaders) { 150 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestResourceHeaders) {
151 RunTest("testResourceHeaders", kResourceTestPage); 151 RunTest("testResourceHeaders", kResourceTestPage);
152 } 152 }
153 153
154 // Tests profiler panel. 154 // Tests profiler panel.
155 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) { 155 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestProfilerTab) {
156 RunTest("testProfilerTab", kJsPage); 156 RunTest("testProfilerTab", kJsPage);
157 } 157 }
158 158
159 // Tests scripts panel showing. 159 // Tests scripts panel showing.
160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { 160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestShowScriptsTab) {
161 RunTest("testShowScriptsTab", kDebuggerTestPage); 161 RunTest("testShowScriptsTab", kDebuggerTestPage);
162 } 162 }
163 163
164 // Tests that scripts are not duplicated after Scripts Panel switch. 164 // Tests that scripts are not duplicated after Scripts Panel switch.
165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, 165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest,
166 TestNoScriptDuplicatesOnPanelSwitch) { 166 DISABLED_TestNoScriptDuplicatesOnPanelSwitch) {
167 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage); 167 RunTest("testNoScriptDuplicatesOnPanelSwitch", kDebuggerTestPage);
168 } 168 }
169 169
170 // Tests set breakpoint. 170 // Tests set breakpoint.
171 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) { 171 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestSetBreakpoint) {
172 RunTest("testSetBreakpoint", kDebuggerTestPage); 172 RunTest("testSetBreakpoint", kDebuggerTestPage);
173 } 173 }
174 174
175 // Tests eval on call frame. 175 // Tests eval on call frame.
176 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalOnCallFrame) { 176 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalOnCallFrame) {
177 RunTest("testEvalOnCallFrame", kDebuggerTestPage); 177 RunTest("testEvalOnCallFrame", kDebuggerTestPage);
178 } 178 }
179 179
180 // Tests step over functionality in the debugger. 180 // Tests step over functionality in the debugger.
181 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestStepOver) { 181 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestStepOver) {
182 RunTest("testStepOver", kDebuggerStepTestPage); 182 RunTest("testStepOver", kDebuggerStepTestPage);
183 } 183 }
184 184
185 // Tests step out functionality in the debugger. 185 // Tests step out functionality in the debugger.
186 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestStepOut) { 186 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestStepOut) {
187 RunTest("testStepOut", kDebuggerStepTestPage); 187 RunTest("testStepOut", kDebuggerStepTestPage);
188 } 188 }
189 189
190 // Tests step in functionality in the debugger. 190 // Tests step in functionality in the debugger.
191 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestStepIn) { 191 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestStepIn) {
192 RunTest("testStepIn", kDebuggerStepTestPage); 192 RunTest("testStepIn", kDebuggerStepTestPage);
193 } 193 }
194 194
195 // Tests that scope can be expanded and contains expected variables. 195 // Tests that scope can be expanded and contains expected variables.
196 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestExpandScope) { 196 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestExpandScope) {
197 RunTest("testExpandScope", kDebuggerClosurePage); 197 RunTest("testExpandScope", kDebuggerClosurePage);
198 } 198 }
199 199
200 // Tests that execution continues automatically when there is a syntax error in 200 // Tests that execution continues automatically when there is a syntax error in
201 // script and DevTools are open. 201 // script and DevTools are open.
202 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestAutoContinueOnSyntaxError) { 202 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestAutoContinueOnSyntaxErro r) {
203 RunTest("testAutoContinueOnSyntaxError", kSyntaxErrorTestPage); 203 RunTest("testAutoContinueOnSyntaxError", kSyntaxErrorTestPage);
204 } 204 }
205 205
206 // Tests that 'Pause' button works for eval. 206 // Tests that 'Pause' button works for eval.
207 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { 207 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) {
208 RunTest("testPauseInEval", kDebuggerTestPage); 208 RunTest("testPauseInEval", kDebuggerTestPage);
209 } 209 }
210 210
211 // Tests console eval. 211 // Tests console eval.
212 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { 212 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleEval) {
213 RunTest("testConsoleEval", kConsoleTestPage); 213 RunTest("testConsoleEval", kConsoleTestPage);
214 } 214 }
215 215
216 // Tests console log. 216 // Tests console log.
217 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { 217 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleLog) {
218 RunTest("testConsoleLog", kConsoleTestPage); 218 RunTest("testConsoleLog", kConsoleTestPage);
219 } 219 }
220 220
221 // Tests eval global values. 221 // Tests eval global values.
222 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { 222 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalGlobal) {
223 RunTest("testEvalGlobal", kEvalTestPage); 223 RunTest("testEvalGlobal", kEvalTestPage);
224 } 224 }
225 225
226 } // namespace 226 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698