| 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 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 } | 760 } |
| 761 | 761 |
| 762 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) { | 762 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeader) { |
| 763 RunTest(FILE_PATH_LITERAL("header.html")); | 763 RunTest(FILE_PATH_LITERAL("header.html")); |
| 764 } | 764 } |
| 765 | 765 |
| 766 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeading) { | 766 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHeading) { |
| 767 RunTest(FILE_PATH_LITERAL("heading.html")); | 767 RunTest(FILE_PATH_LITERAL("heading.html")); |
| 768 } | 768 } |
| 769 | 769 |
| 770 // Disabling temporarily. Will Enable once blink returns correct | 770 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityHR) { |
| 771 // role for hr tag. | |
| 772 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | |
| 773 DISABLED_AccessibilityHR) { | |
| 774 RunTest(FILE_PATH_LITERAL("hr.html")); | 771 RunTest(FILE_PATH_LITERAL("hr.html")); |
| 775 } | 772 } |
| 776 | 773 |
| 777 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) { | 774 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityI) { |
| 778 RunTest(FILE_PATH_LITERAL("i.html")); | 775 RunTest(FILE_PATH_LITERAL("i.html")); |
| 779 } | 776 } |
| 780 | 777 |
| 781 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) { | 778 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityIframe) { |
| 782 RunTest(FILE_PATH_LITERAL("iframe.html")); | 779 RunTest(FILE_PATH_LITERAL("iframe.html")); |
| 783 } | 780 } |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 824 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 821 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 825 AccessibilityInputDateTimeLocal) { | 822 AccessibilityInputDateTimeLocal) { |
| 826 #if defined(OS_MACOSX) | 823 #if defined(OS_MACOSX) |
| 827 // Fails on OS X 10.9 <https://crbug.com/430622>. | 824 // Fails on OS X 10.9 <https://crbug.com/430622>. |
| 828 if (base::mac::IsOSMavericks()) | 825 if (base::mac::IsOSMavericks()) |
| 829 return; | 826 return; |
| 830 #endif | 827 #endif |
| 831 RunTest(FILE_PATH_LITERAL("input-datetime-local.html")); | 828 RunTest(FILE_PATH_LITERAL("input-datetime-local.html")); |
| 832 } | 829 } |
| 833 | 830 |
| 831 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputFile) { |
| 832 RunTest(FILE_PATH_LITERAL("input-file.html")); |
| 833 } |
| 834 |
| 834 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 835 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 835 AccessibilityInputImageButtonInMenu) { | 836 AccessibilityInputImageButtonInMenu) { |
| 836 RunTest(FILE_PATH_LITERAL("input-image-button-in-menu.html")); | 837 RunTest(FILE_PATH_LITERAL("input-image-button-in-menu.html")); |
| 837 } | 838 } |
| 838 | 839 |
| 839 // crbug.com/423675 - AX tree is different for Win7 and Win8. | 840 // crbug.com/423675 - AX tree is different for Win7 and Win8. |
| 840 #if defined(OS_WIN) | 841 #if defined(OS_WIN) |
| 841 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 842 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
| 842 DISABLED_AccessibilityInputMonth) { | 843 DISABLED_AccessibilityInputMonth) { |
| 843 RunTest(FILE_PATH_LITERAL("input-month.html")); | 844 RunTest(FILE_PATH_LITERAL("input-month.html")); |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1112 | 1113 |
| 1113 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { | 1114 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityVar) { |
| 1114 RunTest(FILE_PATH_LITERAL("var.html")); | 1115 RunTest(FILE_PATH_LITERAL("var.html")); |
| 1115 } | 1116 } |
| 1116 | 1117 |
| 1117 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1118 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
| 1118 RunTest(FILE_PATH_LITERAL("wbr.html")); | 1119 RunTest(FILE_PATH_LITERAL("wbr.html")); |
| 1119 } | 1120 } |
| 1120 | 1121 |
| 1121 } // namespace content | 1122 } // namespace content |
| OLD | NEW |