OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/i18n/file_util_icu.h" | 5 #include "base/i18n/file_util_icu.h" |
6 | 6 |
7 #include "base/file_util.h" | 7 #include "base/files/file_util.h" |
8 #include "base/strings/utf_string_conversions.h" | 8 #include "base/strings/utf_string_conversions.h" |
9 #include "testing/gtest/include/gtest/gtest.h" | 9 #include "testing/gtest/include/gtest/gtest.h" |
10 #include "testing/platform_test.h" | 10 #include "testing/platform_test.h" |
11 | 11 |
12 namespace base { | 12 namespace base { |
13 namespace i18n { | 13 namespace i18n { |
14 | 14 |
15 // file_util winds up using autoreleased objects on the Mac, so this needs | 15 // file_util winds up using autoreleased objects on the Mac, so this needs |
16 // to be a PlatformTest | 16 // to be a PlatformTest |
17 class FileUtilICUTest : public PlatformTest { | 17 class FileUtilICUTest : public PlatformTest { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 NormalizeFileNameEncoding(&path); | 103 NormalizeFileNameEncoding(&path); |
104 EXPECT_EQ(FilePath(kNormalizeFileNameEncodingTestCases[i].normalized_path), | 104 EXPECT_EQ(FilePath(kNormalizeFileNameEncodingTestCases[i].normalized_path), |
105 path); | 105 path); |
106 } | 106 } |
107 } | 107 } |
108 | 108 |
109 #endif | 109 #endif |
110 | 110 |
111 } // namespace i18n | 111 } // namespace i18n |
112 } // namespace base | 112 } // namespace base |
OLD | NEW |