| 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 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 << message_; | 138 << message_; |
| 139 } | 139 } |
| 140 | 140 |
| 141 IN_PROC_BROWSER_TEST_F(AutomationApiTest, LineStartOffsets) { | 141 IN_PROC_BROWSER_TEST_F(AutomationApiTest, LineStartOffsets) { |
| 142 StartEmbeddedTestServer(); | 142 StartEmbeddedTestServer(); |
| 143 ASSERT_TRUE( | 143 ASSERT_TRUE( |
| 144 RunExtensionSubtest("automation/tests/tabs", "line_start_offsets.html")) | 144 RunExtensionSubtest("automation/tests/tabs", "line_start_offsets.html")) |
| 145 << message_; | 145 << message_; |
| 146 } | 146 } |
| 147 | 147 |
| 148 IN_PROC_BROWSER_TEST_F(AutomationApiTest, ImageData) { |
| 149 StartEmbeddedTestServer(); |
| 150 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "image_data.html")) |
| 151 << message_; |
| 152 } |
| 153 |
| 148 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { | 154 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { |
| 149 StartEmbeddedTestServer(); | 155 StartEmbeddedTestServer(); |
| 150 ASSERT_TRUE(RunExtensionSubtest( | 156 ASSERT_TRUE(RunExtensionSubtest( |
| 151 "automation/tests/tabs_automation_boolean", "permissions.html")) | 157 "automation/tests/tabs_automation_boolean", "permissions.html")) |
| 152 << message_; | 158 << message_; |
| 153 } | 159 } |
| 154 | 160 |
| 155 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanActions) { | 161 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanActions) { |
| 156 StartEmbeddedTestServer(); | 162 StartEmbeddedTestServer(); |
| 157 ASSERT_TRUE(RunExtensionSubtest( | 163 ASSERT_TRUE(RunExtensionSubtest( |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 } | 274 } |
| 269 | 275 |
| 270 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { | 276 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { |
| 271 StartEmbeddedTestServer(); | 277 StartEmbeddedTestServer(); |
| 272 ASSERT_TRUE( | 278 ASSERT_TRUE( |
| 273 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) | 279 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) |
| 274 << message_; | 280 << message_; |
| 275 } | 281 } |
| 276 | 282 |
| 277 } // namespace extensions | 283 } // namespace extensions |
| OLD | NEW |