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

Unified Diff: content/renderer/external_popup_menu_unittest.cc

Issue 8230034: Split most of RenderViewTest and associated classes into content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build breaks. Created 9 years, 2 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
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/external_popup_menu_unittest.cc
diff --git a/content/renderer/external_popup_menu_unittest.cc b/content/renderer/external_popup_menu_unittest.cc
index e6578e7673d4a44d4d56b1b3c718453bfa7f812e..1ff88d5c71deb7117d97bde7428dd5cefdbd3484 100644
--- a/content/renderer/external_popup_menu_unittest.cc
+++ b/content/renderer/external_popup_menu_unittest.cc
@@ -3,9 +3,9 @@
// found in the LICENSE file.
#include "base/utf_string_conversions.h"
-#include "chrome/test/base/render_view_test.h"
#include "content/common/view_messages.h"
#include "content/renderer/render_view_impl.h"
+#include "content/test/render_view_test.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebView.h"
@@ -19,7 +19,7 @@ const char* const kEmptySelectID = "myEmptySelect";
} // namespace
-class ExternalPopupMenuTest : public RenderViewTest {
+class ExternalPopupMenuTest : public content::RenderViewTest {
public:
ExternalPopupMenuTest() {}
@@ -28,7 +28,7 @@ class ExternalPopupMenuTest : public RenderViewTest {
}
virtual void SetUp() {
- RenderViewTest::SetUp();
+ content::RenderViewTest::SetUp();
// We need to set this explictly as RenderMain is not run.
WebKit::WebView::setUseExternalPopupMenus(true);
@@ -71,7 +71,7 @@ class ExternalPopupMenuTest : public RenderViewTest {
// Normal case: test showing a select popup, canceling/selecting an item.
TEST_F(ExternalPopupMenuTest, NormalCase) {
- IPC::TestSink& sink = render_thread_.sink();
+ IPC::TestSink& sink = render_thread_->sink();
// Click the text field once.
EXPECT_TRUE(SimulateElementClick(kSelectID));
« no previous file with comments | « content/content_tests.gypi ('k') | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698