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

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

Issue 1466413002: Update gtest to 786564fa4a3c, switch to googlemock in gtest Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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/event_trace_provider_unittest.cc ('k') | base/win/iunknown_impl_unittest.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) 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/googletest/include/gtest/gtest.h"
8 8
9 #include "base/win/i18n.h" 9 #include "base/win/i18n.h"
10 #include "base/win/windows_version.h" 10 #include "base/win/windows_version.h"
11 11
12 namespace base { 12 namespace base {
13 namespace win { 13 namespace win {
14 namespace i18n { 14 namespace i18n {
15 15
16 // Tests that at least one user preferred UI language can be obtained. 16 // Tests that at least one user preferred UI language can be obtained.
17 TEST(I18NTest, GetUserPreferredUILanguageList) { 17 TEST(I18NTest, GetUserPreferredUILanguageList) {
(...skipping 15 matching lines...) Expand all
33 languages.size()); 33 languages.size());
34 for (std::vector<std::wstring>::const_iterator scan = languages.begin(), 34 for (std::vector<std::wstring>::const_iterator scan = languages.begin(),
35 end = languages.end(); scan != end; ++scan) { 35 end = languages.end(); scan != end; ++scan) {
36 EXPECT_FALSE((*scan).empty()); 36 EXPECT_FALSE((*scan).empty());
37 } 37 }
38 } 38 }
39 39
40 } // namespace i18n 40 } // namespace i18n
41 } // namespace win 41 } // namespace win
42 } // namespace base 42 } // namespace base
OLDNEW
« no previous file with comments | « base/win/event_trace_provider_unittest.cc ('k') | base/win/iunknown_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698