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

Side by Side Diff: base/win/i18n_unittest.cc

Issue 1550493002: Switch to standard integer types in base/win/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
« no previous file with comments | « base/win/i18n.cc ('k') | base/win/iat_patch_function.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This file contains unit tests for Windows internationalization funcs. 5 // This file contains unit tests for Windows internationalization funcs.
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 #include <stddef.h>
10
9 #include "base/win/i18n.h" 11 #include "base/win/i18n.h"
10 #include "base/win/windows_version.h" 12 #include "base/win/windows_version.h"
11 13
12 namespace base { 14 namespace base {
13 namespace win { 15 namespace win {
14 namespace i18n { 16 namespace i18n {
15 17
16 // Tests that at least one user preferred UI language can be obtained. 18 // Tests that at least one user preferred UI language can be obtained.
17 TEST(I18NTest, GetUserPreferredUILanguageList) { 19 TEST(I18NTest, GetUserPreferredUILanguageList) {
18 std::vector<std::wstring> languages; 20 std::vector<std::wstring> languages;
(...skipping 14 matching lines...) Expand all
33 languages.size()); 35 languages.size());
34 for (std::vector<std::wstring>::const_iterator scan = languages.begin(), 36 for (std::vector<std::wstring>::const_iterator scan = languages.begin(),
35 end = languages.end(); scan != end; ++scan) { 37 end = languages.end(); scan != end; ++scan) {
36 EXPECT_FALSE((*scan).empty()); 38 EXPECT_FALSE((*scan).empty());
37 } 39 }
38 } 40 }
39 41
40 } // namespace i18n 42 } // namespace i18n
41 } // namespace win 43 } // namespace win
42 } // namespace base 44 } // namespace base
OLDNEW
« no previous file with comments | « base/win/i18n.cc ('k') | base/win/iat_patch_function.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698