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

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

Issue 11416089: [Media Galleries] Filesystem interface for Mac PTP/MTP devices using ImageCaptureCore (part 3) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Disable GalleryNameMTP test for mac Created 7 years, 10 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 bcf02eb2ead8805ea59f10af3d2cb593a84597a7..311790cc491f0437b9825584849d836cf59f00ea 100644
--- a/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
+++ b/chrome/browser/media_gallery/media_file_system_registry_unittest.cc
@@ -878,7 +878,11 @@ TEST_F(MediaFileSystemRegistryTest, GalleryNameDefault) {
}
}
+// TODO(gbillock): Put the platform-specific parts of this test in tests
+// for those classes, not here. This test, internally, ends up creating an
+// MTP delegate.
#if defined(SUPPORT_MTP_DEVICE_FILESYSTEM)
+#if !defined(OS_MACOSX)
TEST_F(MediaFileSystemRegistryTest, GalleryNameMTP) {
FSInfoMap galleries_info;
InitForGalleriesInfoTest(&galleries_info);
@@ -895,6 +899,7 @@ TEST_F(MediaFileSystemRegistryTest, GalleryNameMTP) {
true /*removable*/, true /* media device */);
}
#endif
+#endif
TEST_F(MediaFileSystemRegistryTest, GalleryNameDCIM) {
FSInfoMap galleries_info;

Powered by Google App Engine
This is Rietveld 408576698