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/logging.h" | 9 #include "base/logging.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 | 233 |
234 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 234 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
235 AccessibilityAriaApplication) { | 235 AccessibilityAriaApplication) { |
236 RunTest(FILE_PATH_LITERAL("aria-application.html")); | 236 RunTest(FILE_PATH_LITERAL("aria-application.html")); |
237 } | 237 } |
238 | 238 |
239 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAWithImg) { | 239 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAWithImg) { |
240 RunTest(FILE_PATH_LITERAL("a-with-img.html")); | 240 RunTest(FILE_PATH_LITERAL("a-with-img.html")); |
241 } | 241 } |
242 | 242 |
| 243 // TODO(dimich): Started to fail in Chrome r149732 (crbug 140397) |
| 244 #if defined(OS_WIN) |
| 245 #define MAYBE_AccessibilityContenteditableDescendants \ |
| 246 DISABLED_AccessibilityContenteditableDescendants |
| 247 #else |
| 248 #define MAYBE_AccessibilityContenteditableDescendants \ |
| 249 AccessibilityContenteditableDescendants |
| 250 #endif |
243 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, | 251 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, |
244 AccessibilityContenteditableDescendants) { | 252 MAYBE_AccessibilityContenteditableDescendants) { |
245 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html")); | 253 RunTest(FILE_PATH_LITERAL("contenteditable-descendants.html")); |
246 } | 254 } |
247 | 255 |
248 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFooter) { | 256 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityFooter) { |
249 RunTest(FILE_PATH_LITERAL("footer.html")); | 257 RunTest(FILE_PATH_LITERAL("footer.html")); |
250 } | 258 } |
251 | 259 |
252 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityListMarkers) { | 260 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityListMarkers) { |
253 RunTest(FILE_PATH_LITERAL("list-markers.html")); | 261 RunTest(FILE_PATH_LITERAL("list-markers.html")); |
254 } | 262 } |
255 | 263 |
256 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { | 264 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityUl) { |
257 RunTest(FILE_PATH_LITERAL("ul.html")); | 265 RunTest(FILE_PATH_LITERAL("ul.html")); |
258 } | 266 } |
259 | 267 |
260 } // namespace content | 268 } // namespace content |
OLD | NEW |