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

Side by Side Diff: mojo/shell/test/run_all_unittests.cc

Issue 64973002: Moves some files into mojo/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« mojo/mojo.gyp ('K') | « mojo/shell/scoped_message_pipe.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/basictypes.h"
6 #include "base/bind.h"
7 #include "base/compiler_specific.h"
8 #include "base/test/launcher/unit_test_launcher.h"
9 #include "base/test/test_suite.h"
10 #include "mojo/shell/context.h"
11
12 class ShellTestSuite : public base::TestSuite {
13 public:
14 ShellTestSuite(int argc, char** argv) : base::TestSuite(argc, argv) {}
15
16 private:
17 base::MessageLoop message_loop_;
18 // Context is currently a singleton and requires a MessageLoop.
19 mojo::shell::Context context_;
20
21 DISALLOW_COPY_AND_ASSIGN(ShellTestSuite);
22 };
23
24 int main(int argc, char** argv) {
25 ShellTestSuite test_suite(argc, argv);
26
27 return base::LaunchUnitTests(
28 argc, argv, base::Bind(&ShellTestSuite::Run,
29 base::Unretained(&test_suite)));
30 }
OLDNEW
« mojo/mojo.gyp ('K') | « mojo/shell/scoped_message_pipe.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698