Chromium Code Reviews| Index: mash/test/mash_test_suite.h |
| diff --git a/mash/test/mash_test_suite.h b/mash/test/mash_test_suite.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ab90d6d63888dff97c6e5728b383640f43cea668 |
| --- /dev/null |
| +++ b/mash/test/mash_test_suite.h |
| @@ -0,0 +1,41 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef MASH_TEST_TEST_SUITE_H_ |
| +#define MASH_TEST_TEST_SUITE_H_ |
| + |
| +#include <memory> |
| + |
| +#include "base/compiler_specific.h" |
|
James Cook
2016/05/19 05:08:21
nit: base/macros.h
sky
2016/05/19 15:14:24
Done.
|
| +#include "base/test/test_discardable_memory_allocator.h" |
| +#include "base/test/test_suite.h" |
| + |
| +namespace aura { |
| +class Env; |
| +} |
| + |
| +namespace mash { |
| +namespace test { |
| + |
| +class MashTestSuite : public base::TestSuite { |
| + public: |
| + MashTestSuite(int argc, char** argv); |
| + ~MashTestSuite() override; |
| + |
| + protected: |
| + // base::TestSuite: |
| + void Initialize() override; |
| + void Shutdown() override; |
| + |
| + private: |
| + base::TestDiscardableMemoryAllocator discardable_memory_allocator_; |
| + std::unique_ptr<aura::Env> env_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(MashTestSuite); |
| +}; |
| + |
| +} // namespace test |
| +} // namespace mash |
| + |
| +#endif // MASH_TEST_TEST_SUITE_H_ |