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 <sstream> | 5 #include <sstream> |
6 #include <string> | 6 #include <string> |
7 | 7 |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 GURL broken_url("chrome://theme"); | 326 GURL broken_url("chrome://theme"); |
327 ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, tab->NavigateToURL(broken_url)); | 327 ASSERT_EQ(AUTOMATION_MSG_NAVIGATION_SUCCESS, tab->NavigateToURL(broken_url)); |
328 | 328 |
329 // Make sure the navigation finishes. | 329 // Make sure the navigation finishes. |
330 std::wstring tab_title; | 330 std::wstring tab_title; |
331 EXPECT_TRUE(tab->GetTabTitle(&tab_title)); | 331 EXPECT_TRUE(tab->GetTabTitle(&tab_title)); |
332 EXPECT_EQ(L"chrome://theme/ is not available", tab_title); | 332 EXPECT_EQ(L"chrome://theme/ is not available", tab_title); |
333 } | 333 } |
334 | 334 |
335 } // namespace | 335 } // namespace |
OLD | NEW |