Chromium Code Reviews| 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))); |
| } |