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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/automation/automation_apitest.cc
diff --git a/chrome/browser/extensions/api/automation/automation_apitest.cc b/chrome/browser/extensions/api/automation/automation_apitest.cc
index 830a440eb916228af383ef52cb0c7cbcba3318c7..8b6fdffabceda97ba6b58a96f440cbf79fd54270 100644
--- a/chrome/browser/extensions/api/automation/automation_apitest.cc
+++ b/chrome/browser/extensions/api/automation/automation_apitest.cc
@@ -212,4 +212,11 @@ IN_PROC_BROWSER_TEST_F(AutomationApiTest, TreeChange) {
<< message_;
}
+IN_PROC_BROWSER_TEST_F(AutomationApiTest, DocumentSelection) {
+ StartEmbeddedTestServer();
+ ASSERT_TRUE(
+ RunExtensionSubtest("automation/tests/tabs", "document_selection.html"))
+ << message_;
+}
+
} // namespace extensions
« 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