Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: chrome/browser/chromeos/panels/panel_browsertest.cc

Issue 7532034: Move in_process_browser_test and ui_test_utils to chrome/test/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 "base/command_line.h" 5 #include "base/command_line.h"
6 #include "chrome/browser/chromeos/wm_ipc.h" 6 #include "chrome/browser/chromeos/wm_ipc.h"
7 #include "chrome/browser/ui/browser.h" 7 #include "chrome/browser/ui/browser.h"
8 #include "chrome/browser/ui/browser_list.h" 8 #include "chrome/browser/ui/browser_list.h"
9 #include "chrome/browser/ui/browser_window.h" 9 #include "chrome/browser/ui/browser_window.h"
10 #include "chrome/common/chrome_switches.h" 10 #include "chrome/common/chrome_switches.h"
11 #include "chrome/test/in_process_browser_test.h" 11 #include "chrome/test/base/in_process_browser_test.h"
12 #include "chrome/test/ui_test_utils.h" 12 #include "chrome/test/base/ui_test_utils.h"
13 #include "content/browser/renderer_host/render_view_host.h" 13 #include "content/browser/renderer_host/render_view_host.h"
14 #include "third_party/cros/chromeos_wm_ipc_enums.h" 14 #include "third_party/cros/chromeos_wm_ipc_enums.h"
15 15
16 namespace chromeos { 16 namespace chromeos {
17 17
18 class PanelTest : public InProcessBrowserTest { 18 class PanelTest : public InProcessBrowserTest {
19 public: 19 public:
20 PanelTest() { 20 PanelTest() {
21 EnableDOMAutomation(); 21 EnableDOMAutomation();
22 } 22 }
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 if (*i != browser()) 93 if (*i != browser())
94 new_browser = *i; 94 new_browser = *i;
95 } 95 }
96 EXPECT_FALSE(new_browser); 96 EXPECT_FALSE(new_browser);
97 97
98 // Should find a new tab. 98 // Should find a new tab.
99 EXPECT_EQ(old_tab_count + 1, browser()->tab_count()); 99 EXPECT_EQ(old_tab_count + 1, browser()->tab_count());
100 } 100 }
101 101
102 } // namespace chromeos 102 } // namespace chromeos
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698