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

Side by Side Diff: ios/chrome/test/ios_chrome_unit_test_suite.cc

Issue 1663783002: Remove the //ios/public/test target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ios_tests
Patch Set: Add missing forwarding-header Created 4 years, 10 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
« no previous file with comments | « ios/chrome/test/BUILD.gn ('k') | ios/ios.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "ios/chrome/test/ios_chrome_unit_test_suite.h" 5 #include "ios/chrome/test/ios_chrome_unit_test_suite.h"
6 6
7 #include "base/macros.h" 7 #include "base/macros.h"
8 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h" 8 #include "ios/chrome/browser/browser_state/browser_state_keyed_service_factories .h"
9 #include "ios/chrome/browser/chrome_paths.h" 9 #include "ios/chrome/browser/chrome_paths.h"
10 #include "ios/chrome/browser/chrome_url_constants.h" 10 #include "ios/chrome/browser/chrome_url_constants.h"
11 #include "ios/chrome/test/testing_application_context.h" 11 #include "ios/chrome/test/testing_application_context.h"
12 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h" 12 #include "ios/public/provider/chrome/browser/chrome_browser_provider.h"
13 #include "ios/public/test/test_chrome_provider_initializer.h" 13 #include "ios/public/provider/chrome/browser/test_chrome_provider_initializer.h"
14 #include "ios/web/public/web_client.h" 14 #include "ios/web/public/web_client.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 #include "ui/base/resource/resource_bundle.h" 16 #include "ui/base/resource/resource_bundle.h"
17 #include "ui/base/ui_base_paths.h" 17 #include "ui/base/ui_base_paths.h"
18 #include "url/url_util.h" 18 #include "url/url_util.h"
19 19
20 namespace { 20 namespace {
21 21
22 class IOSChromeUnitTestSuiteInitializer 22 class IOSChromeUnitTestSuiteInitializer
23 : public testing::EmptyTestEventListener { 23 : public testing::EmptyTestEventListener {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // test is run so that the dependencies are correctly resolved. 82 // test is run so that the dependencies are correctly resolved.
83 EnsureBrowserStateKeyedServiceFactoriesBuilt(); 83 EnsureBrowserStateKeyedServiceFactoriesBuilt();
84 84
85 ios::RegisterPathProvider(); 85 ios::RegisterPathProvider();
86 ui::RegisterPathProvider(); 86 ui::RegisterPathProvider();
87 87
88 url::AddStandardScheme(kChromeUIScheme, url::SCHEME_WITHOUT_PORT); 88 url::AddStandardScheme(kChromeUIScheme, url::SCHEME_WITHOUT_PORT);
89 89
90 base::TestSuite::Initialize(); 90 base::TestSuite::Initialize();
91 } 91 }
OLDNEW
« no previous file with comments | « ios/chrome/test/BUILD.gn ('k') | ios/ios.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698