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

Unified Diff: ui/arc/test/run_all_unittests.cc

Issue 2870283002: Move message_center::CustomNotificationView to arc::ArcNotificationView (Closed)
Patch Set: Addressed comment Created 3 years, 7 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
« no previous file with comments | « ui/arc/notification/arc_notification_view_unittest.cc ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/test/run_all_unittests.cc
diff --git a/ui/arc/test/run_all_unittests.cc b/ui/arc/test/run_all_unittests.cc
index 92e28e4bc2ef21acede81193f132cd22481f4a7d..d9558ea09eb5d0b002173c6acdfb0e4db5dc362f 100644
--- a/ui/arc/test/run_all_unittests.cc
+++ b/ui/arc/test/run_all_unittests.cc
@@ -6,12 +6,31 @@
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
#include "mojo/edk/embedder/embedder.h"
+#include "ui/gl/test/gl_surface_test_support.h"
+
+namespace {
+
+class UiArcTestSuite : public base::TestSuite {
+ public:
+ UiArcTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
+
+ protected:
+ void Initialize() override {
+ base::TestSuite::Initialize();
+ gl::GLSurfaceTestSupport::InitializeOneOff();
+ }
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(UiArcTestSuite);
+};
+
+} // namespace
int main(int argc, char** argv) {
- base::TestSuite test_suite(argc, argv);
+ UiArcTestSuite test_suite(argc, argv);
mojo::edk::Init();
return base::LaunchUnitTests(
argc, argv,
- base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite)));
+ base::Bind(&UiArcTestSuite::Run, base::Unretained(&test_suite)));
}
« no previous file with comments | « ui/arc/notification/arc_notification_view_unittest.cc ('k') | ui/message_center/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698