OLD | NEW |
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 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
469 } | 469 } |
470 | 470 |
471 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLive) { | 471 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLive) { |
472 RunTest(FILE_PATH_LITERAL("aria-live.html")); | 472 RunTest(FILE_PATH_LITERAL("aria-live.html")); |
473 } | 473 } |
474 | 474 |
475 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLog) { | 475 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLog) { |
476 RunTest(FILE_PATH_LITERAL("aria-log.html")); | 476 RunTest(FILE_PATH_LITERAL("aria-log.html")); |
477 } | 477 } |
478 | 478 |
| 479 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMain) { |
| 480 RunTest(FILE_PATH_LITERAL("aria-main.html")); |
| 481 } |
| 482 |
479 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMarquee) { | 483 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMarquee) { |
480 RunTest(FILE_PATH_LITERAL("aria-marquee.html")); | 484 RunTest(FILE_PATH_LITERAL("aria-marquee.html")); |
481 } | 485 } |
482 | 486 |
483 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenu) { | 487 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenu) { |
484 RunTest(FILE_PATH_LITERAL("aria-menu.html")); | 488 RunTest(FILE_PATH_LITERAL("aria-menu.html")); |
485 } | 489 } |
486 | 490 |
487 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenuBar) { | 491 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMenuBar) { |
488 RunTest(FILE_PATH_LITERAL("aria-menubar.html")); | 492 RunTest(FILE_PATH_LITERAL("aria-menubar.html")); |
489 } | 493 } |
490 | 494 |
491 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 495 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
492 AccessibilityAriaMenuItemCheckBox) { | 496 AccessibilityAriaMenuItemCheckBox) { |
493 RunTest(FILE_PATH_LITERAL("aria-menuitemcheckbox.html")); | 497 RunTest(FILE_PATH_LITERAL("aria-menuitemcheckbox.html")); |
494 } | 498 } |
495 | 499 |
496 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 500 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
497 AccessibilityAriaMenuItemRadio) { | 501 AccessibilityAriaMenuItemRadio) { |
498 RunTest(FILE_PATH_LITERAL("aria-menuitemradio.html")); | 502 RunTest(FILE_PATH_LITERAL("aria-menuitemradio.html")); |
499 } | 503 } |
500 | 504 |
501 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 505 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
502 AccessibilityAriaMultiline) { | 506 AccessibilityAriaMultiline) { |
503 RunTest(FILE_PATH_LITERAL("aria-multiline.html")); | 507 RunTest(FILE_PATH_LITERAL("aria-multiline.html")); |
504 } | 508 } |
505 | 509 |
| 510 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 511 AccessibilityAriaMultiselectable) { |
| 512 RunTest(FILE_PATH_LITERAL("aria-multiselectable.html")); |
| 513 } |
| 514 |
506 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaNavigation) { | 515 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaNavigation) { |
507 RunTest(FILE_PATH_LITERAL("aria-navigation.html")); | 516 RunTest(FILE_PATH_LITERAL("aria-navigation.html")); |
508 } | 517 } |
509 | 518 |
510 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 519 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
511 AccessibilityAriaOrientation) { | 520 AccessibilityAriaOrientation) { |
512 RunTest(FILE_PATH_LITERAL("aria-orientation.html")); | 521 RunTest(FILE_PATH_LITERAL("aria-orientation.html")); |
513 } | 522 } |
514 | 523 |
515 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMath) { | 524 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaMath) { |
(...skipping 12 matching lines...) Expand all Loading... |
528 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaPressed) { | 537 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaPressed) { |
529 RunTest(FILE_PATH_LITERAL("aria-pressed.html")); | 538 RunTest(FILE_PATH_LITERAL("aria-pressed.html")); |
530 } | 539 } |
531 | 540 |
532 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 541 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
533 AccessibilityAriaProgressbar) { | 542 AccessibilityAriaProgressbar) { |
534 RunTest(FILE_PATH_LITERAL("aria-progressbar.html")); | 543 RunTest(FILE_PATH_LITERAL("aria-progressbar.html")); |
535 } | 544 } |
536 | 545 |
537 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 546 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 547 AccessibilityAriaRadio) { |
| 548 RunTest(FILE_PATH_LITERAL("aria-radio.html")); |
| 549 } |
| 550 |
| 551 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
538 AccessibilityAriaRadiogroup) { | 552 AccessibilityAriaRadiogroup) { |
539 RunTest(FILE_PATH_LITERAL("aria-radiogroup.html")); | 553 RunTest(FILE_PATH_LITERAL("aria-radiogroup.html")); |
540 } | 554 } |
541 | 555 |
542 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRelevant) { | 556 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRelevant) { |
543 RunTest(FILE_PATH_LITERAL("aria-relevant.html")); | 557 RunTest(FILE_PATH_LITERAL("aria-relevant.html")); |
544 } | 558 } |
545 | 559 |
546 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRequired) { | 560 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRequired) { |
547 RunTest(FILE_PATH_LITERAL("aria-required.html")); | 561 RunTest(FILE_PATH_LITERAL("aria-required.html")); |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
683 } | 697 } |
684 | 698 |
685 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCol) { | 699 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityCol) { |
686 RunTest(FILE_PATH_LITERAL("col.html")); | 700 RunTest(FILE_PATH_LITERAL("col.html")); |
687 } | 701 } |
688 | 702 |
689 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityColgroup) { | 703 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityColgroup) { |
690 RunTest(FILE_PATH_LITERAL("colgroup.html")); | 704 RunTest(FILE_PATH_LITERAL("colgroup.html")); |
691 } | 705 } |
692 | 706 |
| 707 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDd) { |
| 708 RunTest(FILE_PATH_LITERAL("dd.html")); |
| 709 } |
| 710 |
693 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDel) { | 711 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDel) { |
694 RunTest(FILE_PATH_LITERAL("del.html")); | 712 RunTest(FILE_PATH_LITERAL("del.html")); |
695 } | 713 } |
696 | 714 |
697 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDetails) { | 715 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDetails) { |
698 RunTest(FILE_PATH_LITERAL("details.html")); | 716 RunTest(FILE_PATH_LITERAL("details.html")); |
699 } | 717 } |
700 | 718 |
701 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDfn) { | 719 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDfn) { |
702 RunTest(FILE_PATH_LITERAL("dfn.html")); | 720 RunTest(FILE_PATH_LITERAL("dfn.html")); |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 } | 880 } |
863 | 881 |
864 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSearch) { | 882 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSearch) { |
865 RunTest(FILE_PATH_LITERAL("input-search.html")); | 883 RunTest(FILE_PATH_LITERAL("input-search.html")); |
866 } | 884 } |
867 | 885 |
868 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSubmit) { | 886 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSubmit) { |
869 RunTest(FILE_PATH_LITERAL("input-submit.html")); | 887 RunTest(FILE_PATH_LITERAL("input-submit.html")); |
870 } | 888 } |
871 | 889 |
| 890 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 891 AccessibilityInputSuggestionsSourceElement) { |
| 892 RunTest(FILE_PATH_LITERAL("input-suggestions-source-element.html")); |
| 893 } |
| 894 |
872 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTel) { | 895 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTel) { |
873 RunTest(FILE_PATH_LITERAL("input-tel.html")); | 896 RunTest(FILE_PATH_LITERAL("input-tel.html")); |
874 } | 897 } |
875 | 898 |
876 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputText) { | 899 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputText) { |
877 RunTest(FILE_PATH_LITERAL("input-text.html")); | 900 RunTest(FILE_PATH_LITERAL("input-text.html")); |
878 } | 901 } |
879 | 902 |
880 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 903 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
881 AccessibilityInputTextNameCalc) { | 904 AccessibilityInputTextNameCalc) { |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1034 } | 1057 } |
1035 | 1058 |
1036 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityS) { | 1059 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityS) { |
1037 RunTest(FILE_PATH_LITERAL("s.html")); | 1060 RunTest(FILE_PATH_LITERAL("s.html")); |
1038 } | 1061 } |
1039 | 1062 |
1040 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySamp) { | 1063 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySamp) { |
1041 RunTest(FILE_PATH_LITERAL("samp.html")); | 1064 RunTest(FILE_PATH_LITERAL("samp.html")); |
1042 } | 1065 } |
1043 | 1066 |
| 1067 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityScript) { |
| 1068 RunTest(FILE_PATH_LITERAL("script.html")); |
| 1069 } |
| 1070 |
1044 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySection) { | 1071 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySection) { |
1045 RunTest(FILE_PATH_LITERAL("section.html")); | 1072 RunTest(FILE_PATH_LITERAL("section.html")); |
1046 } | 1073 } |
1047 | 1074 |
1048 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySelect) { | 1075 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySelect) { |
1049 RunTest(FILE_PATH_LITERAL("select.html")); | 1076 RunTest(FILE_PATH_LITERAL("select.html")); |
1050 } | 1077 } |
1051 | 1078 |
1052 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySource) { | 1079 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilitySource) { |
1053 RunTest(FILE_PATH_LITERAL("source.html")); | 1080 RunTest(FILE_PATH_LITERAL("source.html")); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1113 | 1140 |
1114 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { | 1141 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { |
1115 RunTest(FILE_PATH_LITERAL("var.html")); | 1142 RunTest(FILE_PATH_LITERAL("var.html")); |
1116 } | 1143 } |
1117 | 1144 |
1118 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1145 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
1119 RunTest(FILE_PATH_LITERAL("wbr.html")); | 1146 RunTest(FILE_PATH_LITERAL("wbr.html")); |
1120 } | 1147 } |
1121 | 1148 |
1122 } // namespace content | 1149 } // namespace content |
OLD | NEW |