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

Unified Diff: components/test/run_all_unittests.cc

Issue 82353002: Move more webdata unittests into components_unittests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: InitSharedInstance Created 7 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
Index: components/test/run_all_unittests.cc
diff --git a/components/test/run_all_unittests.cc b/components/test/run_all_unittests.cc
index a509a8236971222d4a851b8e64e2dfeefcb85871..ceff93fd032db6d151828c2749be7c69ef82d852 100644
--- a/components/test/run_all_unittests.cc
+++ b/components/test/run_all_unittests.cc
@@ -8,6 +8,7 @@
#include "base/test/test_suite.h"
#include "content/public/test/test_content_client_initializer.h"
#include "testing/gtest/include/gtest/gtest.h"
+#include "ui/base/resource/resource_bundle.h"
namespace components {
@@ -41,6 +42,8 @@ int main(int argc, char** argv) {
testing::UnitTest::GetInstance()->listeners();
listeners.Append(new components::ComponentsUnitTestEventListener());
+ ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
+
return base::LaunchUnitTests(
argc, argv, base::Bind(&base::TestSuite::Run,
base::Unretained(&test_suite)));
« components/dom_distiller/core/distiller_unittest.cc ('K') | « components/test/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698