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

Unified Diff: ash/test/test_suite.cc

Issue 2528013002: Initialize the message center as part of the testing browser process (Closed)
Patch Set: re-uploding due to time outs Created 4 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 | « ash/test/ash_test_helper.cc ('k') | chrome/browser/background/background_contents_service_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/test/test_suite.cc
diff --git a/ash/test/test_suite.cc b/ash/test/test_suite.cc
index 3fde2c6de7267236bdcf471bc54aa64c96ffaa08..c775d2b96c761790f0f05fcc570b3082bec45f34 100644
--- a/ash/test/test_suite.cc
+++ b/ash/test/test_suite.cc
@@ -16,6 +16,7 @@
#include "ui/base/ui_base_paths.h"
#include "ui/gfx/gfx_paths.h"
#include "ui/gl/test/gl_surface_test_support.h"
+#include "ui/message_center/message_center.h"
#if defined(OS_WIN)
#include "base/win/scoped_com_initializer.h"
@@ -33,6 +34,7 @@ AuraShellTestSuite::~AuraShellTestSuite() {}
void AuraShellTestSuite::Initialize() {
base::TestSuite::Initialize();
gl::GLSurfaceTestSupport::InitializeOneOff();
+ message_center::MessageCenter::Initialize();
#if defined(OS_WIN)
com_initializer_.reset(new base::win::ScopedCOMInitializer());
@@ -76,6 +78,7 @@ void AuraShellTestSuite::Shutdown() {
#if defined(OS_WIN)
com_initializer_.reset();
#endif
+ message_center::MessageCenter::Shutdown();
base::TestSuite::Shutdown();
}
« no previous file with comments | « ash/test/ash_test_helper.cc ('k') | chrome/browser/background/background_contents_service_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698