| 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 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 588 | 588 |
| 589 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 589 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 590 AccessibilityInputButtonInMenu) { | 590 AccessibilityInputButtonInMenu) { |
| 591 RunTest(FILE_PATH_LITERAL("input-button-in-menu.html")); | 591 RunTest(FILE_PATH_LITERAL("input-button-in-menu.html")); |
| 592 } | 592 } |
| 593 | 593 |
| 594 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputColor) { | 594 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputColor) { |
| 595 RunTest(FILE_PATH_LITERAL("input-color.html")); | 595 RunTest(FILE_PATH_LITERAL("input-color.html")); |
| 596 } | 596 } |
| 597 | 597 |
| 598 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDate) { |
| 599 RunTest(FILE_PATH_LITERAL("input-date.html")); |
| 600 } |
| 601 |
| 602 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDateTime) { |
| 603 RunTest(FILE_PATH_LITERAL("input-datetime.html")); |
| 604 } |
| 605 |
| 606 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 607 AccessibilityInputDateTimeLocal) { |
| 608 RunTest(FILE_PATH_LITERAL("input-datetime-local.html")); |
| 609 } |
| 610 |
| 598 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 611 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 599 AccessibilityInputImageButtonInMenu) { | 612 AccessibilityInputImageButtonInMenu) { |
| 600 RunTest(FILE_PATH_LITERAL("input-image-button-in-menu.html")); | 613 RunTest(FILE_PATH_LITERAL("input-image-button-in-menu.html")); |
| 601 } | 614 } |
| 602 | 615 |
| 616 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputMonth) { |
| 617 RunTest(FILE_PATH_LITERAL("input-month.html")); |
| 618 } |
| 619 |
| 603 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputRange) { | 620 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputRange) { |
| 604 RunTest(FILE_PATH_LITERAL("input-range.html")); | 621 RunTest(FILE_PATH_LITERAL("input-range.html")); |
| 605 } | 622 } |
| 606 | 623 |
| 607 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSearch) { | 624 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputSearch) { |
| 608 RunTest(FILE_PATH_LITERAL("input-search.html")); | 625 RunTest(FILE_PATH_LITERAL("input-search.html")); |
| 609 } | 626 } |
| 610 | 627 |
| 611 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 628 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 612 AccessibilityInputTextNameCalc) { | 629 AccessibilityInputTextNameCalc) { |
| 613 RunTest(FILE_PATH_LITERAL("input-text-name-calc.html")); | 630 RunTest(FILE_PATH_LITERAL("input-text-name-calc.html")); |
| 614 } | 631 } |
| 615 | 632 |
| 616 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTime) { | 633 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputTime) { |
| 617 RunTest(FILE_PATH_LITERAL("input-time.html")); | 634 RunTest(FILE_PATH_LITERAL("input-time.html")); |
| 618 } | 635 } |
| 619 | 636 |
| 620 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree | 637 // crbug.com/98976 will cause new elements to be added to the Blink a11y tree |
| 621 // Re-baseline after the Blink change goes in | 638 // Re-baseline after the Blink change goes in |
| 622 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 639 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 623 DISABLED_AccessibilityInputTypes) { | 640 DISABLED_AccessibilityInputTypes) { |
| 624 RunTest(FILE_PATH_LITERAL("input-types.html")); | 641 RunTest(FILE_PATH_LITERAL("input-types.html")); |
| 625 } | 642 } |
| 626 | 643 |
| 644 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputWeek) { |
| 645 RunTest(FILE_PATH_LITERAL("input-week.html")); |
| 646 } |
| 647 |
| 627 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIns) { | 648 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIns) { |
| 628 RunTest(FILE_PATH_LITERAL("ins.html")); | 649 RunTest(FILE_PATH_LITERAL("ins.html")); |
| 629 } | 650 } |
| 630 | 651 |
| 631 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLabel) { | 652 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLabel) { |
| 632 RunTest(FILE_PATH_LITERAL("label.html")); | 653 RunTest(FILE_PATH_LITERAL("label.html")); |
| 633 } | 654 } |
| 634 | 655 |
| 635 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLandmark) { | 656 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityLandmark) { |
| 636 RunTest(FILE_PATH_LITERAL("landmark.html")); | 657 RunTest(FILE_PATH_LITERAL("landmark.html")); |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 755 | 776 |
| 756 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { | 777 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { |
| 757 RunTest(FILE_PATH_LITERAL("ul.html")); | 778 RunTest(FILE_PATH_LITERAL("ul.html")); |
| 758 } | 779 } |
| 759 | 780 |
| 760 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 781 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
| 761 RunTest(FILE_PATH_LITERAL("wbr.html")); | 782 RunTest(FILE_PATH_LITERAL("wbr.html")); |
| 762 } | 783 } |
| 763 | 784 |
| 764 } // namespace content | 785 } // namespace content |
| OLD | NEW |