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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/test/launcher/unit_test_launcher.h" 6 #include "base/test/launcher/unit_test_launcher.h"
7 #include "base/test/test_suite.h" 7 #include "base/test/test_suite.h"
8 #include "mojo/edk/embedder/embedder.h" 8 #include "mojo/edk/embedder/embedder.h"
9 #include "ui/gl/test/gl_surface_test_support.h"
10
11 namespace {
12
13 class UiArcTestSuite : public base::TestSuite {
14 public:
15 UiArcTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
16
17 protected:
18 void Initialize() override {
19 base::TestSuite::Initialize();
20 gl::GLSurfaceTestSupport::InitializeOneOff();
21 }
22
23 private:
24 DISALLOW_COPY_AND_ASSIGN(UiArcTestSuite);
25 };
26
27 } // namespace
9 28
10 int main(int argc, char** argv) { 29 int main(int argc, char** argv) {
11 base::TestSuite test_suite(argc, argv); 30 UiArcTestSuite test_suite(argc, argv);
12 31
13 mojo::edk::Init(); 32 mojo::edk::Init();
14 return base::LaunchUnitTests( 33 return base::LaunchUnitTests(
15 argc, argv, 34 argc, argv,
16 base::Bind(&base::TestSuite::Run, base::Unretained(&test_suite))); 35 base::Bind(&UiArcTestSuite::Run, base::Unretained(&test_suite)));
17 } 36 }
OLDNEW
« 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