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

Side by Side Diff: ui/app_list/test/app_list_test_suite.cc

Issue 10539038: Reland 140878 - cleanup: Remove applist v1 code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix borken AppInstallConfirmation* browser_tests Created 8 years, 6 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
« no previous file with comments | « ui/app_list/test/app_list_test_suite.h ('k') | ui/app_list/test/run_all_unittests.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 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/app_list/test/app_list_test_suite.h"
6
7 #include "ui/base/ui_base_paths.h"
8 #include "ui/base/resource/resource_bundle.h"
9
10 namespace app_list {
11 namespace test {
12
13 AppListTestSuite::AppListTestSuite(int argc, char** argv)
14 : TestSuite(argc, argv) {
15 }
16
17 void AppListTestSuite::Initialize() {
18 base::TestSuite::Initialize();
19
20 ui::RegisterPathProvider();
21
22 // Force unittests to run using en-US so if we test against string
23 // output, it'll pass regardless of the system language.
24 ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
25 }
26
27 void AppListTestSuite::Shutdown() {
28 ui::ResourceBundle::CleanupSharedInstance();
29
30 base::TestSuite::Shutdown();
31 }
32
33 } // namespace test
34 } // namespace app_list
OLDNEW
« no previous file with comments | « ui/app_list/test/app_list_test_suite.h ('k') | ui/app_list/test/run_all_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698