diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 23:52:27 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-26 23:52:27 +0000 |
commit | a4258dbc75748725c3e6f12ccdd6f642c297d1db (patch) | |
tree | ebe7f3162685513bb2e67bfbc5f38fe872bc405b | |
parent | 9e3ed3b69a5a25affab3acc41921606847c6dc13 (diff) | |
download | chromium_src-a4258dbc75748725c3e6f12ccdd6f642c297d1db.zip chromium_src-a4258dbc75748725c3e6f12ccdd6f642c297d1db.tar.gz chromium_src-a4258dbc75748725c3e6f12ccdd6f642c297d1db.tar.bz2 |
Force unittests to run using en-us strings.
BUG=1345625
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1412 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/unit/chrome_test_suite.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/test/unit/chrome_test_suite.h b/chrome/test/unit/chrome_test_suite.h index 9432a03..cb97f0d 100644 --- a/chrome/test/unit/chrome_test_suite.h +++ b/chrome/test/unit/chrome_test_suite.h @@ -40,7 +40,9 @@ protected: if (!user_data_dir.empty()) PathService::Override(chrome::DIR_USER_DATA, user_data_dir); - ResourceBundle::InitSharedInstance(std::wstring()); + // Force unittests to run using en-us so if we test against string + // output, it'll pass regardless of the system language. + ResourceBundle::InitSharedInstance(L"en-us"); ResourceBundle::GetSharedInstance().LoadThemeResources(); // initialize the global StatsTable for unit_tests |