Chromium Code Reviews| Index: components/test/components_test_suit.h |
| diff --git a/components/test/components_test_suit.h b/components/test/components_test_suit.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..6277952da89545000303a423e44eb1edba57c744 |
| --- /dev/null |
| +++ b/components/test/components_test_suit.h |
| @@ -0,0 +1,28 @@ |
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
|
nduca
2016/09/28 19:46:42
At least from my perspective, this file should be
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_TEST_COMPONENTS_TEST_SUIT_H_ |
| +#define COMPONENTS_TEST_COMPONENTS_TEST_SUIT_H_ |
| + |
| +#include <memory> |
| + |
| +#include "base/macros.h" |
| +#include "base/test/launcher/unit_test_launcher.h" |
| +#include "base/test/test_suite.h" |
| + |
| +class ComponentsTestSuite : public base::TestSuite { |
| + public: |
| + ComponentsTestSuite(int argc, char** argv); |
| + void Initialize() override; |
| + void Shutdown() override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ComponentsTestSuite); |
| +}; |
| + |
| +// Does some more preparations before launch |
| +base::RunTestSuiteCallback CreateCallbackForLaunch( |
| + std::unique_ptr<ComponentsTestSuite> test_suite); |
| + |
| +#endif // COMPONENTS_TEST_COMPONENTS_TEST_SUIT_H_ |