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

Side by Side Diff: content/browser/accessibility/dump_accessibility_tree_browsertest.cc

Issue 11785038: Update and rebaseline many DumpAccessibilityTree tests. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAOnclick) { 230 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAOnclick) {
231 RunTest(FILE_PATH_LITERAL("a-onclick.html")); 231 RunTest(FILE_PATH_LITERAL("a-onclick.html"));
232 } 232 }
233 233
234 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 234 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
235 AccessibilityAriaApplication) { 235 AccessibilityAriaApplication) {
236 RunTest(FILE_PATH_LITERAL("aria-application.html")); 236 RunTest(FILE_PATH_LITERAL("aria-application.html"));
237 } 237 }
238 238
239 // Broken by http://trac.webkit.org/137512 239 // Broken by http://trac.webkit.org/137512
240 // Tracked in http://crbug.com/165838 240 // Tracked in http://crbug.com/165838
aboxhall 2013/01/08 16:43:51 Is this comment still necessary?
dmazzoni 2013/01/08 18:21:02 You're right. I deleted all of the references to b
241 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 241 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaCombobox) {
242 DISABLED_AccessibilityAriaCombobox) {
243 RunTest(FILE_PATH_LITERAL("aria-combobox.html")); 242 RunTest(FILE_PATH_LITERAL("aria-combobox.html"));
244 } 243 }
245 244
246 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenu) { 245 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenu) {
247 RunTest(FILE_PATH_LITERAL("aria-menu.html")); 246 RunTest(FILE_PATH_LITERAL("aria-menu.html"));
248 } 247 }
249 248
250 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAWithImg) { 249 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAWithImg) {
251 RunTest(FILE_PATH_LITERAL("a-with-img.html")); 250 RunTest(FILE_PATH_LITERAL("a-with-img.html"));
252 } 251 }
253 252
254 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityButtonNameCalc) { 253 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityButtonNameCalc) {
255 RunTest(FILE_PATH_LITERAL("button-name-calc.html")); 254 RunTest(FILE_PATH_LITERAL("button-name-calc.html"));
256 } 255 }
257 256
258 // TODO(dmazzoni): rebaseline and enable after this WebKit change is rolled: 257 // TODO(dmazzoni): rebaseline and enable after this WebKit change is rolled:
259 // https://bugs.webkit.org/show_bug.cgi?id=96323 258 // https://bugs.webkit.org/show_bug.cgi?id=96323
aboxhall 2013/01/08 16:43:51 Should this comment be removed?
260 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 259 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCanvas) {
261 DISABLED_AccessibilityCanvas) {
262 RunTest(FILE_PATH_LITERAL("canvas.html")); 260 RunTest(FILE_PATH_LITERAL("canvas.html"));
263 } 261 }
264 262
265 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 263 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
266 AccessibilityCheckboxNameCalc) { 264 AccessibilityCheckboxNameCalc) {
267 RunTest(FILE_PATH_LITERAL("checkbox-name-calc.html")); 265 RunTest(FILE_PATH_LITERAL("checkbox-name-calc.html"));
268 } 266 }
269 267
270 // TODO(dimich): Started to fail in Chrome r149732 (crbug 140397)
271 #if defined(OS_WIN)
272 #define MAYBE_AccessibilityContenteditableDescendants \
273 DISABLED_AccessibilityContenteditableDescendants
274 #else
275 #define MAYBE_AccessibilityContenteditableDescendants \
276 AccessibilityContenteditableDescendants
277 #endif
278
279 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDiv) { 268 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDiv) {
280 RunTest(FILE_PATH_LITERAL("div.html")); 269 RunTest(FILE_PATH_LITERAL("div.html"));
281 } 270 }
282 271
283 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 272 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
284 MAYBE_AccessibilityContenteditableDescendants) { 273 AccessibilityContenteditableDescendants) {
285 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html")); 274 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html"));
286 } 275 }
287 276
288 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFooter) { 277 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFooter) {
289 RunTest(FILE_PATH_LITERAL("footer.html")); 278 RunTest(FILE_PATH_LITERAL("footer.html"));
290 } 279 }
291 280
292 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) { 281 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) {
293 RunTest(FILE_PATH_LITERAL("form.html")); 282 RunTest(FILE_PATH_LITERAL("form.html"));
294 } 283 }
(...skipping 21 matching lines...) Expand all
316 305
317 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityP) { 306 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityP) {
318 RunTest(FILE_PATH_LITERAL("p.html")); 307 RunTest(FILE_PATH_LITERAL("p.html"));
319 } 308 }
320 309
321 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpinButton) { 310 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySpinButton) {
322 RunTest(FILE_PATH_LITERAL("spinbutton.html")); 311 RunTest(FILE_PATH_LITERAL("spinbutton.html"));
323 } 312 }
324 313
325 // TODO(dmazzoni): rebaseline and enable after this WebKit change is rolled: 314 // TODO(dmazzoni): rebaseline and enable after this WebKit change is rolled:
326 // https://bugs.webkit.org/show_bug.cgi?id=96323 315 // https://bugs.webkit.org/show_bug.cgi?id=96323
aboxhall 2013/01/08 16:43:51 Similarly, I assume this comment is no longer requ
327 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 316 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
328 DISABLED_AccessibilityToggleButton) { 317 AccessibilityToggleButton) {
329 RunTest(FILE_PATH_LITERAL("togglebutton.html")); 318 RunTest(FILE_PATH_LITERAL("togglebutton.html"));
330 } 319 }
331 320
332 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { 321 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) {
333 RunTest(FILE_PATH_LITERAL("ul.html")); 322 RunTest(FILE_PATH_LITERAL("ul.html"));
334 } 323 }
335 324
336 } // namespace content 325 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698