OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "app/l10n_util.h" |
5 #include "base/file_path.h" | 6 #include "base/file_path.h" |
6 #include "base/platform_thread.h" | 7 #include "base/platform_thread.h" |
7 #include "base/string_util.h" | 8 #include "base/string_util.h" |
8 #include "chrome/common/l10n_util.h" | |
9 #include "chrome/test/automation/tab_proxy.h" | 9 #include "chrome/test/automation/tab_proxy.h" |
10 #include "chrome/test/automation/browser_proxy.h" | 10 #include "chrome/test/automation/browser_proxy.h" |
11 #include "chrome/test/ui/ui_test.h" | 11 #include "chrome/test/ui/ui_test.h" |
12 #include "grit/generated_resources.h" | 12 #include "grit/generated_resources.h" |
13 #include "net/base/net_util.h" | 13 #include "net/base/net_util.h" |
14 #include "net/url_request/url_request_unittest.h" | 14 #include "net/url_request/url_request_unittest.h" |
15 | 15 |
16 using std::wstring; | 16 using std::wstring; |
17 | 17 |
18 namespace { | 18 namespace { |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
495 scoped_refptr<HTTPTestServer> server = | 495 scoped_refptr<HTTPTestServer> server = |
496 HTTPTestServer::CreateServer(kDocRoot, NULL); | 496 HTTPTestServer::CreateServer(kDocRoot, NULL); |
497 ASSERT_TRUE(NULL != server.get()); | 497 ASSERT_TRUE(NULL != server.get()); |
498 | 498 |
499 ASSERT_TRUE(tab_->NavigateToURL(server->TestServerPage( | 499 ASSERT_TRUE(tab_->NavigateToURL(server->TestServerPage( |
500 "files/session_history/replace.html?no-title.html"))); | 500 "files/session_history/replace.html?no-title.html"))); |
501 EXPECT_EQ(L"", GetTabTitle()); | 501 EXPECT_EQ(L"", GetTabTitle()); |
502 } | 502 } |
503 | 503 |
504 } // namespace | 504 } // namespace |
OLD | NEW |