| 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..d93d64bc183cf25e2659a5f9b0b265b087aaf2bf
|
| --- /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/macros.h"
|
| +#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_
|
|
|