| OLD | NEW |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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 <stddef.h> | 5 #include <stddef.h> |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 155 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 156 AccessibilityEventsAriaComboBoxCollapse) { | 156 AccessibilityEventsAriaComboBoxCollapse) { |
| 157 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-collapse.html")); | 157 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-collapse.html")); |
| 158 } | 158 } |
| 159 | 159 |
| 160 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 160 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 161 AccessibilityEventsAriaComboBoxExpand) { | 161 AccessibilityEventsAriaComboBoxExpand) { |
| 162 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-expand.html")); | 162 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-expand.html")); |
| 163 } | 163 } |
| 164 | 164 |
| 165 #if defined(OS_MACOSX) |
| 166 // crbug.com/615411 |
| 167 #define MAYBE_AccessibilityEventsAriaComboBoxFocus \ |
| 168 DISABLED_AccessibilityEventsAriaComboBoxFocus |
| 169 #else |
| 170 #define MAYBE_AccessibilityEventsAriaComboBoxFocus \ |
| 171 AccessibilityEventsAriaComboBoxFocus |
| 172 #endif |
| 165 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 173 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 166 AccessibilityEventsAriaComboBoxFocus) { | 174 MAYBE_AccessibilityEventsAriaComboBoxFocus) { |
| 167 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-focus.html")); | 175 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-focus.html")); |
| 168 } | 176 } |
| 169 | 177 |
| 170 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 178 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 171 AccessibilityEventsAriaComboBoxNext) { | 179 AccessibilityEventsAriaComboBoxNext) { |
| 172 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-next.html")); | 180 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-next.html")); |
| 173 } | 181 } |
| 174 | 182 |
| 175 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 183 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 176 AccessibilityEventsAddAlert) { | 184 AccessibilityEventsAddAlert) { |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 AccessibilityEventsListboxNext) { | 259 AccessibilityEventsListboxNext) { |
| 252 RunEventTest(FILE_PATH_LITERAL("listbox-next.html")); | 260 RunEventTest(FILE_PATH_LITERAL("listbox-next.html")); |
| 253 } | 261 } |
| 254 | 262 |
| 255 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 263 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 256 AccessibilityEventsMenuListCollapse) { | 264 AccessibilityEventsMenuListCollapse) { |
| 257 RunEventTest(FILE_PATH_LITERAL("menulist-collapse.html")); | 265 RunEventTest(FILE_PATH_LITERAL("menulist-collapse.html")); |
| 258 } | 266 } |
| 259 | 267 |
| 260 #if defined(OS_MACOSX) | 268 #if defined(OS_MACOSX) |
| 261 // Crashes on Mac. | 269 // crbug.com/615411 |
| 262 #define MAYBE_AccessibilityEventsMenuListExpand \ | 270 #define MAYBE_AccessibilityEventsMenuListExpand \ |
| 263 DISABLED_AccessibilityEventsMenuListExpand | 271 DISABLED_AccessibilityEventsMenuListExpand |
| 264 #else | 272 #else |
| 265 #define MAYBE_AccessibilityEventsMenuListExpand \ | 273 #define MAYBE_AccessibilityEventsMenuListExpand \ |
| 266 AccessibilityEventsMenuListExpand | 274 AccessibilityEventsMenuListExpand |
| 267 #endif | 275 #endif |
| 268 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 276 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 269 MAYBE_AccessibilityEventsMenuListExpand) { | 277 MAYBE_AccessibilityEventsMenuListExpand) { |
| 270 RunEventTest(FILE_PATH_LITERAL("menulist-expand.html")); | 278 RunEventTest(FILE_PATH_LITERAL("menulist-expand.html")); |
| 271 } | 279 } |
| 272 | 280 |
| 273 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 281 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 274 AccessibilityEventsMenuListFocus) { | 282 AccessibilityEventsMenuListFocus) { |
| 275 RunEventTest(FILE_PATH_LITERAL("menulist-focus.html")); | 283 RunEventTest(FILE_PATH_LITERAL("menulist-focus.html")); |
| 276 } | 284 } |
| 277 | 285 |
| 278 #if defined(OS_MACOSX) | 286 #if defined(OS_MACOSX) |
| 279 // Crashes on Mac. | 287 // crbug.com/615411 |
| 280 #define MAYBE_AccessibilityEventsMenuListNext \ | 288 #define MAYBE_AccessibilityEventsMenuListNext \ |
| 281 DISABLED_AccessibilityEventsMenuListNext | 289 DISABLED_AccessibilityEventsMenuListNext |
| 282 #else | 290 #else |
| 283 #define MAYBE_AccessibilityEventsMenuListNext AccessibilityEventsMenuListNext | 291 #define MAYBE_AccessibilityEventsMenuListNext AccessibilityEventsMenuListNext |
| 284 #endif | 292 #endif |
| 285 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 293 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 286 MAYBE_AccessibilityEventsMenuListNext) { | 294 MAYBE_AccessibilityEventsMenuListNext) { |
| 287 RunEventTest(FILE_PATH_LITERAL("menulist-next.html")); | 295 RunEventTest(FILE_PATH_LITERAL("menulist-next.html")); |
| 288 } | 296 } |
| 289 | 297 |
| (...skipping 30 matching lines...) Expand all Loading... |
| 320 } | 328 } |
| 321 | 329 |
| 322 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 330 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 323 AccessibilityEventsTextChanged) { | 331 AccessibilityEventsTextChanged) { |
| 324 RunEventTest(FILE_PATH_LITERAL("text-changed.html")); | 332 RunEventTest(FILE_PATH_LITERAL("text-changed.html")); |
| 325 } | 333 } |
| 326 | 334 |
| 327 #endif // defined(OS_WIN) | 335 #endif // defined(OS_WIN) |
| 328 | 336 |
| 329 } // namespace content | 337 } // namespace content |
| OLD | NEW |