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

Unified Diff: chrome/browser/chromeos/drive/file_system_util_unittest.cc

Issue 118953003: drive: Stop setting dummy resource ID for "drive" and "other" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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/chromeos/drive/file_system_util_unittest.cc
diff --git a/chrome/browser/chromeos/drive/file_system_util_unittest.cc b/chrome/browser/chromeos/drive/file_system_util_unittest.cc
index 2be00f3b2dab3cc45a01fa3b6aa37fb397551def..e82499a11472e258727f78652a3c9c227b98a5e7 100644
--- a/chrome/browser/chromeos/drive/file_system_util_unittest.cc
+++ b/chrome/browser/chromeos/drive/file_system_util_unittest.cc
@@ -234,16 +234,6 @@ TEST(FileSystemUtilTest, ConvertToMyDriveNamespace) {
base::FilePath::FromUTF8Unsafe("/special/drive/dir1")));
}
-TEST(FileSystemUtilTest, IsSpecialResourceId) {
- EXPECT_FALSE(util::IsSpecialResourceId("abc"));
- EXPECT_FALSE(util::IsSpecialResourceId("file:123"));
- EXPECT_FALSE(util::IsSpecialResourceId("folder:root"));
- EXPECT_FALSE(util::IsSpecialResourceId("folder:xyz"));
-
- EXPECT_TRUE(util::IsSpecialResourceId("<drive>"));
- EXPECT_TRUE(util::IsSpecialResourceId("<other>"));
-}
-
TEST(FileSystemUtilTest, GDocFile) {
base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
« no previous file with comments | « chrome/browser/chromeos/drive/file_system_util.cc ('k') | chrome/browser/chromeos/drive/resource_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698