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

Unified Diff: chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc

Issue 3052014: Fix unit tests for the ResourceDispatcherHost.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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 | « no previous file | chrome/test/data/valgrind/unit_tests.gtest_mac.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc
===================================================================
--- chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc (revision 53759)
+++ chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc (working copy)
@@ -73,6 +73,7 @@
request.resource_type = type;
request.request_context = 0;
request.appcache_host_id = appcache::kNoHostId;
+ request.download_to_file = false;
request.host_renderer_id = -1;
request.host_render_view_id = -1;
return request;
@@ -309,7 +310,7 @@
//
// This function verifies that we received 4 messages and that they
// are appropriate.
- ASSERT_EQ(messages.size(), 3U);
+ ASSERT_EQ(3U, messages.size());
// The first messages should be received response
ASSERT_EQ(ViewMsg_Resource_ReceivedResponse::ID, messages[0].type());
« no previous file with comments | « no previous file | chrome/test/data/valgrind/unit_tests.gtest_mac.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698