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

Unified 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, 4 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
Index: components/proximity_auth/run_all_unittests.cc
diff --git a/components/nacl/loader/run_all_unittests.cc b/components/proximity_auth/run_all_unittests.cc
similarity index 55%
copy from components/nacl/loader/run_all_unittests.cc
copy to components/proximity_auth/run_all_unittests.cc
index 555da28ee1340bfe3c179e6c46312e251a1bc9ab..b83393fe413a03784d84f033054363a39a40f7e4 100644
--- a/components/nacl/loader/run_all_unittests.cc
+++ b/components/proximity_auth/run_all_unittests.cc
@@ -6,10 +6,24 @@
#include "base/test/launcher/unit_test_launcher.h"
#include "base/test/test_suite.h"
+namespace {
+
+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
+ public:
+ ProximityAuthTestSuite(int argc, char** argv)
+ : base::TestSuite(argc, argv) {}
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ProximityAuthTestSuite);
+};
+
+} // namespace
+
int main(int argc, char** argv) {
- base::TestSuite test_suite(argc, argv);
+ ProximityAuthTestSuite test_suite(argc, argv);
+
return base::LaunchUnitTests(argc,
argv,
- base::Bind(&base::TestSuite::Run,
+ base::Bind(&ProximityAuthTestSuite::Run,
base::Unretained(&test_suite)));
}
« 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