| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "chrome/app/chrome_dll_resource.h" | 5 #include "chrome/app/chrome_command_ids.h" |
| 6 #include "chrome/common/url_constants.h" | 6 #include "chrome/common/url_constants.h" |
| 7 #include "chrome/test/automated_ui_tests/automated_ui_test_base.h" | 7 #include "chrome/test/automated_ui_tests/automated_ui_test_base.h" |
| 8 #include "chrome/test/automation/browser_proxy.h" | 8 #include "chrome/test/automation/browser_proxy.h" |
| 9 #include "chrome/test/automation/tab_proxy.h" | 9 #include "chrome/test/automation/tab_proxy.h" |
| 10 #include "chrome/test/ui/ui_test.h" | 10 #include "chrome/test/ui/ui_test.h" |
| 11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
| 12 #include "net/base/net_util.h" | 12 #include "net/base/net_util.h" |
| 13 | 13 |
| 14 TEST_F(AutomatedUITestBase, FindInPage) { | 14 TEST_F(AutomatedUITestBase, FindInPage) { |
| 15 ASSERT_TRUE(FindInPage()); | 15 ASSERT_TRUE(FindInPage()); |
| (...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 ASSERT_TRUE(GetActiveTab()->GetCurrentURL(&url)); | 362 ASSERT_TRUE(GetActiveTab()->GetCurrentURL(&url)); |
| 363 ASSERT_EQ(GURL(chrome::kChromeUIDownloadsURL), url); | 363 ASSERT_EQ(GURL(chrome::kChromeUIDownloadsURL), url); |
| 364 } | 364 } |
| 365 | 365 |
| 366 TEST_F(AutomatedUITestBase, ShowHistory) { | 366 TEST_F(AutomatedUITestBase, ShowHistory) { |
| 367 ASSERT_TRUE(ShowHistory()); | 367 ASSERT_TRUE(ShowHistory()); |
| 368 GURL url; | 368 GURL url; |
| 369 ASSERT_TRUE(GetActiveTab()->GetCurrentURL(&url)); | 369 ASSERT_TRUE(GetActiveTab()->GetCurrentURL(&url)); |
| 370 ASSERT_EQ(GURL(chrome::kChromeUIHistoryURL), url); | 370 ASSERT_EQ(GURL(chrome::kChromeUIHistoryURL), url); |
| 371 } | 371 } |
| OLD | NEW |