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

Side by Side Diff: components/proximity_auth/run_all_unittests.cc

Issue 505373004: Introduce proximity_auth component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 3 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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 8
9 namespace {
10
11 class ProximityAuthTestSuite : public base::TestSuite {
blundell 2014/08/27 13:41:58 This isn't necessary. Instead, you'll just add you
Tim Song 2014/08/27 19:40:06 I would strongly like to have a separate executabl
Ilya Sherman 2014/08/27 19:44:48 My understanding is that the difficulty with addin
12 public:
13 ProximityAuthTestSuite(int argc, char** argv)
14 : base::TestSuite(argc, argv) {}
15
16 private:
17 DISALLOW_COPY_AND_ASSIGN(ProximityAuthTestSuite);
18 };
19
20 } // namespace
21
9 int main(int argc, char** argv) { 22 int main(int argc, char** argv) {
10 base::TestSuite test_suite(argc, argv); 23 ProximityAuthTestSuite test_suite(argc, argv);
24
11 return base::LaunchUnitTests(argc, 25 return base::LaunchUnitTests(argc,
12 argv, 26 argv,
13 base::Bind(&base::TestSuite::Run, 27 base::Bind(&ProximityAuthTestSuite::Run,
14 base::Unretained(&test_suite))); 28 base::Unretained(&test_suite)));
15 } 29 }
OLDNEW
« components/proximity_auth/remote_device.h ('K') | « components/proximity_auth/remote_device.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698