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

Side by Side Diff: extensions/test/extensions_unittests_main.cc

Issue 227153004: Adds the foundation for extensions test suite. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « extensions/extensions.gyp ('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 2014 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/bind.h"
6 #include "base/macros.h"
7 #include "base/test/launcher/unit_test_launcher.h"
8 #include "base/test/test_suite.h"
9
10 namespace {
11
12 class ExtensionsTestSuite : public base::TestSuite {
13 public:
14 ExtensionsTestSuite(int argc, char** argv);
15
16 protected:
17 // base::TestSuite:
18 virtual void Initialize() OVERRIDE;
19 virtual void Shutdown() OVERRIDE;
20
21 private:
22 DISALLOW_COPY_AND_ASSIGN(ExtensionsTestSuite);
23 };
24
25 ExtensionsTestSuite::ExtensionsTestSuite(int argc, char** argv)
26 : base::TestSuite(argc, argv) {}
27
28 void ExtensionsTestSuite::Initialize() {
Yoyo Zhou 2014/04/07 23:20:03 It doesn't seem like these are doing anything for
29 base::TestSuite::Initialize();
30 }
31
32 void ExtensionsTestSuite::Shutdown() {
33 base::TestSuite::Shutdown();
34 }
35
36 } // namespace
37
38 int main(int argc, char** argv) {
39 ExtensionsTestSuite test_suite(argc, argv);
40
41 return base::LaunchUnitTests(argc,
42 argv,
43 base::Bind(&ExtensionsTestSuite::Run,
44 base::Unretained(&test_suite)));
45 }
OLDNEW
« no previous file with comments | « extensions/extensions.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698