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

Side by Side Diff: ui/aura/test_suite.cc

Issue 7886042: Move Aura to UI subdir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 3 months 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "aura/test_suite.h" 5 #include "ui/aura/test_suite.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "ui/base/resource/resource_bundle.h" 10 #include "ui/base/resource/resource_bundle.h"
11 #include "ui/base/ui_base_paths.h" 11 #include "ui/base/ui_base_paths.h"
12 #include "ui/gfx/gfx_paths.h" 12 #include "ui/gfx/gfx_paths.h"
13 13
14 AuraTestSuite::AuraTestSuite(int argc, char** argv) 14 AuraTestSuite::AuraTestSuite(int argc, char** argv)
15 : TestSuite(argc, argv) {} 15 : TestSuite(argc, argv) {}
16 16
17 void AuraTestSuite::Initialize() { 17 void AuraTestSuite::Initialize() {
18 base::TestSuite::Initialize(); 18 base::TestSuite::Initialize();
19 19
20 gfx::RegisterPathProvider(); 20 gfx::RegisterPathProvider();
21 ui::RegisterPathProvider(); 21 ui::RegisterPathProvider();
22 22
23 // Force unittests to run using en-US so if we test against string 23 // Force unittests to run using en-US so if we test against string
24 // output, it'll pass regardless of the system language. 24 // output, it'll pass regardless of the system language.
25 ui::ResourceBundle::InitSharedInstance("en-US"); 25 ui::ResourceBundle::InitSharedInstance("en-US");
26 } 26 }
27 27
28 void AuraTestSuite::Shutdown() { 28 void AuraTestSuite::Shutdown() {
29 ui::ResourceBundle::CleanupSharedInstance(); 29 ui::ResourceBundle::CleanupSharedInstance();
30 30
31 base::TestSuite::Shutdown(); 31 base::TestSuite::Shutdown();
32 } 32 }
OLDNEW
« ui/aura/aura.gyp ('K') | « ui/aura/test_suite.h ('k') | ui/aura/window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698