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 "base/command_line.h" |
5 #include "chrome/browser/browser.h" | 6 #include "chrome/browser/browser.h" |
6 #include "chrome/browser/browser_init.h" | 7 #include "chrome/browser/browser_init.h" |
7 #include "chrome/browser/browser_list.h" | 8 #include "chrome/browser/browser_list.h" |
8 #include "chrome/browser/browser_window.h" | 9 #include "chrome/browser/browser_window.h" |
9 #include "chrome/browser/tab_contents/tab_contents.h" | 10 #include "chrome/browser/tab_contents/tab_contents.h" |
10 #include "chrome/test/in_process_browser_test.h" | 11 #include "chrome/test/in_process_browser_test.h" |
11 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
12 | 13 |
13 namespace { | 14 namespace { |
14 | 15 |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 81 |
81 // Skip about:blank in the first tab | 82 // Skip about:blank in the first tab |
82 for (int i = 1; i < browser()->tab_count(); i++) { | 83 for (int i = 1; i < browser()->tab_count(); i++) { |
83 const GURL &url = browser()->GetTabContentsAt(i)->GetURL(); | 84 const GURL &url = browser()->GetTabContentsAt(i)->GetURL(); |
84 ASSERT_EQ(url, testurl); | 85 ASSERT_EQ(url, testurl); |
85 } | 86 } |
86 ASSERT_EQ(browser()->tab_count(), 3); | 87 ASSERT_EQ(browser()->tab_count(), 3); |
87 } | 88 } |
88 | 89 |
89 } // namespace | 90 } // namespace |
OLD | NEW |