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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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) { | 128 IN_PROC_BROWSER_TEST_F(AutomationApiTest, Location2) { |
129 StartEmbeddedTestServer(); | 129 StartEmbeddedTestServer(); |
130 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "location2.html")) | 130 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "location2.html")) |
131 << message_; | 131 << message_; |
132 } | 132 } |
133 | 133 |
| 134 IN_PROC_BROWSER_TEST_F(AutomationApiTest, LocationInWebView) { |
| 135 StartEmbeddedTestServer(); |
| 136 ASSERT_TRUE(RunPlatformAppTest("automation/tests/webview")) << message_; |
| 137 } |
| 138 |
134 IN_PROC_BROWSER_TEST_F(AutomationApiTest, BoundsForRange) { | 139 IN_PROC_BROWSER_TEST_F(AutomationApiTest, BoundsForRange) { |
135 StartEmbeddedTestServer(); | 140 StartEmbeddedTestServer(); |
136 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", | 141 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", |
137 "bounds_for_range.html")) | 142 "bounds_for_range.html")) |
138 << message_; | 143 << message_; |
139 } | 144 } |
140 | 145 |
141 IN_PROC_BROWSER_TEST_F(AutomationApiTest, LineStartOffsets) { | 146 IN_PROC_BROWSER_TEST_F(AutomationApiTest, LineStartOffsets) { |
142 StartEmbeddedTestServer(); | 147 StartEmbeddedTestServer(); |
143 ASSERT_TRUE( | 148 ASSERT_TRUE( |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
274 } | 279 } |
275 | 280 |
276 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { | 281 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) { |
277 StartEmbeddedTestServer(); | 282 StartEmbeddedTestServer(); |
278 ASSERT_TRUE( | 283 ASSERT_TRUE( |
279 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) | 284 RunExtensionSubtest("automation/tests/tabs", "document_selection.html")) |
280 << message_; | 285 << message_; |
281 } | 286 } |
282 | 287 |
283 } // namespace extensions | 288 } // namespace extensions |
OLD | NEW |