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

Side by Side Diff: chrome/test/base/browser_with_test_window_test.h

Issue 7616019: Reorganize chrome/test, part #9 (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 #ifndef CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 5 #ifndef CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 6 #define CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "chrome/browser/ui/browser.h" 10 #include "chrome/browser/ui/browser.h"
11 #include "chrome/test/base/test_browser_window.h" 11 #include "chrome/test/base/test_browser_window.h"
12 #include "chrome/test/base/testing_browser_process_test.h"
12 #include "chrome/test/base/testing_profile.h" 13 #include "chrome/test/base/testing_profile.h"
13 #include "chrome/test/testing_browser_process_test.h"
14 #include "content/browser/browser_thread.h" 14 #include "content/browser/browser_thread.h"
15 #include "content/browser/renderer_host/test_render_view_host.h" 15 #include "content/browser/renderer_host/test_render_view_host.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 class GURL; 18 class GURL;
19 class NavigationController; 19 class NavigationController;
20 20
21 // Base class for browser based unit tests. BrowserWithTestWindowTest creates a 21 // Base class for browser based unit tests. BrowserWithTestWindowTest creates a
22 // Browser with a TestingProfile and TestBrowserWindow. To add a tab use 22 // Browser with a TestingProfile and TestBrowserWindow. To add a tab use
23 // AddTestingTab. For example, the following adds a tab and navigates to 23 // AddTestingTab. For example, the following adds a tab and navigates to
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 scoped_ptr<TestBrowserWindow> window_; 104 scoped_ptr<TestBrowserWindow> window_;
105 scoped_ptr<Browser> browser_; 105 scoped_ptr<Browser> browser_;
106 106
107 MockRenderProcessHostFactory rph_factory_; 107 MockRenderProcessHostFactory rph_factory_;
108 TestRenderViewHostFactory rvh_factory_; 108 TestRenderViewHostFactory rvh_factory_;
109 109
110 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest); 110 DISALLOW_COPY_AND_ASSIGN(BrowserWithTestWindowTest);
111 }; 111 };
112 112
113 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_ 113 #endif // CHROME_TEST_BASE_BROWSER_WITH_TEST_WINDOW_TEST_H_
OLDNEW
« no previous file with comments | « chrome/common/net/gaia/gaia_oauth_client_unittest.cc ('k') | chrome/test/base/chrome_test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698