Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Side by Side Diff: chrome/browser/extensions/api/automation/automation_apitest.cc

Issue 1365433002: Add setSelection function to automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nobrailleautostartintests
Patch Set: Change setDocumentSelection to take named arguments. Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/automation_internal/automation_action_adapter.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "attributes.html")) 205 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "attributes.html"))
206 << message_; 206 << message_;
207 } 207 }
208 208
209 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TreeChange) { 209 IN_PROC_BROWSER_TEST_F(AutomationApiTest, TreeChange) {
210 StartEmbeddedTestServer(); 210 StartEmbeddedTestServer();
211 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "tree_change.html")) 211 ASSERT_TRUE(RunExtensionSubtest("automation/tests/tabs", "tree_change.html"))
212 << message_; 212 << message_;
213 } 213 }
214 214
215 IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) {
216 StartEmbeddedTestServer();
217 ASSERT_TRUE(
218 RunExtensionSubtest("automation/tests/tabs", "document_selection.html"))
219 << message_;
220 }
221
215 } // namespace extensions 222 } // namespace extensions
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/api/automation_internal/automation_action_adapter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698