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