OLD | NEW |
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 <stddef.h> |
5 #include <string.h> | 6 #include <string.h> |
6 | 7 |
7 #include "base/files/file_util.h" | 8 #include "base/files/file_util.h" |
| 9 #include "base/macros.h" |
8 #include "base/path_service.h" | 10 #include "base/path_service.h" |
9 #include "chrome/browser/after_startup_task_utils.h" | 11 #include "chrome/browser/after_startup_task_utils.h" |
10 #include "chrome/browser/ui/browser.h" | 12 #include "chrome/browser/ui/browser.h" |
11 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 13 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
12 #include "chrome/test/base/in_process_browser_test.h" | 14 #include "chrome/test/base/in_process_browser_test.h" |
13 #include "chrome/test/base/ui_test_utils.h" | 15 #include "chrome/test/base/ui_test_utils.h" |
14 #include "content/public/browser/render_view_host.h" | 16 #include "content/public/browser/render_view_host.h" |
15 #include "content/public/browser/web_contents.h" | 17 #include "content/public/browser/web_contents.h" |
16 #include "content/public/browser/web_contents_observer.h" | 18 #include "content/public/browser/web_contents_observer.h" |
17 #include "net/base/filename_util.h" | 19 #include "net/base/filename_util.h" |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 ASSERT_TRUE(NavigateToURL(kFailHTML)); | 144 ASSERT_TRUE(NavigateToURL(kFailHTML)); |
143 | 145 |
144 std::string test_result; | 146 std::string test_result; |
145 EXPECT_FALSE(RunAccessibilityChecks(&test_result)); | 147 EXPECT_FALSE(RunAccessibilityChecks(&test_result)); |
146 | 148 |
147 // Error should NOT be empty on failure. | 149 // Error should NOT be empty on failure. |
148 EXPECT_NE("", test_result); | 150 EXPECT_NE("", test_result); |
149 } | 151 } |
150 | 152 |
151 } // namespace | 153 } // namespace |
OLD | NEW |