OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
jam
2011/05/19 17:21:16
i don't think we want to move the whole test file,
| |
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 "base/command_line.h" |
6 #include "chrome/browser/debugger/devtools_manager.h" | 6 #include "chrome/browser/debugger/devtools_manager.h" |
7 #include "chrome/browser/ui/browser.h" | 7 #include "chrome/browser/ui/browser.h" |
8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" | 8 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" |
9 #include "chrome/common/chrome_switches.h" | 9 #include "chrome/common/chrome_switches.h" |
10 #include "chrome/common/url_constants.h" | 10 #include "chrome/common/url_constants.h" |
11 #include "chrome/test/in_process_browser_test.h" | 11 #include "chrome/test/in_process_browser_test.h" |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
254 tab_count++; | 254 tab_count++; |
255 host_count++; | 255 host_count++; |
256 EXPECT_EQ(tab_count, browser()->tab_count()); | 256 EXPECT_EQ(tab_count, browser()->tab_count()); |
257 tab1 = browser()->GetTabContentsAt(tab_count - 1); | 257 tab1 = browser()->GetTabContentsAt(tab_count - 1); |
258 rph3 = tab1->GetRenderProcessHost(); | 258 rph3 = tab1->GetRenderProcessHost(); |
259 EXPECT_EQ(tab1->GetURL(), bookmarks); | 259 EXPECT_EQ(tab1->GetURL(), bookmarks); |
260 EXPECT_EQ(host_count, RenderProcessHostCount()); | 260 EXPECT_EQ(host_count, RenderProcessHostCount()); |
261 EXPECT_NE(rph1, rph3); | 261 EXPECT_NE(rph1, rph3); |
262 EXPECT_NE(rph2, rph3); | 262 EXPECT_NE(rph2, rph3); |
263 } | 263 } |
OLD | NEW |