| OLD | NEW |
| (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 |
| OLD | NEW |