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

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

Issue 2234913002: Added support for header and footer inside other sections, according to HTML API Mappings 1.0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed test expectations. Created 4 years, 4 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/html/footer-inside-other-section.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/path_service.h" 10 #include "base/path_service.h"
(...skipping 817 matching lines...) Expand 10 before | Expand all | Expand 10 after
828 } 828 }
829 829
830 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFigure) { 830 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFigure) {
831 RunHtmlTest(FILE_PATH_LITERAL("figure.html")); 831 RunHtmlTest(FILE_PATH_LITERAL("figure.html"));
832 } 832 }
833 833
834 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFooter) { 834 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFooter) {
835 RunHtmlTest(FILE_PATH_LITERAL("footer.html")); 835 RunHtmlTest(FILE_PATH_LITERAL("footer.html"));
836 } 836 }
837 837
838 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
839 AccessibilityFooterInsideOtherSection) {
840 RunHtmlTest(FILE_PATH_LITERAL("footer-inside-other-section.html"));
841 }
842
838 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) { 843 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityForm) {
839 RunHtmlTest(FILE_PATH_LITERAL("form.html")); 844 RunHtmlTest(FILE_PATH_LITERAL("form.html"));
840 } 845 }
841 846
842 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) { 847 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFrameset) {
843 RunHtmlTest(FILE_PATH_LITERAL("frameset.html")); 848 RunHtmlTest(FILE_PATH_LITERAL("frameset.html"));
844 } 849 }
845 850
846 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) { 851 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHead) {
847 RunHtmlTest(FILE_PATH_LITERAL("head.html")); 852 RunHtmlTest(FILE_PATH_LITERAL("head.html"));
848 } 853 }
849 854
850 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) { 855 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) {
851 RunHtmlTest(FILE_PATH_LITERAL("header.html")); 856 RunHtmlTest(FILE_PATH_LITERAL("header.html"));
852 } 857 }
853 858
859 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
860 AccessibilityHeaderInsideOtherSection) {
861 RunHtmlTest(FILE_PATH_LITERAL("header-inside-other-section.html"));
862 }
863
854 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeading) { 864 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeading) {
855 RunHtmlTest(FILE_PATH_LITERAL("heading.html")); 865 RunHtmlTest(FILE_PATH_LITERAL("heading.html"));
856 } 866 }
857 867
858 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHR) { 868 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHR) {
859 RunHtmlTest(FILE_PATH_LITERAL("hr.html")); 869 RunHtmlTest(FILE_PATH_LITERAL("hr.html"));
860 } 870 }
861 871
862 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHTML) { 872 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHTML) {
863 RunHtmlTest(FILE_PATH_LITERAL("html.html")); 873 RunHtmlTest(FILE_PATH_LITERAL("html.html"));
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 // crbug.com/281952 1362 // crbug.com/281952
1353 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1363 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1354 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1364 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1355 } 1365 }
1356 1366
1357 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1367 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1358 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1368 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1359 } 1369 }
1360 1370
1361 } // namespace content 1371 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/test/data/accessibility/html/footer-inside-other-section.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698