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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 DevToolsWindow* window_; | 118 DevToolsWindow* window_; |
119 RenderViewHost* inspected_rvh_; | 119 RenderViewHost* inspected_rvh_; |
120 }; | 120 }; |
121 | 121 |
122 // WebInspector opens. | 122 // WebInspector opens. |
123 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) { | 123 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) { |
124 RunTest("testHostIsPresent", kSimplePage); | 124 RunTest("testHostIsPresent", kSimplePage); |
125 } | 125 } |
126 | 126 |
127 // Tests elements panel basics. | 127 // Tests elements panel basics. |
128 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestElementsTreeRoot) { | 128 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) { |
129 RunTest("testElementsTreeRoot", kSimplePage); | 129 RunTest("testElementsTreeRoot", kSimplePage); |
130 } | 130 } |
131 | 131 |
132 // Tests main resource load. | 132 // Tests main resource load. |
133 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestMainResource) { | 133 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestMainResource) { |
134 RunTest("testMainResource", kSimplePage); | 134 RunTest("testMainResource", kSimplePage); |
135 } | 135 } |
136 | 136 |
137 // Tests resources panel enabling. | 137 // Tests resources panel enabling. |
138 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEnableResourcesTab) { | 138 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEnableResourcesTab) { |
139 RunTest("testEnableResourcesTab", kSimplePage); | 139 RunTest("testEnableResourcesTab", kSimplePage); |
140 } | 140 } |
141 | 141 |
142 // Tests resource headers. | 142 // Tests resource headers. |
143 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestResourceHeaders) { | 143 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, 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, DISABLED_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 | 153 // http://crbug.com/16767 |
154 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestShowScriptsTab) { | 154 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { |
155 RunTest("testShowScriptsTab", kDebuggerTestPage); | 155 RunTest("testShowScriptsTab", kDebuggerTestPage); |
156 } | 156 } |
157 | 157 |
158 // Tests set breakpoint. | 158 // Tests set breakpoint. |
159 // http://crbug.com/16767 | 159 // http://crbug.com/16767 |
160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestSetBreakpoint) { | 160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) { |
161 RunTest("testSetBreakpoint", kDebuggerTestPage); | 161 RunTest("testSetBreakpoint", kDebuggerTestPage); |
162 } | 162 } |
163 | 163 |
164 // Tests that 'Pause' button works for eval. | 164 // Tests that 'Pause' button works for eval. |
165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { | 165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestPauseInEval) { |
166 RunTest("testPauseInEval", kDebuggerTestPage); | 166 RunTest("testPauseInEval", kDebuggerTestPage); |
167 } | 167 } |
168 | 168 |
169 // Tests console eval. | 169 // Tests console eval. |
170 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleEval) { | 170 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { |
171 RunTest("testConsoleEval", kConsoleTestPage); | 171 RunTest("testConsoleEval", kConsoleTestPage); |
172 } | 172 } |
173 | 173 |
174 // Tests console log. | 174 // Tests console log. |
175 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestConsoleLog) { | 175 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { |
176 RunTest("testConsoleLog", kConsoleTestPage); | 176 RunTest("testConsoleLog", kConsoleTestPage); |
177 } | 177 } |
178 | 178 |
179 // Tests eval global values. | 179 // Tests eval global values. |
180 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalGlobal) { | 180 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { |
181 RunTest("testEvalGlobal", kEvalTestPage); | 181 RunTest("testEvalGlobal", kEvalTestPage); |
182 } | 182 } |
183 | 183 |
184 // Tests eval on call frame. | 184 // Tests eval on call frame. |
185 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalCallFrame) { | 185 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalCallFrame) { |
186 RunTest("testEvalCallFrame", kEvalTestPage); | 186 RunTest("testEvalCallFrame", kEvalTestPage); |
187 } | 187 } |
188 | 188 |
189 } // namespace | 189 } // namespace |
OLD | NEW |