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/extensions/extensions_service.h" | 10 #include "chrome/browser/extensions/extensions_service.h" |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 break; | 243 break; |
244 default: | 244 default: |
245 NOTREACHED(); | 245 NOTREACHED(); |
246 break; | 246 break; |
247 } | 247 } |
248 } | 248 } |
249 | 249 |
250 FilePath test_extensions_dir_; | 250 FilePath test_extensions_dir_; |
251 }; | 251 }; |
252 | 252 |
253 | |
254 // Disable all tests on linux: crbug.com/26540 | |
255 #ifndef OS_LINUX | |
256 | |
257 // WebInspector opens. | 253 // WebInspector opens. |
258 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) { | 254 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestHostIsPresent) { |
259 RunTest("testHostIsPresent", kSimplePage); | 255 RunTest("testHostIsPresent", kSimplePage); |
260 } | 256 } |
261 | 257 |
262 // Tests elements panel basics. | 258 // Tests elements panel basics. |
263 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) { | 259 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestElementsTreeRoot) { |
264 RunTest("testElementsTreeRoot", kSimplePage); | 260 RunTest("testElementsTreeRoot", kSimplePage); |
265 } | 261 } |
266 | 262 |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 | 375 |
380 // Tests console log. | 376 // Tests console log. |
381 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { | 377 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestConsoleLog) { |
382 RunTest("testConsoleLog", kConsoleTestPage); | 378 RunTest("testConsoleLog", kConsoleTestPage); |
383 } | 379 } |
384 | 380 |
385 // Tests eval global values. | 381 // Tests eval global values. |
386 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { | 382 IN_PROC_BROWSER_TEST_F(DevToolsSanityTest, TestEvalGlobal) { |
387 RunTest("testEvalGlobal", kEvalTestPage); | 383 RunTest("testEvalGlobal", kEvalTestPage); |
388 } | 384 } |
389 #endif // ndef OS_LINUX | |
390 | 385 |
391 } // namespace | 386 } // namespace |
OLD | NEW |