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

Side by Side Diff: base/i18n/file_util_icu_unittest.cc

Issue 1542323002: Switch to standard integer types in base/i18n/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: header Created 5 years 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 unified diff | Download patch
« no previous file with comments | « base/i18n/file_util_icu.cc ('k') | base/i18n/icu_encoding_detection.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <stddef.h>
8
7 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/macros.h"
8 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "build/build_config.h"
9 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
10 #include "testing/platform_test.h" 14 #include "testing/platform_test.h"
11 15
12 namespace base { 16 namespace base {
13 namespace i18n { 17 namespace i18n {
14 18
15 // file_util winds up using autoreleased objects on the Mac, so this needs 19 // file_util winds up using autoreleased objects on the Mac, so this needs
16 // to be a PlatformTest 20 // to be a PlatformTest
17 class FileUtilICUTest : public PlatformTest { 21 class FileUtilICUTest : public PlatformTest {
18 }; 22 };
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 NormalizeFileNameEncoding(&path); 131 NormalizeFileNameEncoding(&path);
128 EXPECT_EQ(FilePath(kNormalizeFileNameEncodingTestCases[i].normalized_path), 132 EXPECT_EQ(FilePath(kNormalizeFileNameEncodingTestCases[i].normalized_path),
129 path); 133 path);
130 } 134 }
131 } 135 }
132 136
133 #endif 137 #endif
134 138
135 } // namespace i18n 139 } // namespace i18n
136 } // namespace base 140 } // namespace base
OLDNEW
« no previous file with comments | « base/i18n/file_util_icu.cc ('k') | base/i18n/icu_encoding_detection.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698