OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // History UI tests | 5 // History UI tests |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "chrome/browser/view_ids.h" | 8 #include "chrome/browser/ui/view_ids.h" |
9 #include "chrome/test/automation/browser_proxy.h" | 9 #include "chrome/test/automation/browser_proxy.h" |
10 #include "chrome/test/automation/tab_proxy.h" | 10 #include "chrome/test/automation/tab_proxy.h" |
11 #include "chrome/test/automation/window_proxy.h" | 11 #include "chrome/test/automation/window_proxy.h" |
12 #include "chrome/test/ui/ui_test.h" | 12 #include "chrome/test/ui/ui_test.h" |
13 #include "chrome/test/ui_test_utils.h" | 13 #include "chrome/test/ui_test_utils.h" |
14 #include "gfx/rect.h" | 14 #include "gfx/rect.h" |
15 #include "views/event.h" | 15 #include "views/event.h" |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 // the redirect is likely to be user-initiated. | 127 // the redirect is likely to be user-initiated. |
128 // Therefore, Page 21 should be in the history in addition to Page 22. | 128 // Therefore, Page 21 should be in the history in addition to Page 22. |
129 | 129 |
130 const FilePath test_case( | 130 const FilePath test_case( |
131 FILE_PATH_LITERAL("history_length_test_page_21.html")); | 131 FILE_PATH_LITERAL("history_length_test_page_21.html")); |
132 GURL url = ui_test_utils::GetTestUrl(FilePath(kHistoryDir), test_case); | 132 GURL url = ui_test_utils::GetTestUrl(FilePath(kHistoryDir), test_case); |
133 NavigateToURL(url); | 133 NavigateToURL(url); |
134 WaitForFinish("History_Length_Test_21", "1", url, kTestCompleteCookie, | 134 WaitForFinish("History_Length_Test_21", "1", url, kTestCompleteCookie, |
135 kTestCompleteSuccess, action_max_timeout_ms()); | 135 kTestCompleteSuccess, action_max_timeout_ms()); |
136 } | 136 } |
OLD | NEW |