| 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/thread_task_runner_handle.h" | 10 #include "base/thread_task_runner_handle.h" |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "actions.html")) | 117 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "actions.html")) |
| 118 << message_; | 118 << message_; |
| 119 } | 119 } |
| 120 | 120 |
| 121 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Location) { | 121 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Location) { |
| 122 StartEmbeddedTestServer(); | 122 StartEmbeddedTestServer(); |
| 123 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "location.html")) | 123 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "location.html")) |
| 124 << message_; | 124 << message_; |
| 125 } | 125 } |
| 126 | 126 |
| 127 IN_PROC_BROWSER_TEST_F(AutomationApiTest, BoundsForRange) { |
| 128 StartEmbeddedTestServer(); |
| 129 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", |
| 130 "bounds_for_range.html")) |
| 131 << message_; |
| 132 } |
| 133 |
| 127 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { | 134 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanPermissions) { |
| 128 StartEmbeddedTestServer(); | 135 StartEmbeddedTestServer(); |
| 129 ASSERT_TRUE(RunExtensionSubtest( | 136 ASSERT_TRUE(RunExtensionSubtest( |
| 130 "automation/tests/tabs_automation_boolean", "permissions.html")) | 137 "automation/tests/tabs_automation_boolean", "permissions.html")) |
| 131 << message_; | 138 << message_; |
| 132 } | 139 } |
| 133 | 140 |
| 134 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanActions) { | 141 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TabsAutomationBooleanActions) { |
| 135 StartEmbeddedTestServer(); | 142 StartEmbeddedTestServer(); |
| 136 ASSERT_TRUE(RunExtensionSubtest( | 143 ASSERT_TRUE(RunExtensionSubtest( |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 } | 220 } |
| 214 | 221 |
| 215 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { | 222 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { |
| 216 StartEmbeddedTestServer(); | 223 StartEmbeddedTestServer(); |
| 217 ASSERT_TRUE( | 224 ASSERT_TRUE( |
| 218 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) | 225 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) |
| 219 << message_; | 226 << message_; |
| 220 } | 227 } |
| 221 | 228 |
| 222 } // namespace extensions | 229 } // namespace extensions |
| OLD | NEW |