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

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

Issue 10559036: Added URLRequestContext to constructor for URLRequest. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Converted new unittest. Created 8 years, 6 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/download/download_item_impl_unittest.cc
diff --git a/content/browser/download/download_item_impl_unittest.cc b/content/browser/download/download_item_impl_unittest.cc
index 42c1761af7c14667c1225726c64ed550e3b9d69c..6958a00fd4801299a2267aa8a9f2d80f788c9e8f 100644
--- a/content/browser/download/download_item_impl_unittest.cc
+++ b/content/browser/download/download_item_impl_unittest.cc
@@ -576,9 +576,9 @@ TEST_F(DownloadItemTest, Canceled) {
TEST_F(DownloadItemTest, FileRemoved) {
DownloadItem* item = CreateDownloadItem(DownloadItem::IN_PROGRESS);
- EXPECT_EQ(false, item->GetFileExternallyRemoved());
+ EXPECT_FALSE(item->GetFileExternallyRemoved());
item->OnDownloadedFileRemoved();
- EXPECT_EQ(true, item->GetFileExternallyRemoved());
+ EXPECT_TRUE(item->GetFileExternallyRemoved());
}
TEST(MockDownloadItem, Compiles) {

Powered by Google App Engine
This is Rietveld 408576698