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

Unified Diff: base/path_service_unittest.cc

Issue 10970019: Fix PathServiceTest.Get on iOS. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Return false on iOS. Created 8 years, 3 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
« no previous file with comments | « base/base_paths_mac.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/path_service_unittest.cc
diff --git a/base/path_service_unittest.cc b/base/path_service_unittest.cc
index 158b7457003d011a72e6a74088ef3fb2bf8a63ac..e4bda0ca6e6d2fd1a54956bb60a033e99067d036 100644
--- a/base/path_service_unittest.cc
+++ b/base/path_service_unittest.cc
@@ -82,6 +82,9 @@ TEST_F(PathServiceTest, Get) {
#if defined(OS_ANDROID)
if (key == base::FILE_MODULE || key == base::DIR_USER_DESKTOP)
continue; // Android doesn't implement FILE_MODULE and DIR_USER_DESKTOP;
+#elif defined(OS_IOS)
+ if (key == base::DIR_USER_DESKTOP)
+ continue; // iOS doesn't implement DIR_USER_DESKTOP;
#endif
EXPECT_PRED1(ReturnsValidPath, key);
}
« no previous file with comments | « base/base_paths_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698