OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ |
| 6 #define COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ |
| 7 |
| 8 #include "ash/test/ash_test_base.h" |
| 9 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" |
| 11 |
| 12 namespace exo { |
| 13 namespace test { |
| 14 class ExoTestHelper; |
| 15 |
| 16 class ExoTestBase : public ash::test::AshTestBase { |
| 17 public: |
| 18 ExoTestBase(); |
| 19 ~ExoTestBase() override; |
| 20 |
| 21 // Overridden from testing::Test: |
| 22 void SetUp() override; |
| 23 void TearDown() override; |
| 24 |
| 25 ExoTestHelper* exo_test_helper() { return exo_test_helper_.get(); } |
| 26 |
| 27 private: |
| 28 scoped_ptr<ExoTestHelper> exo_test_helper_; |
| 29 |
| 30 DISALLOW_COPY_AND_ASSIGN(ExoTestBase); |
| 31 }; |
| 32 |
| 33 } // namespace test |
| 34 } // namespace exo |
| 35 |
| 36 #endif // COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_ |
OLD | NEW |