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 1071 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1082 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1082 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1083 AccessibilityModalDialogClosed) { | 1083 AccessibilityModalDialogClosed) { |
1084 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html")); | 1084 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html")); |
1085 } | 1085 } |
1086 | 1086 |
1087 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1087 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1088 AccessibilityModalDialogOpened) { | 1088 AccessibilityModalDialogOpened) { |
1089 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html")); | 1089 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html")); |
1090 } | 1090 } |
1091 | 1091 |
| 1092 // Flaky on Windows: crbug.com/593846 |
1092 #if defined(OS_WIN) | 1093 #if defined(OS_WIN) |
1093 #define MAYBE_AccessibilityModalDialogInIframeClosed \ | 1094 #define MAYBE_AccessibilityModalDialogInIframeClosed \ |
1094 DISABLED_AccessibilityModalDialogInIframeClosed | 1095 DISABLED_AccessibilityModalDialogInIframeClosed |
1095 #else | 1096 #else |
1096 #define MAYBE_AccessibilityModalDialogInIframeClosed \ | 1097 #define MAYBE_AccessibilityModalDialogInIframeClosed \ |
1097 AccessibilityModalDialogInIframeClosed | 1098 AccessibilityModalDialogInIframeClosed |
1098 #endif | 1099 #endif |
1099 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1100 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1100 MAYBE_AccessibilityModalDialogInIframeClosed) { | 1101 MAYBE_AccessibilityModalDialogInIframeClosed) { |
1101 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html")); | 1102 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html")); |
1102 } | 1103 } |
1103 | 1104 |
| 1105 // Flaky on Windows: crbug.com/593846 |
| 1106 #if defined(OS_WIN) |
| 1107 #define MAYBE_AccessibilityModalDialogInIframeOpened \ |
| 1108 DISABLED_AccessibilityModalDialogInIframeOpened |
| 1109 #else |
| 1110 #define MAYBE_AccessibilityModalDialogInIframeOpened \ |
| 1111 AccessibilityModalDialogInIframeOpened |
| 1112 #endif |
1104 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1113 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1105 AccessibilityModalDialogInIframeOpened) { | 1114 MAYBE_AccessibilityModalDialogInIframeOpened) { |
1106 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html")); | 1115 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html")); |
1107 } | 1116 } |
1108 | 1117 |
1109 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1118 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1110 AccessibilityModalDialogStack) { | 1119 AccessibilityModalDialogStack) { |
1111 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-stack.html")); | 1120 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-stack.html")); |
1112 } | 1121 } |
1113 | 1122 |
1114 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { | 1123 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { |
1115 RunHtmlTest(FILE_PATH_LITERAL("navigation.html")); | 1124 RunHtmlTest(FILE_PATH_LITERAL("navigation.html")); |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1276 // crbug.com/281952 | 1285 // crbug.com/281952 |
1277 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { | 1286 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { |
1278 RunHtmlTest(FILE_PATH_LITERAL("video.html")); | 1287 RunHtmlTest(FILE_PATH_LITERAL("video.html")); |
1279 } | 1288 } |
1280 | 1289 |
1281 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1290 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
1282 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); | 1291 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); |
1283 } | 1292 } |
1284 | 1293 |
1285 } // namespace content | 1294 } // namespace content |
OLD | NEW |