| 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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "actions.html")) | 118 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "actions.html")) |
| 119 << message_; | 119 << message_; |
| 120 } | 120 } |
| 121 | 121 |
| 122 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Location) { | 122 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Location) { |
| 123 StartEmbeddedTestServer(); | 123 StartEmbeddedTestServer(); |
| 124 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "location.html")) | 124 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "location.html")) |
| 125 << message_; | 125 << message_; |
| 126 } | 126 } |
| 127 | 127 |
| 128 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Location2) { |
| 129 StartEmbeddedTestServer(); |
| 130 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "location2.html")) |
| 131 << message_; |
| 132 } |
| 133 |
| 128 IN_PROC_BROWSER_TEST_F(AutomationApiTest, BoundsForRange) { | 134 IN_PROC_BROWSER_TEST_F(AutomationApiTest, BoundsForRange) { |
| 129 StartEmbeddedTestServer(); | 135 StartEmbeddedTestServer(); |
| 130 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", | 136 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", |
| 131 "bounds_for_range.html")) | 137 "bounds_for_range.html")) |
| 132 << message_; | 138 << message_; |
| 133 } | 139 } |
| 134 | 140 |
| 135 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { | 141 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { |
| 136 StartEmbeddedTestServer(); | 142 StartEmbeddedTestServer(); |
| 137 ASSERT_TRUE(RunExtensionSubtest( | 143 ASSERT_TRUE(RunExtensionSubtest( |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 } | 266 } |
| 261 | 267 |
| 262 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { | 268 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { |
| 263 StartEmbeddedTestServer(); | 269 StartEmbeddedTestServer(); |
| 264 ASSERT_TRUE( | 270 ASSERT_TRUE( |
| 265 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) | 271 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) |
| 266 << message_; | 272 << message_; |
| 267 } | 273 } |
| 268 | 274 |
| 269 } // namespace extensions | 275 } // namespace extensions |
| OLD | NEW |