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

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

Issue 661083002: Add DumpAccessibilityTree tests (4 of 20) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: updating expectations for android Created 6 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 | content/test/data/accessibility/aria-checked.html » ('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 (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/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 } 333 }
334 334
335 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaBanner) { 335 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaBanner) {
336 RunTest(FILE_PATH_LITERAL("aria-banner.html")); 336 RunTest(FILE_PATH_LITERAL("aria-banner.html"));
337 } 337 }
338 338
339 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaCheckBox) { 339 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaCheckBox) {
340 RunTest(FILE_PATH_LITERAL("aria-checkbox.html")); 340 RunTest(FILE_PATH_LITERAL("aria-checkbox.html"));
341 } 341 }
342 342
343 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaChecked) {
344 RunTest(FILE_PATH_LITERAL("aria-checked.html"));
345 }
346
343 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 347 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
344 AccessibilityAriaColumnHeader) { 348 AccessibilityAriaColumnHeader) {
345 RunTest(FILE_PATH_LITERAL("aria-columnheader.html")); 349 RunTest(FILE_PATH_LITERAL("aria-columnheader.html"));
346 } 350 }
347 351
348 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree 352 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree
349 // Re-baseline after the Blink change goes in 353 // Re-baseline after the Blink change goes in
350 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 354 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
351 DISABLED_AccessibilityAriaCombobox) { 355 DISABLED_AccessibilityAriaCombobox) {
352 RunTest(FILE_PATH_LITERAL("aria-combobox.html")); 356 RunTest(FILE_PATH_LITERAL("aria-combobox.html"));
353 } 357 }
354 358
355 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 359 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
356 AccessibilityAriaComplementary) { 360 AccessibilityAriaComplementary) {
357 RunTest(FILE_PATH_LITERAL("aria-complementary.html")); 361 RunTest(FILE_PATH_LITERAL("aria-complementary.html"));
358 } 362 }
359 363
360 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 364 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
361 AccessibilityAriaContentInfo) { 365 AccessibilityAriaContentInfo) {
362 RunTest(FILE_PATH_LITERAL("aria-contentinfo.html")); 366 RunTest(FILE_PATH_LITERAL("aria-contentinfo.html"));
363 } 367 }
364 368
369 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDefinition) {
370 RunTest(FILE_PATH_LITERAL("aria-definition.html"));
371 }
372
365 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHasPopup) { 373 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHasPopup) {
366 RunTest(FILE_PATH_LITERAL("aria-haspopup.html")); 374 RunTest(FILE_PATH_LITERAL("aria-haspopup.html"));
367 } 375 }
368 376
369 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHidden) { 377 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHidden) {
370 RunTest(FILE_PATH_LITERAL("aria-hidden.html")); 378 RunTest(FILE_PATH_LITERAL("aria-hidden.html"));
371 } 379 }
372 380
373 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 381 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
374 MAYBE(AccessibilityAriaFlowto)) { 382 MAYBE(AccessibilityAriaFlowto)) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
416 } 424 }
417 425
418 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMarquee) { 426 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMarquee) {
419 RunTest(FILE_PATH_LITERAL("aria-marquee.html")); 427 RunTest(FILE_PATH_LITERAL("aria-marquee.html"));
420 } 428 }
421 429
422 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenu) { 430 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenu) {
423 RunTest(FILE_PATH_LITERAL("aria-menu.html")); 431 RunTest(FILE_PATH_LITERAL("aria-menu.html"));
424 } 432 }
425 433
434 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenuBar) {
435 RunTest(FILE_PATH_LITERAL("aria-menubar.html"));
436 }
437
426 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 438 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
427 AccessibilityAriaMenuItemCheckBox) { 439 AccessibilityAriaMenuItemCheckBox) {
428 RunTest(FILE_PATH_LITERAL("aria-menuitemcheckbox.html")); 440 RunTest(FILE_PATH_LITERAL("aria-menuitemcheckbox.html"));
429 } 441 }
430 442
431 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 443 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
432 AccessibilityAriaMenuItemRadio) { 444 AccessibilityAriaMenuItemRadio) {
433 RunTest(FILE_PATH_LITERAL("aria-menuitemradio.html")); 445 RunTest(FILE_PATH_LITERAL("aria-menuitemradio.html"));
434 } 446 }
435 447
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
485 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 497 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
486 AccessibilityAriaToggleButton) { 498 AccessibilityAriaToggleButton) {
487 RunTest(FILE_PATH_LITERAL("aria-togglebutton.html")); 499 RunTest(FILE_PATH_LITERAL("aria-togglebutton.html"));
488 } 500 }
489 501
490 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 502 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
491 AccessibilityAriaToolbar) { 503 AccessibilityAriaToolbar) {
492 RunTest(FILE_PATH_LITERAL("aria-toolbar.html")); 504 RunTest(FILE_PATH_LITERAL("aria-toolbar.html"));
493 } 505 }
494 506
507 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaTree) {
508 RunTest(FILE_PATH_LITERAL("aria-tree.html"));
509 }
510
495 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 511 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
496 AccessibilityAriaValueMin) { 512 AccessibilityAriaValueMin) {
497 RunTest(FILE_PATH_LITERAL("aria-valuemin.html")); 513 RunTest(FILE_PATH_LITERAL("aria-valuemin.html"));
498 } 514 }
499 515
500 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 516 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
501 AccessibilityAriaValueMax) { 517 AccessibilityAriaValueMax) {
502 RunTest(FILE_PATH_LITERAL("aria-valuemax.html")); 518 RunTest(FILE_PATH_LITERAL("aria-valuemax.html"));
503 } 519 }
504 520
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
690 } 706 }
691 707
692 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputRange) { 708 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputRange) {
693 RunTest(FILE_PATH_LITERAL("input-range.html")); 709 RunTest(FILE_PATH_LITERAL("input-range.html"));
694 } 710 }
695 711
696 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSearch) { 712 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSearch) {
697 RunTest(FILE_PATH_LITERAL("input-search.html")); 713 RunTest(FILE_PATH_LITERAL("input-search.html"));
698 } 714 }
699 715
716 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSubmit) {
717 RunTest(FILE_PATH_LITERAL("input-submit.html"));
718 }
719
700 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputText) { 720 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputText) {
701 RunTest(FILE_PATH_LITERAL("input-text.html")); 721 RunTest(FILE_PATH_LITERAL("input-text.html"));
702 } 722 }
703 723
704 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 724 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
705 AccessibilityInputTextNameCalc) { 725 AccessibilityInputTextNameCalc) {
706 RunTest(FILE_PATH_LITERAL("input-text-name-calc.html")); 726 RunTest(FILE_PATH_LITERAL("input-text-name-calc.html"));
707 } 727 }
708 728
709 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTextValue) { 729 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTextValue) {
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 883
864 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 884 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
865 AccessibilityTableTbodyTfoot) { 885 AccessibilityTableTbodyTfoot) {
866 RunTest(FILE_PATH_LITERAL("table-tbody-tfoot.html")); 886 RunTest(FILE_PATH_LITERAL("table-tbody-tfoot.html"));
867 } 887 }
868 888
869 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTableSpans) { 889 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTableSpans) {
870 RunTest(FILE_PATH_LITERAL("table-spans.html")); 890 RunTest(FILE_PATH_LITERAL("table-spans.html"));
871 } 891 }
872 892
893 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTextArea) {
894 RunTest(FILE_PATH_LITERAL("textarea.html"));
895 }
896
897 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) {
898 RunTest(FILE_PATH_LITERAL("title.html"));
899 }
900
873 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTransition) { 901 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTransition) {
874 RunTest(FILE_PATH_LITERAL("transition.html")); 902 RunTest(FILE_PATH_LITERAL("transition.html"));
875 } 903 }
876 904
877 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { 905 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) {
878 RunTest(FILE_PATH_LITERAL("ul.html")); 906 RunTest(FILE_PATH_LITERAL("ul.html"));
879 } 907 }
880 908
881 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 909 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
882 RunTest(FILE_PATH_LITERAL("wbr.html")); 910 RunTest(FILE_PATH_LITERAL("wbr.html"));
883 } 911 }
884 912
885 } // namespace content 913 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/test/data/accessibility/aria-checked.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698