diff options
Diffstat (limited to 'chrome/browser/chromeos/gdata/gdata_util_unittest.cc')
-rw-r--r-- | chrome/browser/chromeos/gdata/gdata_util_unittest.cc | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/chrome/browser/chromeos/gdata/gdata_util_unittest.cc b/chrome/browser/chromeos/gdata/gdata_util_unittest.cc index b1cddcb..727d0c6 100644 --- a/chrome/browser/chromeos/gdata/gdata_util_unittest.cc +++ b/chrome/browser/chromeos/gdata/gdata_util_unittest.cc @@ -17,16 +17,16 @@ TEST(GDataUtilTest, IsUnderGDataMountPoint) { EXPECT_FALSE(IsUnderGDataMountPoint( FilePath::FromUTF8Unsafe("/special/foo.txt"))); EXPECT_FALSE(IsUnderGDataMountPoint( - FilePath::FromUTF8Unsafe("/special/gdatax/foo.txt"))); + FilePath::FromUTF8Unsafe("/special/drivex/foo.txt"))); EXPECT_FALSE(IsUnderGDataMountPoint( - FilePath::FromUTF8Unsafe("special/gdatax/foo.txt"))); + FilePath::FromUTF8Unsafe("special/drivex/foo.txt"))); EXPECT_TRUE(IsUnderGDataMountPoint( - FilePath::FromUTF8Unsafe("/special/gdata"))); + FilePath::FromUTF8Unsafe("/special/drive"))); EXPECT_TRUE(IsUnderGDataMountPoint( - FilePath::FromUTF8Unsafe("/special/gdata/foo.txt"))); + FilePath::FromUTF8Unsafe("/special/drive/foo.txt"))); EXPECT_TRUE(IsUnderGDataMountPoint( - FilePath::FromUTF8Unsafe("/special/gdata/subdir/foo.txt"))); + FilePath::FromUTF8Unsafe("/special/drive/subdir/foo.txt"))); } TEST(GDataUtilTest, ExtractGDataPath) { @@ -40,15 +40,15 @@ TEST(GDataUtilTest, ExtractGDataPath) { ExtractGDataPath( FilePath::FromUTF8Unsafe("/special/gdatax/foo.txt"))); - EXPECT_EQ(FilePath::FromUTF8Unsafe("gdata"), + EXPECT_EQ(FilePath::FromUTF8Unsafe("drive"), ExtractGDataPath( - FilePath::FromUTF8Unsafe("/special/gdata"))); - EXPECT_EQ(FilePath::FromUTF8Unsafe("gdata/foo.txt"), + FilePath::FromUTF8Unsafe("/special/drive"))); + EXPECT_EQ(FilePath::FromUTF8Unsafe("drive/foo.txt"), ExtractGDataPath( - FilePath::FromUTF8Unsafe("/special/gdata/foo.txt"))); - EXPECT_EQ(FilePath::FromUTF8Unsafe("gdata/subdir/foo.txt"), + FilePath::FromUTF8Unsafe("/special/drive/foo.txt"))); + EXPECT_EQ(FilePath::FromUTF8Unsafe("drive/subdir/foo.txt"), ExtractGDataPath( - FilePath::FromUTF8Unsafe("/special/gdata/subdir/foo.txt"))); + FilePath::FromUTF8Unsafe("/special/drive/subdir/foo.txt"))); } TEST(GDataUtilTest, EscapeUnescapeCacheFileName) { |