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/files/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/googletest/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 { |
18 }; | 18 }; |
19 | 19 |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 NormalizeFileNameEncoding(&path); | 127 NormalizeFileNameEncoding(&path); |
128 EXPECT_EQ(FilePath(kNormalizeFileNameEncodingTestCases[i].normalized_path), | 128 EXPECT_EQ(FilePath(kNormalizeFileNameEncodingTestCases[i].normalized_path), |
129 path); | 129 path); |
130 } | 130 } |
131 } | 131 } |
132 | 132 |
133 #endif | 133 #endif |
134 | 134 |
135 } // namespace i18n | 135 } // namespace i18n |
136 } // namespace base | 136 } // namespace base |
OLD | NEW |