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/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 } | 211 } |
212 | 212 |
213 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDialog) { | 213 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDialog) { |
214 RunAriaTest(FILE_PATH_LITERAL("aria-dialog.html")); | 214 RunAriaTest(FILE_PATH_LITERAL("aria-dialog.html")); |
215 } | 215 } |
216 | 216 |
217 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDirectory) { | 217 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDirectory) { |
218 RunAriaTest(FILE_PATH_LITERAL("aria-directory.html")); | 218 RunAriaTest(FILE_PATH_LITERAL("aria-directory.html")); |
219 } | 219 } |
220 | 220 |
| 221 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDisabled) { |
| 222 RunAriaTest(FILE_PATH_LITERAL("aria-disabled.html")); |
| 223 } |
| 224 |
| 225 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaDocument) { |
| 226 RunAriaTest(FILE_PATH_LITERAL("aria-document.html")); |
| 227 } |
| 228 |
221 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaExpanded) { | 229 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaExpanded) { |
222 RunAriaTest(FILE_PATH_LITERAL("aria-expanded.html")); | 230 RunAriaTest(FILE_PATH_LITERAL("aria-expanded.html")); |
223 } | 231 } |
224 | 232 |
225 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHasPopup) { | 233 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHasPopup) { |
226 RunAriaTest(FILE_PATH_LITERAL("aria-haspopup.html")); | 234 RunAriaTest(FILE_PATH_LITERAL("aria-haspopup.html")); |
227 } | 235 } |
228 | 236 |
229 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHeading) { | 237 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaHeading) { |
230 RunAriaTest(FILE_PATH_LITERAL("aria-heading.html")); | 238 RunAriaTest(FILE_PATH_LITERAL("aria-heading.html")); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
276 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 284 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
277 AccessibilityAriaListBoxAriaSelected) { | 285 AccessibilityAriaListBoxAriaSelected) { |
278 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-aria-selected.html")); | 286 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-aria-selected.html")); |
279 } | 287 } |
280 | 288 |
281 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 289 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
282 AccessibilityAriaListBoxChildFocus) { | 290 AccessibilityAriaListBoxChildFocus) { |
283 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-childfocus.html")); | 291 RunAriaTest(FILE_PATH_LITERAL("aria-listbox-childfocus.html")); |
284 } | 292 } |
285 | 293 |
| 294 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaListItem) { |
| 295 RunAriaTest(FILE_PATH_LITERAL("aria-listitem.html")); |
| 296 } |
| 297 |
286 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLive) { | 298 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLive) { |
287 RunAriaTest(FILE_PATH_LITERAL("aria-live.html")); | 299 RunAriaTest(FILE_PATH_LITERAL("aria-live.html")); |
288 } | 300 } |
289 | 301 |
290 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 302 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
291 AccessibilityAriaLiveWithContent) { | 303 AccessibilityAriaLiveWithContent) { |
292 RunAriaTest(FILE_PATH_LITERAL("aria-live-with-content.html")); | 304 RunAriaTest(FILE_PATH_LITERAL("aria-live-with-content.html")); |
293 } | 305 } |
294 | 306 |
295 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLog) { | 307 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaLog) { |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 } | 410 } |
399 | 411 |
400 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRegion) { | 412 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaRegion) { |
401 RunAriaTest(FILE_PATH_LITERAL("aria-region.html")); | 413 RunAriaTest(FILE_PATH_LITERAL("aria-region.html")); |
402 } | 414 } |
403 | 415 |
404 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSearch) { | 416 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSearch) { |
405 RunAriaTest(FILE_PATH_LITERAL("aria-search.html")); | 417 RunAriaTest(FILE_PATH_LITERAL("aria-search.html")); |
406 } | 418 } |
407 | 419 |
| 420 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSelected) { |
| 421 RunAriaTest(FILE_PATH_LITERAL("aria-selected.html")); |
| 422 } |
| 423 |
408 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSeparator) { | 424 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSeparator) { |
409 RunAriaTest(FILE_PATH_LITERAL("aria-separator.html")); | 425 RunAriaTest(FILE_PATH_LITERAL("aria-separator.html")); |
410 } | 426 } |
411 | 427 |
412 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSort) { | 428 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSort) { |
413 RunAriaTest(FILE_PATH_LITERAL("aria-sort.html")); | 429 RunAriaTest(FILE_PATH_LITERAL("aria-sort.html")); |
414 } | 430 } |
415 | 431 |
416 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSlider) { | 432 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSlider) { |
417 RunAriaTest(FILE_PATH_LITERAL("aria-slider.html")); | 433 RunAriaTest(FILE_PATH_LITERAL("aria-slider.html")); |
(...skipping 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 | 990 |
975 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { | 991 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { |
976 RunHtmlTest(FILE_PATH_LITERAL("var.html")); | 992 RunHtmlTest(FILE_PATH_LITERAL("var.html")); |
977 } | 993 } |
978 | 994 |
979 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 995 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
980 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); | 996 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); |
981 } | 997 } |
982 | 998 |
983 } // namespace content | 999 } // namespace content |
OLD | NEW |