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

Unified Diff: chrome/browser/chromeos/gdata/drive_file_system_util_unittest.cc

Issue 10905142: Rename GData to Drive in drive_file_system_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/chromeos/gdata/drive_file_system_util_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/drive_file_system_util_unittest.cc b/chrome/browser/chromeos/gdata/drive_file_system_util_unittest.cc
index 2f2fcf32a0b3d19cb18073a6747cd094af65ae58..f96382e453e87614a81242a4098bd931cc928b53 100644
--- a/chrome/browser/chromeos/gdata/drive_file_system_util_unittest.cc
+++ b/chrome/browser/chromeos/gdata/drive_file_system_util_unittest.cc
@@ -10,43 +10,43 @@
namespace gdata {
namespace util {
-TEST(DriveFileSystemUtilTest, IsUnderGDataMountPoint) {
- EXPECT_FALSE(IsUnderGDataMountPoint(
+TEST(DriveFileSystemUtilTest, IsUnderDriveMountPoint) {
+ EXPECT_FALSE(IsUnderDriveMountPoint(
FilePath::FromUTF8Unsafe("/wherever/foo.txt")));
- EXPECT_FALSE(IsUnderGDataMountPoint(
+ EXPECT_FALSE(IsUnderDriveMountPoint(
FilePath::FromUTF8Unsafe("/special/foo.txt")));
- EXPECT_FALSE(IsUnderGDataMountPoint(
+ EXPECT_FALSE(IsUnderDriveMountPoint(
FilePath::FromUTF8Unsafe("/special/drivex/foo.txt")));
- EXPECT_FALSE(IsUnderGDataMountPoint(
+ EXPECT_FALSE(IsUnderDriveMountPoint(
FilePath::FromUTF8Unsafe("special/drivex/foo.txt")));
- EXPECT_TRUE(IsUnderGDataMountPoint(
+ EXPECT_TRUE(IsUnderDriveMountPoint(
FilePath::FromUTF8Unsafe("/special/drive")));
- EXPECT_TRUE(IsUnderGDataMountPoint(
+ EXPECT_TRUE(IsUnderDriveMountPoint(
FilePath::FromUTF8Unsafe("/special/drive/foo.txt")));
- EXPECT_TRUE(IsUnderGDataMountPoint(
+ EXPECT_TRUE(IsUnderDriveMountPoint(
FilePath::FromUTF8Unsafe("/special/drive/subdir/foo.txt")));
}
-TEST(DriveFileSystemUtilTest, ExtractGDataPath) {
+TEST(DriveFileSystemUtilTest, ExtractDrivePath) {
EXPECT_EQ(FilePath(),
- ExtractGDataPath(
+ ExtractDrivePath(
FilePath::FromUTF8Unsafe("/wherever/foo.txt")));
EXPECT_EQ(FilePath(),
- ExtractGDataPath(
+ ExtractDrivePath(
FilePath::FromUTF8Unsafe("/special/foo.txt")));
EXPECT_EQ(FilePath(),
- ExtractGDataPath(
+ ExtractDrivePath(
FilePath::FromUTF8Unsafe("/special/gdatax/foo.txt")));
EXPECT_EQ(FilePath::FromUTF8Unsafe("drive"),
- ExtractGDataPath(
+ ExtractDrivePath(
FilePath::FromUTF8Unsafe("/special/drive")));
EXPECT_EQ(FilePath::FromUTF8Unsafe("drive/foo.txt"),
- ExtractGDataPath(
+ ExtractDrivePath(
FilePath::FromUTF8Unsafe("/special/drive/foo.txt")));
EXPECT_EQ(FilePath::FromUTF8Unsafe("drive/subdir/foo.txt"),
- ExtractGDataPath(
+ ExtractDrivePath(
FilePath::FromUTF8Unsafe("/special/drive/subdir/foo.txt")));
}
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_file_system_util.cc ('k') | chrome/browser/chromeos/gdata/drive_system_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698