| Index: ui/views/test/views_interactive_ui_test_base.cc
|
| diff --git a/ui/views/test/views_interactive_ui_test_base.cc b/ui/views/test/views_interactive_ui_test_base.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..638b958c0431cbdbbb1117f5b98883b44c42f5bd
|
| --- /dev/null
|
| +++ b/ui/views/test/views_interactive_ui_test_base.cc
|
| @@ -0,0 +1,28 @@
|
| +// Copyright 2016 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.
|
| +
|
| +#include "ui/views/test/views_interactive_ui_test_base.h"
|
| +
|
| +#include "base/path_service.h"
|
| +#include "ui/base/resource/resource_bundle.h"
|
| +#include "ui/base/ui_base_paths.h"
|
| +#include "ui/gl/test/gl_surface_test_support.h"
|
| +
|
| +namespace views {
|
| +
|
| +ViewsInteractiveUITestBase::ViewsInteractiveUITestBase() {}
|
| +
|
| +ViewsInteractiveUITestBase::~ViewsInteractiveUITestBase() {}
|
| +
|
| +void ViewsInteractiveUITestBase::SetUp() {
|
| + gl::GLSurfaceTestSupport::InitializeOneOff();
|
| + ui::RegisterPathProvider();
|
| + base::FilePath ui_test_pak_path;
|
| + ASSERT_TRUE(PathService::Get(ui::UI_TEST_PAK, &ui_test_pak_path));
|
| + ui::ResourceBundle::InitSharedInstanceWithPakPath(ui_test_pak_path);
|
| +
|
| + ViewsTestBase::SetUp();
|
| +}
|
| +
|
| +} // namespace views
|
|
|