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

Unified Diff: chrome/browser/download/download_item_unittest.cc

Issue 8503018: Split DownloadItem into an ABC, an Impl, and a Mock. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: " Created 9 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 | « no previous file | content/browser/download/download_item.h » ('j') | content/browser/download/download_item.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_item_unittest.cc
diff --git a/chrome/browser/download/download_item_unittest.cc b/chrome/browser/download/download_item_unittest.cc
index 45f634b60c80fa984c69551bb27a21a4cc33f552..99a50125854039b4bdab2a7a6e4d5041d684b159 100644
--- a/chrome/browser/download/download_item_unittest.cc
+++ b/chrome/browser/download/download_item_unittest.cc
@@ -10,6 +10,7 @@
#include "content/browser/download/download_item.h"
#include "content/browser/download/download_status_updater.h"
#include "content/browser/download/interrupt_reasons.h"
+#include "content/browser/download/mock_download_item.h"
#include "content/browser/download/mock_download_manager.h"
#include "content/browser/download/mock_download_manager_delegate.h"
#include "content/test/test_browser_thread.h"
@@ -251,3 +252,7 @@ TEST_F(DownloadItemTest, NotificationAfterTogglePause) {
item->TogglePause();
ASSERT_TRUE(observer.CheckUpdated());
}
+
+TEST(MockDownloadItem, Compiles) {
+ MockDownloadItem mock_item;
+}
« no previous file with comments | « no previous file | content/browser/download/download_item.h » ('j') | content/browser/download/download_item.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698