| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/files/file_path.h" | 5 #include "base/files/file_path.h" |
| 6 #include "base/location.h" | 6 #include "base/location.h" |
| 7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 8 #include "base/single_thread_task_runner.h" | 8 #include "base/single_thread_task_runner.h" |
| 9 #include "base/strings/string_number_conversions.h" | 9 #include "base/strings/string_number_conversions.h" |
| 10 #include "base/threading/thread_task_runner_handle.h" | 10 #include "base/threading/thread_task_runner_handle.h" |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 RunExtensionSubtest("automation/tests/tabs", "queryselector.html")) | 265 RunExtensionSubtest("automation/tests/tabs", "queryselector.html")) |
| 266 << message_; | 266 << message_; |
| 267 } | 267 } |
| 268 | 268 |
| 269 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Find) { | 269 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Find) { |
| 270 StartEmbeddedTestServer(); | 270 StartEmbeddedTestServer(); |
| 271 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "find.html")) | 271 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "find.html")) |
| 272 << message_; | 272 << message_; |
| 273 } | 273 } |
| 274 | 274 |
| 275 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Attributes) { | 275 // TODO(crbug.com/725420) Flaky |
| 276 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DISABLED_Attributes) { |
| 276 StartEmbeddedTestServer(); | 277 StartEmbeddedTestServer(); |
| 277 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "attributes.html")) | 278 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "attributes.html")) |
| 278 << message_; | 279 << message_; |
| 279 } | 280 } |
| 280 | 281 |
| 281 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TreeChange) { | 282 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TreeChange) { |
| 282 StartEmbeddedTestServer(); | 283 StartEmbeddedTestServer(); |
| 283 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "tree_change.html")) | 284 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "tree_change.html")) |
| 284 << message_; | 285 << message_; |
| 285 } | 286 } |
| 286 | 287 |
| 287 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { | 288 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { |
| 288 StartEmbeddedTestServer(); | 289 StartEmbeddedTestServer(); |
| 289 ASSERT_TRUE( | 290 ASSERT_TRUE( |
| 290 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) | 291 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) |
| 291 << message_; | 292 << message_; |
| 292 } | 293 } |
| 293 | 294 |
| 294 IN_PROC_BROWSER_TEST_F(AutomationApiTest, HitTest) { | 295 IN_PROC_BROWSER_TEST_F(AutomationApiTest, HitTest) { |
| 295 StartEmbeddedTestServer(); | 296 StartEmbeddedTestServer(); |
| 296 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "hit_test.html")) | 297 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "hit_test.html")) |
| 297 << message_; | 298 << message_; |
| 298 } | 299 } |
| 299 | 300 |
| 300 } // namespace extensions | 301 } // namespace extensions |
| OLD | NEW |