Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef MASH_TEST_TEST_SUITE_H_ | |
| 6 #define MASH_TEST_TEST_SUITE_H_ | |
| 7 | |
| 8 #include <memory> | |
| 9 | |
| 10 #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.
| |
| 11 #include "base/test/test_discardable_memory_allocator.h" | |
| 12 #include "base/test/test_suite.h" | |
| 13 | |
| 14 namespace aura { | |
| 15 class Env; | |
| 16 } | |
| 17 | |
| 18 namespace mash { | |
| 19 namespace test { | |
| 20 | |
| 21 class MashTestSuite : public base::TestSuite { | |
| 22 public: | |
| 23 MashTestSuite(int argc, char** argv); | |
| 24 ~MashTestSuite() override; | |
| 25 | |
| 26 protected: | |
| 27 // base::TestSuite: | |
| 28 void Initialize() override; | |
| 29 void Shutdown() override; | |
| 30 | |
| 31 private: | |
| 32 base::TestDiscardableMemoryAllocator discardable_memory_allocator_; | |
| 33 std::unique_ptr<aura::Env> env_; | |
| 34 | |
| 35 DISALLOW_COPY_AND_ASSIGN(MashTestSuite); | |
| 36 }; | |
| 37 | |
| 38 } // namespace test | |
| 39 } // namespace mash | |
| 40 | |
| 41 #endif // MASH_TEST_TEST_SUITE_H_ | |
| OLD | NEW |