| Index: ui/app_list/test/app_list_test_suite.cc
|
| diff --git a/ui/app_list/test/app_list_test_suite.cc b/ui/app_list/test/app_list_test_suite.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..b1c78d46292b43fc33c2a66fde2c4c4ecf2ae677
|
| --- /dev/null
|
| +++ b/ui/app_list/test/app_list_test_suite.cc
|
| @@ -0,0 +1,34 @@
|
| +// Copyright (c) 2012 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/app_list/test/app_list_test_suite.h"
|
| +
|
| +#include "ui/base/ui_base_paths.h"
|
| +#include "ui/base/resource/resource_bundle.h"
|
| +
|
| +namespace app_list {
|
| +namespace test {
|
| +
|
| +AppListTestSuite::AppListTestSuite(int argc, char** argv)
|
| + : TestSuite(argc, argv) {
|
| +}
|
| +
|
| +void AppListTestSuite::Initialize() {
|
| + base::TestSuite::Initialize();
|
| +
|
| + ui::RegisterPathProvider();
|
| +
|
| + // Force unittests to run using en-US so if we test against string
|
| + // output, it'll pass regardless of the system language.
|
| + ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL);
|
| +}
|
| +
|
| +void AppListTestSuite::Shutdown() {
|
| + ui::ResourceBundle::CleanupSharedInstance();
|
| +
|
| + base::TestSuite::Shutdown();
|
| +}
|
| +
|
| +} // namespace test
|
| +} // namespace app_list
|
|
|