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 1279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1290 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1290 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1291 AccessibilityModalDialogClosed) { | 1291 AccessibilityModalDialogClosed) { |
1292 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html")); | 1292 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-closed.html")); |
1293 } | 1293 } |
1294 | 1294 |
1295 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1295 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1296 AccessibilityModalDialogOpened) { | 1296 AccessibilityModalDialogOpened) { |
1297 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html")); | 1297 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-opened.html")); |
1298 } | 1298 } |
1299 | 1299 |
1300 // Flaky: crbug.com/593846, crbug.com/596514 | |
1301 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1300 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1302 DISABLED_AccessibilityModalDialogInIframeClosed) { | 1301 AccessibilityModalDialogInIframeClosed) { |
1303 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html")); | 1302 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-closed.html")); |
1304 } | 1303 } |
1305 | 1304 |
1306 // Flaky on Windows and Mac: crbug.com/593846 | |
1307 #if defined(OS_WIN) || defined(OS_MACOSX) | |
1308 #define MAYBE_AccessibilityModalDialogInIframeOpened \ | |
1309 DISABLED_AccessibilityModalDialogInIframeOpened | |
1310 #else | |
1311 #define MAYBE_AccessibilityModalDialogInIframeOpened \ | |
1312 AccessibilityModalDialogInIframeOpened | |
1313 #endif | |
1314 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1305 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1315 MAYBE_AccessibilityModalDialogInIframeOpened) { | 1306 AccessibilityModalDialogInIframeOpened) { |
1316 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html")); | 1307 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-in-iframe-opened.html")); |
1317 } | 1308 } |
1318 | 1309 |
1319 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 1310 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
1320 AccessibilityModalDialogStack) { | 1311 AccessibilityModalDialogStack) { |
1321 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-stack.html")); | 1312 RunHtmlTest(FILE_PATH_LITERAL("modal-dialog-stack.html")); |
1322 } | 1313 } |
1323 | 1314 |
1324 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { | 1315 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityNavigation) { |
1325 RunHtmlTest(FILE_PATH_LITERAL("navigation.html")); | 1316 RunHtmlTest(FILE_PATH_LITERAL("navigation.html")); |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1491 // crbug.com/281952 | 1482 // crbug.com/281952 |
1492 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { | 1483 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { |
1493 RunHtmlTest(FILE_PATH_LITERAL("video.html")); | 1484 RunHtmlTest(FILE_PATH_LITERAL("video.html")); |
1494 } | 1485 } |
1495 | 1486 |
1496 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { | 1487 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { |
1497 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); | 1488 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); |
1498 } | 1489 } |
1499 | 1490 |
1500 } // namespace content | 1491 } // namespace content |
OLD | NEW |