diff options
author | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 19:04:50 +0000 |
---|---|---|
committer | jrg@chromium.org <jrg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-27 19:04:50 +0000 |
commit | 2c62b561f63579ac835af49ba233c56ca03417ca (patch) | |
tree | 83db5b274cfc8d90b126f473268eb78fcfb97e8d /chrome/renderer/render_view_unittest.cc | |
parent | 3bfd411d26d35f46fd0b2b11e0849f0acc174e39 (diff) | |
download | chromium_src-2c62b561f63579ac835af49ba233c56ca03417ca.zip chromium_src-2c62b561f63579ac835af49ba233c56ca03417ca.tar.gz chromium_src-2c62b561f63579ac835af49ba233c56ca03417ca.tar.bz2 |
render_* work.
Review URL: http://codereview.chromium.org/18650
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8732 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view_unittest.cc')
-rw-r--r-- | chrome/renderer/render_view_unittest.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/renderer/render_view_unittest.cc b/chrome/renderer/render_view_unittest.cc index ffb61ad..c3b2fd3 100644 --- a/chrome/renderer/render_view_unittest.cc +++ b/chrome/renderer/render_view_unittest.cc @@ -16,6 +16,8 @@ namespace { const int32 kRouteId = 5; const int32 kOpenerId = 7; +}; + class RenderViewTest : public testing::Test { public: RenderViewTest() {} @@ -86,7 +88,6 @@ class RenderViewTest : public testing::Test { scoped_refptr<RenderView> view_; }; -} // namespace TEST_F(RenderViewTest, OnLoadAlternateHTMLText) { // Test a new navigation. @@ -96,7 +97,7 @@ TEST_F(RenderViewTest, OnLoadAlternateHTMLText) { // We should have gotten two different types of start messages in the // following order. - ASSERT_EQ(2, render_thread_.sink().message_count()); + ASSERT_EQ((size_t)2, render_thread_.sink().message_count()); const IPC::Message* msg = render_thread_.sink().GetMessageAt(0); EXPECT_EQ(ViewHostMsg_DidStartLoading::ID, msg->type()); |