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

Unified Diff: content/browser/debugger/devtools_manager_unittest.cc

Issue 9645003: Introduce abstractions to allow embedders to test RenderViewHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to head. Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/debugger/devtools_manager_unittest.cc
diff --git a/content/browser/debugger/devtools_manager_unittest.cc b/content/browser/debugger/devtools_manager_unittest.cc
index 8adabd68e4e926ff66ec18eae443676a4208843f..7578c0cabf978ce61b4c5aed68683d4b618b77ac 100644
--- a/content/browser/debugger/devtools_manager_unittest.cc
+++ b/content/browser/debugger/devtools_manager_unittest.cc
@@ -22,6 +22,7 @@ using content::DevToolsAgentHostRegistry;
using content::DevToolsClientHost;
using content::DevToolsManager;
using content::DevToolsManagerImpl;
+using content::RenderViewHostImplTestHarness;
using content::WebContents;
namespace {
@@ -111,9 +112,9 @@ class DevToolsManagerTestBrowserClient
} // namespace
-class DevToolsManagerTest : public RenderViewHostTestHarness {
+class DevToolsManagerTest : public RenderViewHostImplTestHarness {
public:
- DevToolsManagerTest() : RenderViewHostTestHarness() {
+ DevToolsManagerTest() {
}
protected:
@@ -180,7 +181,7 @@ TEST_F(DevToolsManagerTest, ForwardMessageToClient) {
}
TEST_F(DevToolsManagerTest, NoUnresponsiveDialogInInspectedTab) {
- content::TestRenderViewHost* inspected_rvh = rvh();
+ content::TestRenderViewHost* inspected_rvh = test_rvh();
inspected_rvh->set_render_view_created(true);
EXPECT_FALSE(contents()->GetDelegate());
TestWebContentsDelegate delegate;
« no previous file with comments | « chrome/test/base/chrome_render_view_host_test_harness.cc ('k') | content/browser/renderer_host/render_view_host_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698