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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 | 434 |
435 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 435 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
436 AccessibilityAriaLabelledByHeading) { | 436 AccessibilityAriaLabelledByHeading) { |
437 RunTest(FILE_PATH_LITERAL("aria-labelledby-heading.html")); | 437 RunTest(FILE_PATH_LITERAL("aria-labelledby-heading.html")); |
438 } | 438 } |
439 | 439 |
440 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLevel) { | 440 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLevel) { |
441 RunTest(FILE_PATH_LITERAL("aria-level.html")); | 441 RunTest(FILE_PATH_LITERAL("aria-level.html")); |
442 } | 442 } |
443 | 443 |
444 //Disabled because of https://codereview.chromium.org/696953002 temporarily. | 444 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaList) { |
445 //After blink code is merged, it will be enabled. | |
446 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | |
447 DISABLED_AccessibilityAriaList) { | |
448 RunTest(FILE_PATH_LITERAL("aria-list.html")); | 445 RunTest(FILE_PATH_LITERAL("aria-list.html")); |
449 } | 446 } |
450 | 447 |
451 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaListBox) { | 448 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaListBox) { |
452 RunTest(FILE_PATH_LITERAL("aria-listbox.html")); | 449 RunTest(FILE_PATH_LITERAL("aria-listbox.html")); |
453 } | 450 } |
454 | 451 |
455 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 452 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
456 AccessibilityAriaListBoxActiveDescendant) { | 453 AccessibilityAriaListBoxActiveDescendant) { |
457 RunTest(FILE_PATH_LITERAL("aria-listbox-activedescendant.html")); | 454 RunTest(FILE_PATH_LITERAL("aria-listbox-activedescendant.html")); |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 } | 690 } |
694 | 691 |
695 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDl) { | 692 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDl) { |
696 RunTest(FILE_PATH_LITERAL("dl.html")); | 693 RunTest(FILE_PATH_LITERAL("dl.html")); |
697 } | 694 } |
698 | 695 |
699 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDt) { | 696 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDt) { |
700 RunTest(FILE_PATH_LITERAL("dt.html")); | 697 RunTest(FILE_PATH_LITERAL("dt.html")); |
701 } | 698 } |
702 | 699 |
703 //Disabled because of https://codereview.chromium.org/696953002 temporarily. | |
704 //After blink code is merged, it will be enabled. | |
705 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 700 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
706 DISABLED_AccessibilityContenteditableDescendants) { | 701 AccessibilityContenteditableDescendants) { |
707 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html")); | 702 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html")); |
708 } | 703 } |
709 | 704 |
710 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityEm) { | 705 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityEm) { |
711 RunTest(FILE_PATH_LITERAL("em.html")); | 706 RunTest(FILE_PATH_LITERAL("em.html")); |
712 } | 707 } |
713 | 708 |
714 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFieldset) { | 709 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFieldset) { |
715 RunTest(FILE_PATH_LITERAL("fieldset.html")); | 710 RunTest(FILE_PATH_LITERAL("fieldset.html")); |
716 } | 711 } |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 } | 895 } |
901 | 896 |
902 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLegend) { | 897 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLegend) { |
903 RunTest(FILE_PATH_LITERAL("legend.html")); | 898 RunTest(FILE_PATH_LITERAL("legend.html")); |
904 } | 899 } |
905 | 900 |
906 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLink) { | 901 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLink) { |
907 RunTest(FILE_PATH_LITERAL("link.html")); | 902 RunTest(FILE_PATH_LITERAL("link.html")); |
908 } | 903 } |
909 | 904 |
910 //Disabled because of https://codereview.chromium.org/696953002 temporarily. | 905 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityList) { |
911 //After blink code is merged, it will be enabled. | |
912 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityList) { | |
913 RunTest(FILE_PATH_LITERAL("list.html")); | 906 RunTest(FILE_PATH_LITERAL("list.html")); |
914 } | 907 } |
915 | 908 |
916 //Disabled because of https://codereview.chromium.org/696953002 temporarily. | 909 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityListMarkers) { |
917 //After blink code is merged, it will be enabled. | |
918 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | |
919 DISABLED_AccessibilityListMarkers) { | |
920 RunTest(FILE_PATH_LITERAL("list-markers.html")); | 910 RunTest(FILE_PATH_LITERAL("list-markers.html")); |
921 } | 911 } |
922 | 912 |
923 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMain) { | 913 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMain) { |
924 RunTest(FILE_PATH_LITERAL("main.html")); | 914 RunTest(FILE_PATH_LITERAL("main.html")); |
925 } | 915 } |
926 | 916 |
927 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMark) { | 917 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMark) { |
928 RunTest(FILE_PATH_LITERAL("mark.html")); | 918 RunTest(FILE_PATH_LITERAL("mark.html")); |
929 } | 919 } |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 } | 961 } |
972 | 962 |
973 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { | 963 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { |
974 RunTest(FILE_PATH_LITERAL("navigation.html")); | 964 RunTest(FILE_PATH_LITERAL("navigation.html")); |
975 } | 965 } |
976 | 966 |
977 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNoscript) { | 967 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNoscript) { |
978 RunTest(FILE_PATH_LITERAL("noscript.html")); | 968 RunTest(FILE_PATH_LITERAL("noscript.html")); |
979 } | 969 } |
980 | 970 |
981 //Disabled because of https://codereview.chromium.org/696953002 temporarily. | 971 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityOl) { |
982 //After blink code is merged, it will be enabled. | |
983 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityOl) { | |
984 RunTest(FILE_PATH_LITERAL("ol.html")); | 972 RunTest(FILE_PATH_LITERAL("ol.html")); |
985 } | 973 } |
986 | 974 |
987 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityObject) { | 975 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityObject) { |
988 RunTest(FILE_PATH_LITERAL("object.html")); | 976 RunTest(FILE_PATH_LITERAL("object.html")); |
989 } | 977 } |
990 | 978 |
991 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 979 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
992 AccessibilityOptionindatalist) { | 980 AccessibilityOptionindatalist) { |
993 RunTest(FILE_PATH_LITERAL("option-in-datalist.html")); | 981 RunTest(FILE_PATH_LITERAL("option-in-datalist.html")); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 } | 1076 } |
1089 | 1077 |
1090 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) { | 1078 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) { |
1091 RunTest(FILE_PATH_LITERAL("title.html")); | 1079 RunTest(FILE_PATH_LITERAL("title.html")); |
1092 } | 1080 } |
1093 | 1081 |
1094 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTransition) { | 1082 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTransition) { |
1095 RunTest(FILE_PATH_LITERAL("transition.html")); | 1083 RunTest(FILE_PATH_LITERAL("transition.html")); |
1096 } | 1084 } |
1097 | 1085 |
1098 //Disabled because of https://codereview.chromium.org/696953002 temporarily. | 1086 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { |
1099 //After blink code is merged, it will be enabled. | |
1100 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityUl) { | |
1101 RunTest(FILE_PATH_LITERAL("ul.html")); | 1087 RunTest(FILE_PATH_LITERAL("ul.html")); |
1102 } | 1088 } |
1103 | 1089 |
1104 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { | 1090 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { |
1105 RunTest(FILE_PATH_LITERAL("var.html")); | 1091 RunTest(FILE_PATH_LITERAL("var.html")); |
1106 } | 1092 } |
1107 | 1093 |
1108 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1094 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
1109 RunTest(FILE_PATH_LITERAL("wbr.html")); | 1095 RunTest(FILE_PATH_LITERAL("wbr.html")); |
1110 } | 1096 } |
1111 | 1097 |
1112 } // namespace content | 1098 } // namespace content |
OLD | NEW |