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

Unified Diff: chrome/browser/media_gallery/media_file_system_registry_unittest.cc

Issue 11297002: [Media Gallery] Added code to support mtp device media file system on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments Created 7 years, 11 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: chrome/browser/media_gallery/media_file_system_registry_unittest.cc
diff --git a/chrome/browser/media_gallery/media_file_system_registry_unittest.cc b/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
index 72c2f496eb571bab8f5ddaf8e81dfbd3e6971ebe..b71c934860ccfac0c521cc97c0e7154ad1ec73c7 100644
--- a/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
@@ -786,7 +786,13 @@ TEST_F(MediaFileSystemRegistryTest, GalleryNameDefault) {
}
}
-#if defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
+#if defined(SUPPORT_MTP_DEVICE_FILESYSTEM) && !defined(OS_WIN)
+// TODO(kmadhusu) : On Windows, this test depends on
+// RemovableDeviceNotificationsWindowWin to get the attached MTP device
+// storage details. Enable this test after refactoring
+// removable_device_notifications_window_win_unittest.cc to share the
+// mock classes (TestRemovableDeviceNotificationsWindowWin,
+// TestPortableDeviceWatcherWin and TestVolumeMountWatcherWin).
TEST_F(MediaFileSystemRegistryTest, GalleryNameMTP) {
std::set<std::string> gallery_names;
InitForGalleryNamesTest(&gallery_names);

Powered by Google App Engine
This is Rietveld 408576698