Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(103)

Side by Side Diff: content/browser/accessibility/dump_accessibility_events_browsertest.cc

Issue 815463006: Separating ARIA, HTML & event AX test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updating new image for bullet Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698