blob: 0635d456a1866a29fe143dc88e7926e6c7592cd8 [file] [log] [blame]
// Copyright 2018 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_VIEWS_H_
#define COMPONENTS_EXO_TEST_EXO_TEST_BASE_VIEWS_H_
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/ime/init/input_method_factory.h"
#include "ui/views/test/views_test_base.h"
namespace exo {
class WMHelper;
namespace test {
// Implementation of a test::Base built on Views without ChromeOS Ash
// dependencies.
class ExoTestBaseViews : public views::ViewsTestBase {
public:
ExoTestBaseViews();
~ExoTestBaseViews() override;
// Overridden from test::Test.
void SetUp() override;
void TearDown() override;
private:
std::unique_ptr<WMHelper> wm_helper_;
ui::ScopedTestInputMethodFactory scoped_test_input_method_factory_;
};
} // namespace test
} // namespace exo
#endif // COMPONENTS_EXO_TEST_EXO_TEST_BASE_VIEWS_H_