| 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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 << message_; | 131 << message_; |
| 132 } | 132 } |
| 133 | 133 |
| 134 IN_PROC_BROWSER_TEST_F(AutomationApiTest, BoundsForRange) { | 134 IN_PROC_BROWSER_TEST_F(AutomationApiTest, BoundsForRange) { |
| 135 StartEmbeddedTestServer(); | 135 StartEmbeddedTestServer(); |
| 136 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", | 136 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", |
| 137 "bounds_for_range.html")) | 137 "bounds_for_range.html")) |
| 138 << message_; | 138 << message_; |
| 139 } | 139 } |
| 140 | 140 |
| 141 IN_PROC_BROWSER_TEST_F(AutomationApiTest, LineStartOffsets) { |
| 142 StartEmbeddedTestServer(); |
| 143 ASSERT_TRUE( |
| 144 RunExtensionSubtest("automation/tests/tabs", "line_start_offsets.html")) |
| 145 << message_; |
| 146 } |
| 147 |
| 141 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { | 148 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { |
| 142 StartEmbeddedTestServer(); | 149 StartEmbeddedTestServer(); |
| 143 ASSERT_TRUE(RunExtensionSubtest( | 150 ASSERT_TRUE(RunExtensionSubtest( |
| 144 "automation/tests/tabs_automation_boolean", "permissions.html")) | 151 "automation/tests/tabs_automation_boolean", "permissions.html")) |
| 145 << message_; | 152 << message_; |
| 146 } | 153 } |
| 147 | 154 |
| 148 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanActions) { | 155 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanActions) { |
| 149 StartEmbeddedTestServer(); | 156 StartEmbeddedTestServer(); |
| 150 ASSERT_TRUE(RunExtensionSubtest( | 157 ASSERT_TRUE(RunExtensionSubtest( |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 } | 268 } |
| 262 | 269 |
| 263 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { | 270 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { |
| 264 StartEmbeddedTestServer(); | 271 StartEmbeddedTestServer(); |
| 265 ASSERT_TRUE( | 272 ASSERT_TRUE( |
| 266 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) | 273 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) |
| 267 << message_; | 274 << message_; |
| 268 } | 275 } |
| 269 | 276 |
| 270 } // namespace extensions | 277 } // namespace extensions |
| OLD | NEW |