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

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

Issue 2348663002: Mac accessibility: only use AXTitleUIElement if that element has valid text. (Closed)
Patch Set: Fix last expectation Created 4 years, 3 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
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 952 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 963
964 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputCheckBox) { 964 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputCheckBox) {
965 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox.html")); 965 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox.html"));
966 } 966 }
967 967
968 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 968 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
969 AccessibilityInputCheckBoxInMenu) { 969 AccessibilityInputCheckBoxInMenu) {
970 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox-in-menu.html")); 970 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox-in-menu.html"));
971 } 971 }
972 972
973 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
974 AccessibilityInputCheckBoxLabel) {
975 RunHtmlTest(FILE_PATH_LITERAL("input-checkbox-label.html"));
976 }
977
973 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputColor) { 978 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputColor) {
974 RunHtmlTest(FILE_PATH_LITERAL("input-color.html")); 979 RunHtmlTest(FILE_PATH_LITERAL("input-color.html"));
975 } 980 }
976 981
977 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDate) { 982 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDate) {
978 RunHtmlTest(FILE_PATH_LITERAL("input-date.html")); 983 RunHtmlTest(FILE_PATH_LITERAL("input-date.html"));
979 } 984 }
980 985
981 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDateTime) { 986 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDateTime) {
982 RunHtmlTest(FILE_PATH_LITERAL("input-datetime.html")); 987 RunHtmlTest(FILE_PATH_LITERAL("input-datetime.html"));
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 // crbug.com/281952 1379 // crbug.com/281952
1375 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1380 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1376 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1381 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1377 } 1382 }
1378 1383
1379 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1384 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1380 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1385 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1381 } 1386 }
1382 1387
1383 } // namespace content 1388 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698