Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Side by Side Diff: ui/views/test/views_interactive_ui_test_base.cc

Issue 2442933002: Create and apply ViewsInteractiveUITestBase (Closed)
Patch Set: based on comments Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2016 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 #include "ui/views/test/views_interactive_ui_test_base.h"
6
7 #include "base/path_service.h"
8 #include "ui/base/resource/resource_bundle.h"
9 #include "ui/base/ui_base_paths.h"
10 #include "ui/gl/test/gl_surface_test_support.h"
11
12 namespace views {
13
14 ViewsInteractiveUITestBase::ViewsInteractiveUITestBase() {}
15
16 ViewsInteractiveUITestBase::~ViewsInteractiveUITestBase() {}
17
18 void ViewsInteractiveUITestBase::SetUp() {
19 gl::GLSurfaceTestSupport::InitializeOneOff();
20 ui::RegisterPathProvider();
21 base::FilePath ui_test_pak_path;
22 ASSERT_TRUE(PathService::Get(ui::UI_TEST_PAK, &ui_test_pak_path));
23 ui::ResourceBundle::InitSharedInstanceWithPakPath(ui_test_pak_path);
24
25 ViewsTestBase::SetUp();
26 }
27
28 } // namespace views
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698