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

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

Issue 2406233003: Sets the readonly state on read-only text fields on Windows. (Closed)
Patch Set: Fixed test expectations. Created 4 years, 2 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 1062 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTel) { 1073 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTel) {
1074 RunHtmlTest(FILE_PATH_LITERAL("input-tel.html")); 1074 RunHtmlTest(FILE_PATH_LITERAL("input-tel.html"));
1075 } 1075 }
1076 1076
1077 // Fails on Android GN bot, see crbug.com/569542. 1077 // Fails on Android GN bot, see crbug.com/569542.
1078 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 1078 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
1079 MAYBE(AccessibilityInputText)) { 1079 MAYBE(AccessibilityInputText)) {
1080 RunHtmlTest(FILE_PATH_LITERAL("input-text.html")); 1080 RunHtmlTest(FILE_PATH_LITERAL("input-text.html"));
1081 } 1081 }
1082 1082
1083 // Fails on Android GN bot, see crbug.com/569542.
1084 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
1085 MAYBE(AccessibilityInputTextReadOnly)) {
1086 RunHtmlTest(FILE_PATH_LITERAL("input-text-read-only.html"));
1087 }
1088
1083 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 1089 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
1084 AccessibilityInputTextNameCalc) { 1090 AccessibilityInputTextNameCalc) {
1085 RunHtmlTest(FILE_PATH_LITERAL("input-text-name-calc.html")); 1091 RunHtmlTest(FILE_PATH_LITERAL("input-text-name-calc.html"));
1086 } 1092 }
1087 1093
1088 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTextValue) { 1094 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTextValue) {
1089 RunHtmlTest(FILE_PATH_LITERAL("input-text-value.html")); 1095 RunHtmlTest(FILE_PATH_LITERAL("input-text-value.html"));
1090 } 1096 }
1091 1097
1092 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 1098 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1342 RunHtmlTest(FILE_PATH_LITERAL("table-spans.html")); 1348 RunHtmlTest(FILE_PATH_LITERAL("table-spans.html"));
1343 } 1349 }
1344 1350
1345 1351
1346 1352
1347 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTextarea) { 1353 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTextarea) {
1348 RunHtmlTest(FILE_PATH_LITERAL("textarea.html")); 1354 RunHtmlTest(FILE_PATH_LITERAL("textarea.html"));
1349 } 1355 }
1350 1356
1351 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 1357 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
1352 AccessibilityTextareaWithSelection) { 1358 AccessibilityTextareaReadOnly) {
1359 RunHtmlTest(FILE_PATH_LITERAL("textarea-read-only.html"));
1360 }
1361
1362 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
1363 AccessibilityTextareaWithSelection) {
1353 RunHtmlTest(FILE_PATH_LITERAL("textarea-with-selection.html")); 1364 RunHtmlTest(FILE_PATH_LITERAL("textarea-with-selection.html"));
1354 } 1365 }
1355 1366
1356 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTime) { 1367 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTime) {
1357 RunHtmlTest(FILE_PATH_LITERAL("time.html")); 1368 RunHtmlTest(FILE_PATH_LITERAL("time.html"));
1358 } 1369 }
1359 1370
1360 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) { 1371 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityTitle) {
1361 RunHtmlTest(FILE_PATH_LITERAL("title.html")); 1372 RunHtmlTest(FILE_PATH_LITERAL("title.html"));
1362 } 1373 }
(...skipping 20 matching lines...) Expand all
1383 // crbug.com/281952 1394 // crbug.com/281952
1384 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1395 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1385 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1396 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1386 } 1397 }
1387 1398
1388 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1399 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1389 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1400 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1390 } 1401 }
1391 1402
1392 } // namespace content 1403 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698