Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(237)

Side by Side Diff: components/exo/test/exo_test_base.h

Issue 2250863003: exo: Run exo in mus+ash (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build errors Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/test/exo_test_base.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_
OLDNEW
« no previous file with comments | « components/exo/BUILD.gn ('k') | components/exo/test/exo_test_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698