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

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

Issue 1458723002: Finish implementing ChromeVox Next active indicator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@load_key_map
Patch Set: Made test expectations approximate Created 5 years, 1 month 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/resources/chromeos/chromevox/common/chrome_extension_externs.js » ('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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/chromeos/chromevox/common/chrome_extension_externs.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698