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

Unified Diff: base/win/i18n_unittest.cc

Issue 1446363003: Deleted OS_WIN and all Windows specific files from base. (Closed) Base URL: https://github.com/domokit/mojo.git@base_tests
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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/win/i18n.cc ('k') | base/win/iat_patch_function.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/win/i18n_unittest.cc
diff --git a/base/win/i18n_unittest.cc b/base/win/i18n_unittest.cc
deleted file mode 100644
index 781fc39db3439825056e7799d34673986a6d2410..0000000000000000000000000000000000000000
--- a/base/win/i18n_unittest.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// This file contains unit tests for Windows internationalization funcs.
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-#include "base/win/i18n.h"
-#include "base/win/windows_version.h"
-
-namespace base {
-namespace win {
-namespace i18n {
-
-// Tests that at least one user preferred UI language can be obtained.
-TEST(I18NTest, GetUserPreferredUILanguageList) {
- std::vector<std::wstring> languages;
- EXPECT_TRUE(GetUserPreferredUILanguageList(&languages));
- EXPECT_NE(static_cast<std::vector<std::wstring>::size_type>(0),
- languages.size());
- for (std::vector<std::wstring>::const_iterator scan = languages.begin(),
- end = languages.end(); scan != end; ++scan) {
- EXPECT_FALSE((*scan).empty());
- }
-}
-
-// Tests that at least one thread preferred UI language can be obtained.
-TEST(I18NTest, GetThreadPreferredUILanguageList) {
- std::vector<std::wstring> languages;
- EXPECT_TRUE(GetThreadPreferredUILanguageList(&languages));
- EXPECT_NE(static_cast<std::vector<std::wstring>::size_type>(0),
- languages.size());
- for (std::vector<std::wstring>::const_iterator scan = languages.begin(),
- end = languages.end(); scan != end; ++scan) {
- EXPECT_FALSE((*scan).empty());
- }
-}
-
-} // namespace i18n
-} // namespace win
-} // namespace base
« 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