| 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 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 657 } | 657 } |
| 658 | 658 |
| 659 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDl) { | 659 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDl) { |
| 660 RunTest(FILE_PATH_LITERAL("dl.html")); | 660 RunTest(FILE_PATH_LITERAL("dl.html")); |
| 661 } | 661 } |
| 662 | 662 |
| 663 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDt) { | 663 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityDt) { |
| 664 RunTest(FILE_PATH_LITERAL("dt.html")); | 664 RunTest(FILE_PATH_LITERAL("dt.html")); |
| 665 } | 665 } |
| 666 | 666 |
| 667 //Disabled because of https://codereview.chromium.org/696953002 temporarily. |
| 668 //After blink code is merged, it will be enabled. |
| 667 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 669 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 668 AccessibilityContenteditableDescendants) { | 670 DISABLED_AccessibilityContenteditableDescendants) { |
| 669 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html")); | 671 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html")); |
| 670 } | 672 } |
| 671 | 673 |
| 672 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityEm) { | 674 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityEm) { |
| 673 RunTest(FILE_PATH_LITERAL("em.html")); | 675 RunTest(FILE_PATH_LITERAL("em.html")); |
| 674 } | 676 } |
| 675 | 677 |
| 676 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFieldset) { | 678 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFieldset) { |
| 677 RunTest(FILE_PATH_LITERAL("fieldset.html")); | 679 RunTest(FILE_PATH_LITERAL("fieldset.html")); |
| 678 } | 680 } |
| (...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 } | 849 } |
| 848 | 850 |
| 849 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLandmark) { | 851 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLandmark) { |
| 850 RunTest(FILE_PATH_LITERAL("landmark.html")); | 852 RunTest(FILE_PATH_LITERAL("landmark.html")); |
| 851 } | 853 } |
| 852 | 854 |
| 853 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLegend) { | 855 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLegend) { |
| 854 RunTest(FILE_PATH_LITERAL("legend.html")); | 856 RunTest(FILE_PATH_LITERAL("legend.html")); |
| 855 } | 857 } |
| 856 | 858 |
| 857 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityList) { | 859 //Disabled because of https://codereview.chromium.org/696953002 temporarily. |
| 860 //After blink code is merged, it will be enabled. |
| 861 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityList) { |
| 858 RunTest(FILE_PATH_LITERAL("list.html")); | 862 RunTest(FILE_PATH_LITERAL("list.html")); |
| 859 } | 863 } |
| 860 | 864 |
| 861 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityListMarkers) { | 865 //Disabled because of https://codereview.chromium.org/696953002 temporarily. |
| 866 //After blink code is merged, it will be enabled. |
| 867 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 868 DISABLED_AccessibilityListMarkers) { |
| 862 RunTest(FILE_PATH_LITERAL("list-markers.html")); | 869 RunTest(FILE_PATH_LITERAL("list-markers.html")); |
| 863 } | 870 } |
| 864 | 871 |
| 865 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMain) { | 872 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMain) { |
| 866 RunTest(FILE_PATH_LITERAL("main.html")); | 873 RunTest(FILE_PATH_LITERAL("main.html")); |
| 867 } | 874 } |
| 868 | 875 |
| 869 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMark) { | 876 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityMark) { |
| 870 RunTest(FILE_PATH_LITERAL("mark.html")); | 877 RunTest(FILE_PATH_LITERAL("mark.html")); |
| 871 } | 878 } |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 909 } | 916 } |
| 910 | 917 |
| 911 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { | 918 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { |
| 912 RunTest(FILE_PATH_LITERAL("navigation.html")); | 919 RunTest(FILE_PATH_LITERAL("navigation.html")); |
| 913 } | 920 } |
| 914 | 921 |
| 915 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNoscript) { | 922 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNoscript) { |
| 916 RunTest(FILE_PATH_LITERAL("noscript.html")); | 923 RunTest(FILE_PATH_LITERAL("noscript.html")); |
| 917 } | 924 } |
| 918 | 925 |
| 919 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityOl) { | 926 //Disabled because of https://codereview.chromium.org/696953002 temporarily. |
| 927 //After blink code is merged, it will be enabled. |
| 928 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityOl) { |
| 920 RunTest(FILE_PATH_LITERAL("ol.html")); | 929 RunTest(FILE_PATH_LITERAL("ol.html")); |
| 921 } | 930 } |
| 922 | 931 |
| 923 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityObject) { | 932 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityObject) { |
| 924 RunTest(FILE_PATH_LITERAL("object.html")); | 933 RunTest(FILE_PATH_LITERAL("object.html")); |
| 925 } | 934 } |
| 926 | 935 |
| 927 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 936 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 928 AccessibilityOptionindatalist) { | 937 AccessibilityOptionindatalist) { |
| 929 RunTest(FILE_PATH_LITERAL("option-in-datalist.html")); | 938 RunTest(FILE_PATH_LITERAL("option-in-datalist.html")); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1016 } | 1025 } |
| 1017 | 1026 |
| 1018 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) { | 1027 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) { |
| 1019 RunTest(FILE_PATH_LITERAL("title.html")); | 1028 RunTest(FILE_PATH_LITERAL("title.html")); |
| 1020 } | 1029 } |
| 1021 | 1030 |
| 1022 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTransition) { | 1031 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTransition) { |
| 1023 RunTest(FILE_PATH_LITERAL("transition.html")); | 1032 RunTest(FILE_PATH_LITERAL("transition.html")); |
| 1024 } | 1033 } |
| 1025 | 1034 |
| 1026 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { | 1035 //Disabled because of https://codereview.chromium.org/696953002 temporarily. |
| 1036 //After blink code is merged, it will be enabled. |
| 1037 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityUl) { |
| 1027 RunTest(FILE_PATH_LITERAL("ul.html")); | 1038 RunTest(FILE_PATH_LITERAL("ul.html")); |
| 1028 } | 1039 } |
| 1029 | 1040 |
| 1030 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1041 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
| 1031 RunTest(FILE_PATH_LITERAL("wbr.html")); | 1042 RunTest(FILE_PATH_LITERAL("wbr.html")); |
| 1032 } | 1043 } |
| 1033 | 1044 |
| 1034 } // namespace content | 1045 } // namespace content |
| OLD | NEW |