summaryrefslogtreecommitdiffstats
path: root/components/exo/test/exo_test_base.h
blob: 98a1f860b2a61d88b92be5c08bbd5f75196862c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
// Copyright 2015 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 COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_
#define COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_

#include "ash/test/ash_test_base.h"
#include "base/macros.h"
#include "base/memory/scoped_ptr.h"

namespace exo {
namespace test {
class ExoTestHelper;

class ExoTestBase : public ash::test::AshTestBase {
 public:
  ExoTestBase();
  ~ExoTestBase() override;

  // Overridden from testing::Test:
  void SetUp() override;
  void TearDown() override;

  ExoTestHelper* exo_test_helper() { return exo_test_helper_.get(); }

 private:
  scoped_ptr<ExoTestHelper> exo_test_helper_;

  DISALLOW_COPY_AND_ASSIGN(ExoTestBase);
};

}  // namespace test
}  // namespace exo

#endif  // COMPONENTS_EXO_TEST_EXO_TEST_BASE_H_