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

Side by Side Diff: chrome/test/base/in_process_browser_test_browsertest.cc

Issue 926653002: Disable InProcessAccessibilityBrowserTest.VerifyAccessibilityPass (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <string.h> 5 #include <string.h>
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/tabs/tab_strip_model.h" 10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 return false; 111 return false;
112 112
113 ui_test_utils::NavigateToURLBlockUntilNavigationsComplete( 113 ui_test_utils::NavigateToURLBlockUntilNavigationsComplete(
114 browser(), url, 1); 114 browser(), url, 1);
115 return true; 115 return true;
116 } 116 }
117 }; 117 };
118 118
119 // Test that an accessible page doesn't fail the accessibility audit. 119 // Test that an accessible page doesn't fail the accessibility audit.
120 IN_PROC_BROWSER_TEST_F( 120 IN_PROC_BROWSER_TEST_F(
121 InProcessAccessibilityBrowserTest, VerifyAccessibilityPass) { 121 InProcessAccessibilityBrowserTest, DISABLED_VerifyAccessibilityPass) {
122 ASSERT_TRUE(NavigateToURL(kPassHTML)); 122 ASSERT_TRUE(NavigateToURL(kPassHTML));
123 123
124 std::string test_result; 124 std::string test_result;
125 EXPECT_TRUE(RunAccessibilityChecks(&test_result)); 125 EXPECT_TRUE(RunAccessibilityChecks(&test_result));
126 126
127 // No error message on success. 127 // No error message on success.
128 EXPECT_EQ("", test_result); 128 EXPECT_EQ("", test_result);
129 } 129 }
130 130
131 // Test that a page that is not accessible will fail the accessibility audit. 131 // Test that a page that is not accessible will fail the accessibility audit.
132 IN_PROC_BROWSER_TEST_F( 132 IN_PROC_BROWSER_TEST_F(
133 InProcessAccessibilityBrowserTest, VerifyAccessibilityFail) { 133 InProcessAccessibilityBrowserTest, VerifyAccessibilityFail) {
134 ASSERT_TRUE(NavigateToURL(kFailHTML)); 134 ASSERT_TRUE(NavigateToURL(kFailHTML));
135 135
136 std::string test_result; 136 std::string test_result;
137 EXPECT_FALSE(RunAccessibilityChecks(&test_result)); 137 EXPECT_FALSE(RunAccessibilityChecks(&test_result));
138 138
139 // Error should NOT be empty on failure. 139 // Error should NOT be empty on failure.
140 EXPECT_NE("", test_result); 140 EXPECT_NE("", test_result);
141 } 141 }
142 142
143 } // namespace 143 } // namespace
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698