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

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

Issue 1278203002: Fix accessibility tests on Mac 10.10 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months 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) 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/command_line.h" 9 #include "base/command_line.h"
10 #include "base/path_service.h" 10 #include "base/path_service.h"
(...skipping 800 matching lines...) Expand 10 before | Expand all | Expand 10 after
811 } 811 }
812 812
813 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDate) { 813 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDate) {
814 RunHtmlTest(FILE_PATH_LITERAL("input-date.html")); 814 RunHtmlTest(FILE_PATH_LITERAL("input-date.html"));
815 } 815 }
816 816
817 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDateTime) { 817 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputDateTime) {
818 RunHtmlTest(FILE_PATH_LITERAL("input-datetime.html")); 818 RunHtmlTest(FILE_PATH_LITERAL("input-datetime.html"));
819 } 819 }
820 820
821 // Fails on OS X 10.9 and higher <https://crbug.com/430622>.
822 #if !defined(OS_MACOSX)
821 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, 823 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest,
822 AccessibilityInputDateTimeLocal) { 824 AccessibilityInputDateTimeLocal) {
823 #if defined(OS_MACOSX)
824 // Fails on OS X 10.9 <https://crbug.com/430622>.
825 if (base::mac::IsOSMavericks())
826 return;
827 #endif
828 RunHtmlTest(FILE_PATH_LITERAL("input-datetime-local.html")); 825 RunHtmlTest(FILE_PATH_LITERAL("input-datetime-local.html"));
829 } 826 }
827 #endif
830 828
831 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputEmail) { 829 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputEmail) {
832 RunHtmlTest(FILE_PATH_LITERAL("input-email.html")); 830 RunHtmlTest(FILE_PATH_LITERAL("input-email.html"));
833 } 831 }
834 832
835 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputFile) { 833 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputFile) {
836 RunHtmlTest(FILE_PATH_LITERAL("input-file.html")); 834 RunHtmlTest(FILE_PATH_LITERAL("input-file.html"));
837 } 835 }
838 836
839 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputHidden) { 837 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityInputHidden) {
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1189 // crbug.com/281952 1187 // crbug.com/281952
1190 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) { 1188 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, DISABLED_AccessibilityVideo) {
1191 RunHtmlTest(FILE_PATH_LITERAL("video.html")); 1189 RunHtmlTest(FILE_PATH_LITERAL("video.html"));
1192 } 1190 }
1193 1191
1194 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) { 1192 IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityWbr) {
1195 RunHtmlTest(FILE_PATH_LITERAL("wbr.html")); 1193 RunHtmlTest(FILE_PATH_LITERAL("wbr.html"));
1196 } 1194 }
1197 1195
1198 } // namespace content 1196 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698