| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) { | 125 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) { |
| 126 RunTest("testElementsTreeRoot", kSimplePage); | 126 RunTest("testElementsTreeRoot", kSimplePage); |
| 127 } | 127 } |
| 128 | 128 |
| 129 // Tests main resource load. | 129 // Tests main resource load. |
| 130 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestMainResource) { | 130 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestMainResource) { |
| 131 RunTest("testMainResource", kSimplePage); | 131 RunTest("testMainResource", kSimplePage); |
| 132 } | 132 } |
| 133 | 133 |
| 134 // Tests resources panel enabling. | 134 // Tests resources panel enabling. |
| 135 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEnableResourcesTab) { | 135 // http://crbug.com/16767 |
| 136 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEnableResourcesTab) { |
| 136 RunTest("testEnableResourcesTab", kSimplePage); | 137 RunTest("testEnableResourcesTab", kSimplePage); |
| 137 } | 138 } |
| 138 | 139 |
| 139 // Tests resource headers. | 140 // Tests resource headers. |
| 140 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestResourceHeaders) { | 141 // http://crbug.com/16767 |
| 142 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestResourceHeaders) { |
| 141 RunTest("testResourceHeaders", kDebuggerTestPage); | 143 RunTest("testResourceHeaders", kDebuggerTestPage); |
| 142 } | 144 } |
| 143 | 145 |
| 144 // Tests profiler panel. | 146 // Tests profiler panel. |
| 145 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestProfilerTab) { | 147 // http://crbug.com/16767 |
| 148 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestProfilerTab) { |
| 146 RunTest("testProfilerTab", kJsPage); | 149 RunTest("testProfilerTab", kJsPage); |
| 147 } | 150 } |
| 148 | 151 |
| 149 // Tests scripts panel showing. | 152 // Tests scripts panel showing. |
| 150 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestShowScriptsTab) { | 153 // http://crbug.com/16767 |
| 154 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestShowScriptsTab) { |
| 151 RunTest("testShowScriptsTab", kDebuggerTestPage); | 155 RunTest("testShowScriptsTab", kDebuggerTestPage); |
| 152 } | 156 } |
| 153 | 157 |
| 154 // Tests set breakpoint. | 158 // Tests set breakpoint. |
| 155 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestSetBreakpoint) { | 159 // http://crbug.com/16767 |
| 160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestSetBreakpoint) { |
| 156 RunTest("testSetBreakpoint", kDebuggerTestPage); | 161 RunTest("testSetBreakpoint", kDebuggerTestPage); |
| 157 } | 162 } |
| 158 | 163 |
| 159 // Tests console eval. | 164 // Tests console eval. |
| 160 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { | 165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleEval) { |
| 161 RunTest("testConsoleEval", kConsoleTestPage); | 166 RunTest("testConsoleEval", kConsoleTestPage); |
| 162 } | 167 } |
| 163 | 168 |
| 164 // Tests console log. | 169 // Tests console log. |
| 165 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { | 170 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { |
| 166 RunTest("testConsoleLog", kConsoleTestPage); | 171 RunTest("testConsoleLog", kConsoleTestPage); |
| 167 } | 172 } |
| 168 | 173 |
| 169 // Tests eval global values. | 174 // Tests eval global values. |
| 170 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { | 175 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { |
| 171 RunTest("testEvalGlobal", kEvalTestPage); | 176 RunTest("testEvalGlobal", kEvalTestPage); |
| 172 } | 177 } |
| 173 | 178 |
| 174 // Tests eval on call frame. | 179 // Tests eval on call frame. |
| 175 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalCallFrame) { | 180 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, DISABLED_TestEvalCallFrame) { |
| 176 RunTest("testEvalCallFrame", kEvalTestPage); | 181 RunTest("testEvalCallFrame", kEvalTestPage); |
| 177 } | 182 } |
| 178 | 183 |
| 179 } // namespace | 184 } // namespace |
| OLD | NEW |