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

Unified Diff: content/browser/download/base_file_unittest.cc

Issue 10831302: Download resumption - Preliminary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed signed/unsigned compare issue. Created 8 years, 1 month 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/browser/download/base_file.cc ('k') | content/browser/download/download_create_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/base_file_unittest.cc
diff --git a/content/browser/download/base_file_unittest.cc b/content/browser/download/base_file_unittest.cc
index 033cd783aa3b0c773c550e2cb7ce8f942624cf73..492ff43867ca057d7615a384bf29fc5e02974626 100644
--- a/content/browser/download/base_file_unittest.cc
+++ b/content/browser/download/base_file_unittest.cc
@@ -398,7 +398,7 @@ TEST_F(BaseFileTest, MultipleWritesInterruptedWithHash) {
hash_state,
scoped_ptr<net::FileStream>(),
net::BoundNetLog());
- ASSERT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE,
+ ASSERT_EQ(DOWNLOAD_INTERRUPT_REASON_FILE_FAILED,
second_file.Initialize(temp_dir_.path()));
std::string data(kTestData3);
EXPECT_EQ(DOWNLOAD_INTERRUPT_REASON_NONE,
« no previous file with comments | « content/browser/download/base_file.cc ('k') | content/browser/download/download_create_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698