| 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA, &dir_test_data)); | 143 ASSERT_TRUE(PathService::Get(DIR_TEST_DATA, &dir_test_data)); |
| 144 base::FilePath test_path(dir_test_data.AppendASCII("accessibility") | 144 base::FilePath test_path(dir_test_data.AppendASCII("accessibility") |
| 145 .AppendASCII("event")); | 145 .AppendASCII("event")); |
| 146 ASSERT_TRUE(base::PathExists(test_path)) << test_path.LossyDisplayName(); | 146 ASSERT_TRUE(base::PathExists(test_path)) << test_path.LossyDisplayName(); |
| 147 | 147 |
| 148 base::FilePath event_file = test_path.Append(base::FilePath(file_path)); | 148 base::FilePath event_file = test_path.Append(base::FilePath(file_path)); |
| 149 RunTest(event_file, "accessibility/event"); | 149 RunTest(event_file, "accessibility/event"); |
| 150 } | 150 } |
| 151 | 151 |
| 152 // TODO(dmazzoni): port these tests to run on all platforms. | 152 // TODO(dmazzoni): port these tests to run on all platforms. |
| 153 #if defined(OS_WIN) || defined(OS_MACOSX) | 153 // TODO(crbug.com/617146): All tests flaky on Windows 8. |
| 154 #if /*defined(OS_WIN) ||*/ defined(OS_MACOSX) |
| 154 | 155 |
| 155 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 156 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 156 AccessibilityEventsAriaComboBoxCollapse) { | 157 AccessibilityEventsAriaComboBoxCollapse) { |
| 157 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-collapse.html")); | 158 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-collapse.html")); |
| 158 } | 159 } |
| 159 | 160 |
| 160 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 161 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 161 AccessibilityEventsAriaComboBoxExpand) { | 162 AccessibilityEventsAriaComboBoxExpand) { |
| 162 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-expand.html")); | 163 RunEventTest(FILE_PATH_LITERAL("aria-combo-box-expand.html")); |
| 163 } | 164 } |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 } | 329 } |
| 329 | 330 |
| 330 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 331 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
| 331 AccessibilityEventsTextChanged) { | 332 AccessibilityEventsTextChanged) { |
| 332 RunEventTest(FILE_PATH_LITERAL("text-changed.html")); | 333 RunEventTest(FILE_PATH_LITERAL("text-changed.html")); |
| 333 } | 334 } |
| 334 | 335 |
| 335 #endif // defined(OS_WIN) | 336 #endif // defined(OS_WIN) |
| 336 | 337 |
| 337 } // namespace content | 338 } // namespace content |
| OLD | NEW |