OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ | 5 #ifndef COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ |
6 #define COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ | 6 #define COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "ash/test/ash_test_base.h" | 10 #include "ash/test/ash_test_base.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 | 12 |
13 namespace exo { | 13 namespace exo { |
| 14 class WMHelper; |
| 15 |
14 namespace test { | 16 namespace test { |
15 class ExoTestHelper; | 17 class ExoTestHelper; |
16 | 18 |
17 class ExoTestBase : public ash::test::AshTestBase { | 19 class ExoTestBase : public ash::test::AshTestBase { |
18 public: | 20 public: |
19 ExoTestBase(); | 21 ExoTestBase(); |
20 ~ExoTestBase() override; | 22 ~ExoTestBase() override; |
21 | 23 |
22 // Overridden from testing::Test: | 24 // Overridden from testing::Test: |
23 void SetUp() override; | 25 void SetUp() override; |
24 void TearDown() override; | 26 void TearDown() override; |
25 | 27 |
26 ExoTestHelper* exo_test_helper() { return exo_test_helper_.get(); } | 28 ExoTestHelper* exo_test_helper() { return exo_test_helper_.get(); } |
27 | 29 |
28 private: | 30 private: |
29 std::unique_ptr<ExoTestHelper> exo_test_helper_; | 31 std::unique_ptr<ExoTestHelper> exo_test_helper_; |
| 32 std::unique_ptr<WMHelper> wm_helper_; |
30 | 33 |
31 DISALLOW_COPY_AND_ASSIGN(ExoTestBase); | 34 DISALLOW_COPY_AND_ASSIGN(ExoTestBase); |
32 }; | 35 }; |
33 | 36 |
34 } // namespace test | 37 } // namespace test |
35 } // namespace exo | 38 } // namespace exo |
36 | 39 |
37 #endif // COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ | 40 #endif // COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ |
OLD | NEW |