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 <set> | 5 #include <set> |
6 #include <string> | 6 #include <string> |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/strings/string16.h" | 9 #include "base/strings/string16.h" |
10 #include "base/strings/string_util.h" | 10 #include "base/strings/string_util.h" |
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 printf("Final accessibility tree after events fired:\n"); | 129 printf("Final accessibility tree after events fired:\n"); |
130 printf("%s\n", base::UTF16ToUTF8(final_tree_).c_str()); | 130 printf("%s\n", base::UTF16ToUTF8(final_tree_).c_str()); |
131 printf("\n"); | 131 printf("\n"); |
132 } | 132 } |
133 | 133 |
134 // TODO(dmazzoni): port these tests to run on all platforms. | 134 // TODO(dmazzoni): port these tests to run on all platforms. |
135 #if defined(OS_WIN) | 135 #if defined(OS_WIN) |
136 | 136 |
137 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 137 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
138 AccessibilityEventsCheckedStateChanged) { | 138 AccessibilityEventsCheckedStateChanged) { |
139 RunTest(FILE_PATH_LITERAL("events-checked-state-changed.html")); | 139 RunEventTest(FILE_PATH_LITERAL("events-checked-state-changed.html")); |
140 } | 140 } |
141 | 141 |
142 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, | 142 IN_PROC_BROWSER_TEST_F(DumpAccessibilityEventsTest, |
143 AccessibilityEventsInputTypeTextValueChanged) { | 143 AccessibilityEventsInputTypeTextValueChanged) { |
144 RunTest(FILE_PATH_LITERAL("events-input-type-text-value-changed.html")); | 144 RunEventTest(FILE_PATH_LITERAL("events-input-type-text-value-changed.html")); |
145 } | 145 } |
146 | 146 |
147 #endif // defined(OS_WIN) | 147 #endif // defined(OS_WIN) |
148 | 148 |
149 } // namespace content | 149 } // namespace content |
OLD | NEW |