Chromium Code Reviews| 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 8d06626c2eb9ba75179e2845ef442017f9504185..2fc31a984e53788b983f1e21e221f358ed2d117e 100644 |
| --- a/chrome/browser/chromeos/drive/file_system_util_unittest.cc |
| +++ b/chrome/browser/chromeos/drive/file_system_util_unittest.cc |
| @@ -1,9 +1,11 @@ |
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Copyright 2014 The Chromium Authors. All rights reserved. |
|
kinaba
2014/09/19 01:56:27
I think you can keep the year as is
|
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "chrome/browser/chromeos/drive/file_system_util.h" |
| +#include <vector> |
| + |
| #include "base/files/file_path.h" |
| #include "base/files/file_util.h" |
| #include "base/files/scoped_temp_dir.h" |
| @@ -52,31 +54,6 @@ class ProfileRelatedFileSystemUtilTest : public testing::Test { |
| } // namespace |
| -TEST(FileSystemUtilTest, FilePathToDriveURL) { |
| - base::FilePath path; |
| - |
| - // Path with alphabets and numbers. |
| - path = GetDriveMyDriveRootPath().AppendASCII("foo/bar012.txt"); |
| - EXPECT_EQ(path, DriveURLToFilePath(FilePathToDriveURL(path))); |
| - |
| - // Path with symbols. |
| - path = GetDriveMyDriveRootPath().AppendASCII( |
| - " !\"#$%&'()*+,-.:;<=>?@[\\]^_`{|}~"); |
| - EXPECT_EQ(path, DriveURLToFilePath(FilePathToDriveURL(path))); |
| - |
| - // Path with '%'. |
| - path = GetDriveMyDriveRootPath().AppendASCII("%19%20%21.txt"); |
| - EXPECT_EQ(path, DriveURLToFilePath(FilePathToDriveURL(path))); |
| - |
| - // Path with multi byte characters. |
| - base::string16 utf16_string; |
| - utf16_string.push_back(0x307b); // HIRAGANA_LETTER_HO |
| - utf16_string.push_back(0x3052); // HIRAGANA_LETTER_GE |
| - path = GetDriveMyDriveRootPath().Append( |
| - base::FilePath::FromUTF8Unsafe(base::UTF16ToUTF8(utf16_string) + ".txt")); |
| - EXPECT_EQ(path, DriveURLToFilePath(FilePathToDriveURL(path))); |
| -} |
| - |
| TEST_F(ProfileRelatedFileSystemUtilTest, GetDriveMountPointPath) { |
| Profile* profile = testing_profile_manager().CreateTestingProfile("user1"); |
| const std::string user_id_hash = |