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

Unified Diff: ash/test/test_suite.cc

Issue 9307037: Reland http://codereview.chromium.org/9121050/ with fix for aura_win (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add .rc file Created 8 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: ash/test/test_suite.cc
diff --git a/ash/test/test_suite.cc b/ash/test/test_suite.cc
index 48e3f454608ee6dc0288da056f25561d366f9708..46e82c6583547a2fbb28b7cf15e8eb755f03e6eb 100644
--- a/ash/test/test_suite.cc
+++ b/ash/test/test_suite.cc
@@ -31,7 +31,12 @@ void AuraShellTestSuite::Initialize() {
#if defined(OS_MACOSX)
ash::test::OverrideFrameworkBundle();
-#endif
+#elif defined(OS_POSIX)
+ FilePath pak_dir;
+ PathService::Get(base::DIR_MODULE, &pak_dir);
+ pak_dir = pak_dir.AppendASCII("aura_shell_unittests_strings");
+ PathService::Override(ui::DIR_LOCALES, pak_dir);
tony 2012/02/06 18:37:25 As I mentioned in https://chromiumcodereview.appsp
+#endif // defined(OS_MACOSX)
// Force unittests to run using en-US so if we test against string
// output, it'll pass regardless of the system language.

Powered by Google App Engine
This is Rietveld 408576698