shell_test_base.h revision 46d4c2bc3267f3f028f39e7e311b0f89aba2e4fd
1// Copyright 2014 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 MOJO_SHELL_SHELL_TEST_BASE_H_
6#define MOJO_SHELL_SHELL_TEST_BASE_H_
7
8#include "base/at_exit.h"
9#include "base/macros.h"
10#include "mojo/public/cpp/environment/environment.h"
11#include "testing/gtest/include/gtest/gtest.h"
12
13namespace mojo {
14namespace shell {
15namespace test {
16
17class ShellTestBase : public testing::Test {
18 public:
19  ShellTestBase();
20  virtual ~ShellTestBase();
21
22 private:
23  base::ShadowingAtExitManager at_exit_manager_;
24  Environment environment_;
25
26  DISALLOW_COPY_AND_ASSIGN(ShellTestBase);
27};
28
29}  // namespace test
30}  // namespace shell
31}  // namespace mojo
32
33#endif  // MOJO_SYSTEM_SHELL_SHELLASE_H_
34